html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #00131b;
}

#app {
  width: 100%;
  height: 100%;
}

.ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
}

.icon-button {
  position: relative;
  width: clamp(50px, 6.2vw, 72px);
  height: clamp(50px, 6.2vw, 72px);
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  backdrop-filter: blur(2px);
}

.icon-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.45));
}

.feed-button {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: clamp(74px, 8.8vw, 112px);
  height: clamp(74px, 8.8vw, 112px);
  background: rgba(0, 0, 0, 0.64);
}

.feed-button img {
  width: 82%;
  height: 82%;
  margin: 9%;
  filter: brightness(0) saturate(100%) invert(94%) sepia(14%) saturate(465%) hue-rotate(340deg) brightness(102%) contrast(95%) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.45));
}

#feed-toggle.is-active {
  background: rgba(166, 120, 52, 0.76);
  box-shadow: 0 9px 20px rgba(74, 45, 12, 0.45);
}

#volume-toggle.is-muted {
  opacity: 0.62;
}

#volume-toggle.is-muted::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 93, 93, 0.95);
  transform: rotate(-28deg);
}

#exit-button {
  position: absolute;
  top: 24px;
  right: 24px;
}

.volume-control {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

#volume-slider {
  width: clamp(140px, 16vw, 220px);
  accent-color: #e6d7b3;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.volume-control.open #volume-slider {
  opacity: 1;
  pointer-events: auto;
}

#hud {
  position: fixed;
  left: 102px;
  bottom: 24px;
  padding: 8px 12px;
  color: rgba(223, 240, 244, 0.88);
  background: rgba(3, 24, 33, 0.48);
  border: 1px solid rgba(190, 228, 238, 0.2);
  border-radius: 10px;
  font: 500 14px/1.2 "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0.2px;
  user-select: none;
  pointer-events: none;
}
