* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

#musicBtn {
  position: absolute;
  top: 103px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

#musicBtn.off { opacity: 0.5; filter: grayscale(1); }
#musicBtn:hover { background: rgba(0,0,0,0.5); }
#musicBtn.beat-on:not(.off) { animation: beatButtonBlink 1s ease-in-out infinite; }

@keyframes beatButtonBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(142,239,255,0.05); transform: scale(1); }
  50% { opacity: 0.48; box-shadow: 0 0 16px 4px rgba(142,239,255,0.45); transform: scale(1.08); }
}

#resetFlagBtn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  background: rgba(5,10,24,0.68);
  color: rgba(255,255,255,0.82);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

#resetFlagBtn:hover {
  background: rgba(5,10,24,0.9);
  color: #fff;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b1020;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  user-select: none;
}

#game {
  position: relative;
  width: 100%;
  height: 100%;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: default;
}

#c,
#orbCanvas {
  position: absolute;
  inset: 0;
}

#c {
  z-index: 0;
}

#orbCanvas {
  z-index: 1;
  pointer-events: none;
  touch-action: none;
}

#game > :not(canvas) {
  z-index: 2;
}

canvas.can-grab {
  cursor: grab;
}

canvas.dragging {
  cursor: grabbing;
}

#hud {
  position: absolute;
  top: 16px;
  right: 160px;
  text-align: right;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

#score {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 1px;
}

#scoreLabel {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
}

#streak {
  font-size: 15px;
  font-weight: 600;
  color: #ffd75e;
  min-height: 18px;
}

#gameStats {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
  direction: rtl;
  font-size: 13px;
  color: rgba(255,255,255,0.86);
}

#gameStats span {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  white-space: nowrap;
}

#coinStat { color: #ffe47a; }

#bowAmmo {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(6,11,22,0.72);
  color: rgba(255,255,255,0.92);
  direction: rtl;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(0,0,0,0.55);
  pointer-events: none;
}

#arrowSelector {
  position: absolute;
  z-index: 5;
  display: flex;
  direction: rtl;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  background: rgba(6,11,22,0.78);
  box-shadow: 0 7px 20px rgba(0,0,0,0.26);
}

#worldInfo {
  position: absolute;
  z-index: 4;
  top: 142px;
  right: 18px;
  width: 190px;
  color: #fff;
  pointer-events: none;
}

#windHud, #weatherHud, #missionHud {
  margin-bottom: 5px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 10px;
  background: rgba(6,11,22,0.67);
  box-shadow: 0 5px 16px rgba(0,0,0,0.2);
  font-size: 12px;
}

#windHud b { color: #8eefff; }
#weatherHud b { color: #ffe28a; }
#missionHud span, #missionHud b, #missionHud small { display: block; }
#missionHud span { color: #ffe15e; font-weight: 900; }
#missionHud b { margin-top: 2px; font-size: 12px; }
#missionHud small { color: #8eff9b; direction: ltr; text-align: right; }

#achievementToast, #replayBadge {
  position: absolute;
  z-index: 12;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 999px;
  color: #17213b;
  background: #ffe15e;
  font-size: 16px;
  font-weight: 1000;
  box-shadow: 0 8px 28px rgba(0,0,0,0.36);
  pointer-events: none;
}
#achievementToast { top: 146px; }
#replayBadge { top: 18%; background: #9defff; }
#achievementToast.hidden, #replayBadge.hidden { display: none; }

#lastArrowWarning {
  position: absolute;
  z-index: 13;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 13px 28px;
  border: 2px solid #ffdb6e;
  border-radius: 18px;
  background: rgba(125, 19, 24, 0.94);
  color: #fff4a8;
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 1000;
  white-space: nowrap;
  text-shadow: 0 3px 7px rgba(0,0,0,0.7);
  box-shadow: 0 0 0 5px rgba(255,74,63,0.2), 0 12px 34px rgba(0,0,0,0.45);
  pointer-events: none;
  animation: lastArrowPulse 0.72s ease-in-out infinite alternate;
}

#lastArrowWarning.hidden { display: none; }

#bowAmmo.last-arrow {
  color: #fff19c;
  border-color: #ff6a5e;
  box-shadow: 0 0 18px rgba(255,75,62,0.72);
}

@keyframes lastArrowPulse {
  from { transform: translate(-50%, -50%) scale(0.96); }
  to { transform: translate(-50%, -50%) scale(1.05); }
}

