html, body { height: 100%; }

body{
  /* Keep a dark fallback; canvas will cover */
  background-color: #0f0f0f;
  overflow:hidden;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

svg#Layer_1 {
  width: min(1154.516px, 90vw);
  height: auto;
  display: block;
  position: relative;
  z-index: 1; /* ensure above background canvas */
}

.wall{
  fill: #3e4e6b;
  border-radius: 4px;
}

/* Make the auto-inserted fire canvas a fixed background */
body > canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none; /* allow interactions with foreground */
}

/* Fixed UI banners at top and bottom */
.ui-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 44px;
  color: #ebdbb2;
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(0,0,0,0.7), 0 -1px 0 rgba(0,0,0,0.3);
  padding: 8px 12px;
}
#ui-top { top: 140px; }
#ui-bottom { bottom: 140px; font-size: 28px; font-style: italic; }

/* Highlighted top banner content */
.ui-chip {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 12px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.06),
    0 1px 2px rgba(0,0,0,0.45);
}

.ui-chip-accent {
  border-color: rgba(255, 155, 80, 0.8);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.06),
    0 0 14px rgba(255, 140, 80, 0.55),
    0 0 28px rgba(255, 90, 90, 0.35);
}

.accent-orange { color: #FFA94D; }
