/* worldboard_splash.css — lightweight right-side overlay for splash */

.wb-toggle {
  position: fixed;
  top: 85px;
  right: 12px;
  z-index: 16000;
  padding: 6px 10px;
  background: rgba(0,0,0,0.65);
  color: #0f0;
  border: 1px solid #0f0;
  border-radius: 4px;
  font-family: "OCRA", monospace;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
}
.wb-toggle:hover { background: rgba(0,255,0,0.12); }

.wb-pane {
  position: fixed;
  top: 0;
  right: 0;
  width: 60vw;
  height: 100%;
  background: #0b0b0b;
  border-left: 2px solid #0f0;
  box-shadow: -4px 0 10px rgba(0,0,0,.6);
  z-index: 17000;

  display: flex;
  flex-direction: column;

  transform: translateX(100%);
  transition: transform .25s ease;
}
.wb-pane.visible { transform: translateX(0); }

.wb-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #111;
  color: #0f0;
  border-bottom: 1px solid #0f0;
  font-family: "OCRA", monospace;
}
.wb-actions { display: flex; gap: 8px; align-items: center; }
.wb-actions .sn-btn { padding: 5px 10px; }

.wb-body {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  background: #050505;
}

#wbCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none; /* you handle pointer events */
}

.wb-hud {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(0,255,0,0.6);
  border-radius: 8px;
  padding: 6px 8px;
  color: #cfc;
  font-family: "OCRA", monospace;
  font-size: 12px;
  pointer-events: none;
  max-width: min(60ch, 80%);
}
.wb-hud .wb-title { color: #0f0; font-weight: 600; margin-bottom: 2px; }
.wb-hud .wb-muted { color: #9f9; opacity: .8; }

/* Small screens: full width */
@media (max-width: 900px) {
  .wb-pane { width: 100vw; }
}