.arrow-choice {
  position: relative;
  width: 43px;
  height: 39px;
  padding: 2px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.arrow-choice span { display: block; font-size: 19px; }
.arrow-choice .split-arrow-icon {
  width: 29px;
  height: 22px;
  margin: 0 auto;
  color: #e5dcff;
  filter: drop-shadow(0 0 4px rgba(164, 132, 255, 0.9));
}
.split-arrow-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.arrow-choice b {
  position: absolute;
  right: 3px;
  bottom: 2px;
  min-width: 14px;
  padding: 1px 3px;
  border-radius: 7px;
  background: rgba(0,0,0,0.72);
  font-size: 9px;
}
.arrow-choice:hover:not(:disabled) { background: rgba(255,255,255,0.14); }
.arrow-choice.active {
  border-color: #ffe270;
  background: rgba(255,205,69,0.22);
  box-shadow: 0 0 12px rgba(255,213,84,0.58);
  transform: translateY(-2px);
}
.arrow-choice:disabled { opacity: 0.3; cursor: default; }

#arrowRack {
  display: inline-flex;
  flex-direction: row;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-inline-start: 4px;
  font-style: normal;
}

.ammo-arrow {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 15px;
  flex: 0 0 6px;
}

.ammo-arrow::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 2px;
  width: 2px;
  height: 10px;
  border-radius: 2px;
  background: #d7b277;
}

.ammo-arrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 5px solid #dce3ee;
}

.ammo-arrow.bonus::before {
  background: #78e58c;
  box-shadow: 0 0 5px rgba(120,229,140,0.75);
}

.ammo-arrow.bonus::after {
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: #b9ffc5;
}

.ammo-extra {
  margin-left: 2px;
  color: #ffe15e;
  font-size: 10px;
  font-weight: 900;
}

#strongArrowStat { color: #9eeeff; }
#piercingArrowStat {
  color: #f1f4fa;
  border: 1px solid rgba(220,228,240,0.38);
  box-shadow: inset 0 0 9px rgba(220,228,240,0.12);
}

#levelBanner, #gameOverPanel, #mainMenu {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  pointer-events: none;
}

#mainMenu {
  width: min(430px, calc(100vw - 32px));
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 24px;
  background: rgba(5,10,24,0.94);
  box-shadow: 0 25px 80px rgba(0,0,0,0.55);
  pointer-events: auto;
}

#mainMenu.hidden { display: none; }
#mainMenu .menu-logo { font-size: 62px; }
#mainMenu h1 { color: #ffe15e; font-size: 38px; margin: 3px 0 8px; }
#mainMenu p { color: rgba(255,255,255,0.76); line-height: 1.65; margin-bottom: 20px; }
#mainMenu .menu-progress { margin-top: -9px; color: #ffe88d; }
#startGameBtn {
  border: 0;
  border-radius: 12px;
  padding: 12px 34px;
  background: #ffd75e;
  color: #17213b;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

#shopPanel {
  position: absolute;
  z-index: 18;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 28px));
  padding: 24px;
  border: 2px solid rgba(255,225,94,0.55);
  border-radius: 22px;
  background: rgba(7,12,26,0.96);
  color: #fff;
  text-align: center;
  box-shadow: 0 26px 90px rgba(0,0,0,0.64);
}
#shopPanel.hidden { display: none; }
#shopPanel h2 { color: #ffe15e; margin-bottom: 5px; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 15px 0 10px; }
.shop-grid button, #continueLevelBtn {
  padding: 11px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 11px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.shop-grid button:hover { background: rgba(126,214,255,0.2); }
.shop-grid button:disabled { opacity: 0.35; cursor: default; }
.shop-grid small { display: block; margin-top: 3px; color: #ffe48a; }
#shopMessage { min-height: 20px; color: #8eff9b; font-size: 13px; }
#continueLevelBtn { width: 100%; margin-top: 8px; background: #ffd75e; color: #17213b; font-size: 17px; }

#adminPanel {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(380px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 18px;
  background: rgba(8,12,24,0.97);
  color: #fff;
  box-shadow: 0 25px 80px rgba(0,0,0,0.65);
}

