/* Adventure hub: camera views + emote wheel. Kept separate from
   hub.css so Walkman work in that file does not collide. */

.hub-cam-hud,
.hub-emote-hud {
  position: fixed;
  z-index: 22;
  pointer-events: auto;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-cam-hud {
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 0;
  border: 1px solid rgba(243, 217, 164, 0.55);
  background: rgba(12, 6, 8, 0.82);
  overflow: hidden;
}

.hub-cam-hud button {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 0;
  border-right: 1px solid rgba(243, 217, 164, 0.35);
  background: transparent;
  color: #f3d9a4;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.hub-cam-hud button:last-child { border-right: 0; }

.hub-cam-hud button.is-active,
.hub-cam-hud button[aria-pressed="true"] {
  background: #4a0810;
  color: #fff6dc;
  box-shadow: inset 0 0 0 1px #c41e3a;
}

.hub-cam-hud button:hover,
.hub-cam-hud button:focus-visible {
  outline: none;
  color: #fff;
  background: rgba(74, 8, 16, 0.85);
}

.hub-emote-hud {
  left: 12px;
  bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hub-emote-btn {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(243, 217, 164, 0.55);
  background: rgba(12, 6, 8, 0.82);
  color: #f3d9a4;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.hub-emote-btn:hover,
.hub-emote-btn:focus-visible,
.hub-emote-btn[aria-expanded="true"] {
  outline: none;
  background: #4a0810;
  box-shadow: 0 0 0 1px #c41e3a;
  color: #fff;
}

.hub-emote-wheel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  width: min(320px, calc(100vw - 24px));
  padding: 10px;
  background: linear-gradient(180deg, #221018, #12080c);
  border: 1px solid #c4a35a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.hub-emote-wheel[hidden] { display: none !important; }

.hub-emote-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 8px 4px 6px;
  border: 1px solid rgba(243, 217, 164, 0.45);
  background: rgba(10, 4, 8, 0.7);
  color: #fff6dc;
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hub-emote-opt:hover,
.hub-emote-opt:focus-visible {
  outline: none;
  border-color: #f3d9a4;
  box-shadow: 0 0 0 1px #c41e3a, 0 0 14px rgba(196, 30, 58, 0.45);
}

.hub-emote-icon { font-size: 1.45rem; letter-spacing: 0; line-height: 1; text-transform: none; }
.hub-emote-name { font-size: 0.68rem; text-align: center; }
.hub-emote-key {
  position: absolute;
  top: 4px;
  right: 5px;
  font-size: 0.65rem;
  color: #c4a35a;
}

.hub-emote-opt.is-locked {
  opacity: 0.55;
  cursor: default;
  color: #c4a35a;
}

.hub-emote-opt.is-locked:hover,
.hub-emote-opt.is-locked:focus-visible {
  box-shadow: none;
  border-color: rgba(243, 217, 164, 0.45);
}

.hub-emote-soon {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  min-height: 1em;
  font-family: "Special Elite", monospace;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
  color: #f3d9a4;
}

/* Keep the chrome readable in first person; hide nothing essential. */
@media (max-width: 700px) {
  .hub-cam-hud { left: 8px; bottom: 8px; }
  .hub-cam-hud button { padding: 8px 9px; font-size: 0.82rem; }
  .hub-emote-hud { left: 8px; bottom: 58px; }
  .hub-emote-wheel { width: min(300px, calc(100vw - 16px)); }
}

@media (prefers-reduced-motion: reduce) {
  .hub-cam-hud button,
  .hub-emote-btn,
  .hub-emote-opt { transition: none; }
}
