/* PLACEHOLDER styles — the UI agent owns this file. */
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #20160f;
  color: #fff8ee;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

#ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#ui .bar {
  position: absolute;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  pointer-events: auto;
}

#ui .pill {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 14, 10, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 700;
}

#ui button {
  font: inherit;
  font-weight: 700;
  color: #fff8ee;
  background: rgba(20, 14, 10, 0.6);
  border: 1px solid rgba(255, 248, 238, 0.25);
  border-radius: 999px;
  padding: 10px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#ui button[aria-pressed="true"] { background: #e2562b; }
#ui button:disabled { opacity: 0.4; }

.letterbox {
  position: fixed;
  left: 0;
  right: 0;
  height: 0;
  background: #000;
  transition: height 0.6s ease;
  pointer-events: none;
}
.letterbox.top { top: 0; }
.letterbox.bottom { bottom: 0; }

.boot {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  letter-spacing: 0.02em;
  background: #20160f;
  transition: opacity 0.6s ease;
}
.boot.gone { opacity: 0; pointer-events: none; }