#adminPanel.hidden { display: none; }
.admin-head { display: flex; align-items: center; justify-content: space-between; }
.admin-head h2 { color: #ffe15e; font-size: 21px; }
#closeAdminBtn {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
#adminPanel > p { margin: 10px 0 16px; color: rgba(255,255,255,0.65); }
.admin-setting-btn {
  width: 100%;
  margin-bottom: 10px;
  padding: 11px;
  border: 1px solid #74c8ff;
  border-radius: 10px;
  background: rgba(35,116,170,0.3);
  color: #c9edff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.admin-setting-btn:hover { background: rgba(45,135,196,0.5); color: #fff; }
.admin-setting-btn.off { border-color: #87909f; background: rgba(92,99,112,0.24); color: #c5cad2; }
.danger-btn {
  width: 100%;
  padding: 11px;
  border: 1px solid #ff7676;
  border-radius: 10px;
  background: rgba(170,35,35,0.28);
  color: #ffb0b0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.danger-btn:hover { background: rgba(190,40,40,0.48); color: #fff; }
.danger-btn:disabled { opacity: 0.5; cursor: wait; }
#adminMessage { min-height: 20px; margin-top: 10px; color: #8eff9b; font-size: 13px; }

#levelBanner {
  padding: 16px 30px;
  border-radius: 18px;
  background: rgba(7,13,29,0.8);
  color: #ffe15e;
  font-size: clamp(25px, 4vw, 52px);
  font-weight: 900;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#levelBanner.hidden {
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.9);
}

#countdownOverlay {
  position: absolute;
  z-index: 9;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  min-width: 150px;
  color: #fff4bd;
  font-size: clamp(92px, 18vw, 180px);
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-shadow: 0 7px 0 rgba(20,27,43,0.72), 0 0 34px rgba(255,225,94,0.72);
  pointer-events: none;
  animation: countdownPop 0.72s ease-out both;
}

#countdownOverlay.hidden { display: none; }

#countdownOverlay.game-over-warning {
  width: min(92vw, 760px);
  color: #ff6f63;
  font-size: clamp(64px, 12vw, 138px);
  letter-spacing: 5px;
  text-shadow: 0 7px 0 rgba(64,8,8,0.78), 0 0 42px rgba(255,67,54,0.75);
}

#countdownOverlay.ready-go {
  width: 92vw;
  font-size: clamp(58px, 13vw, 132px);
  white-space: nowrap;
}

@keyframes countdownPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
  24% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0.82; transform: translate(-50%, -50%) scale(0.86); }
}

#gameOverPanel {
  width: min(340px, calc(100vw - 32px));
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  background: rgba(7,13,29,0.94);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  pointer-events: auto;
}

#gameOverPanel.hidden { display: none; }
#gameOverPanel h2 { color: #ffe15e; margin-bottom: 8px; }
#gameOverPanel p { margin-bottom: 16px; line-height: 1.6; }
#endNameEntry {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
}
#endNameEntry label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
#gameOverPanel #playerName { width: 100%; }
#gameOverPanel #saveScoreBtn { margin-bottom: 3px; }
#restartBtn {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 16px;
  min-width: 260px;
  padding: 15px 46px;
  background: #ffd75e;
  color: #17213b;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 9px 28px rgba(0,0,0,0.42);
}

#restartBtn.hidden { display: none; }
#restartBtn:hover { background: #ffe58b; transform: translateX(-50%) scale(1.04); }

#hint {
  position: absolute;
  top: 124px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#goalDisplay {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  padding: 7px 20px 9px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  background: rgba(5,10,24,0.64);
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  pointer-events: none;
  backdrop-filter: blur(6px);
}

#goalDisplay span {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 700;
}

#goalDisplay strong {
  display: block;
  color: #ffe15e;
  direction: ltr;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: 1px;
}

#levelTimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(255,255,255,0.16);
  direction: rtl;
}

#goalDisplay #levelTimer span {
  display: inline;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

#levelTimer b {
  min-width: 42px;
  color: #8eefff;
  direction: ltr;
  font-size: 18px;
  line-height: 1;
}

#levelTimer.hurry b {
  color: #ff6659;
  animation: bonusTimerPulse 0.45s ease-in-out infinite alternate;
}

#goalDisplay.hidden, #bonusTimer.hidden { display: none; }

#bonusTimer {
  position: absolute;
  z-index: 6;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  padding: 8px 24px 10px;
  border: 2px solid rgba(255,226,94,0.72);
  border-radius: 17px;
  background: rgba(39,18,56,0.88);
  color: #fff;
  text-align: center;
  box-shadow: 0 0 28px rgba(255,176,65,0.28);
  pointer-events: none;
}

#bonusTimer span, #bonusTimer small { display: block; font-weight: 800; }
#bonusTimer span { color: #ffe77a; font-size: 15px; }
#bonusTimer strong {
  display: block;
  color: #fff2a0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.95;
  text-shadow: 0 0 18px rgba(255,109,55,0.8);
}
#bonusTimer small { color: rgba(255,255,255,0.78); font-size: 11px; }
#bonusTimer.hurry strong { color: #ff6659; animation: bonusTimerPulse 0.45s ease-in-out infinite alternate; }

@keyframes bonusTimerPulse {
  from { transform: scale(1); }
  to { transform: scale(1.14); }
}

#hallOfFame {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 330px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 16px;
  background: rgba(7, 13, 29, 0.76);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}

#hallOfFame h2 {
  margin-bottom: 9px;
  color: #ffe15e;
  font-size: 18px;
}

#hallOfFame h2 small {
  color: #8eefff;
  font-size: 10px;
  vertical-align: middle;
}

#hallTabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 8px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(0,0,0,0.26);
}

#hallTabs button {
  padding: 5px 4px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255,255,255,0.67);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

#hallTabs button.active {
  background: #ffe15e;
  color: #17213b;
}

#hallList {
  list-style-position: inside;
}

#hallList li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}

.hall-remark {
  grid-column: 2 / 4;
  overflow: hidden;
  color: rgba(255,255,255,0.66);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hall-date {
  grid-column: 2 / 4;
  direction: ltr;
  color: rgba(174,220,245,0.7);
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
}

.hall-rank { color: #ffd75e; }
.hall-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hall-score { direction: ltr; font-weight: 800; }

#hallEmpty {
  padding: 6px 0 10px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.5;
}

#hallOfFame label {
  display: block;
  margin: 11px 0 5px;
  font-size: 12px;
  font-weight: 700;
}

#playerName, #playerRemark, #saveScoreBtn {
  width: 100%;
  border: 0;
  border-radius: 9px;
  font: inherit;
}

#playerName, #playerRemark {
  padding: 9px 10px;
  outline: 2px solid transparent;
}

#playerName:focus, #playerRemark:focus { outline-color: #ffe15e; }

#saveScoreBtn {
  margin-top: 8px;
  padding: 9px 7px;
  background: #ffd75e;
  color: #17213b;
  font-weight: 800;
  cursor: pointer;
}

#saveScoreBtn:hover { background: #ffe98e; }

#hallMessage {
  min-height: 18px;
  padding-top: 5px;
  color: #84ee91;
  font-size: 12px;
}

#savedPlayer {
  margin-top: 9px;
  padding: 7px 8px;
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  font-size: 12px;
}

#changeNameBtn {
  float: left;
  border: 0;
  background: transparent;
  color: #ffe15e;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

@media (max-width: 700px), (max-height: 540px) {
  #hud { right: 92px; }
  #hallOfFame {
    top: auto;
    bottom: 14px;
    left: 14px;
    width: min(300px, calc(100vw - 28px));
    padding: 10px;
  }

  #hallOfFame h2 { font-size: 15px; margin-bottom: 4px; }
  #hallList li { padding: 2px 0; font-size: 12px; }
  #hallOfFame label { margin-top: 6px; }
  #goalDisplay { top: 8px; min-width: 145px; padding: 5px 14px 7px; }
  #goalDisplay strong { font-size: 25px; }
  #hint { top: 100px; width: 100%; text-align: center; }
  #worldInfo { top: 112px; right: 8px; width: 150px; }
  #arrowSelector { transform: scale(0.8); transform-origin: left bottom; }
}

#hint.hidden {
  opacity: 0;
}

#powerWrap {
  position: absolute;
  left: 72px;
  top: calc(100% - 54px);
  width: 124px;
  height: 14px;
  background: rgba(0,0,0,0.35);
  border: 3px solid rgba(255,255,255,0.42);
  border-radius: 10px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#powerWrap.visible {
  opacity: 1;
}

#powerBar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #5ee36b, #ffe15e 55%, #ff5e5e 100%);
  transition: width 0.03s linear;
}

#muteBtn {
  position: absolute;
  top: 16px;
  right: 20px;
  transform: translateY(52px);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 16px;
  line-height: 34px;
  text-align: center;
  padding: 0;
  cursor: pointer;
}

#muteBtn:hover {
  background: rgba(0,0,0,0.5);
}
