* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  height: 100%;
  background: #0b0b14;
  overflow: hidden;
  font-family: "Segoe UI", system-ui, sans-serif;
}
#wrap {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
canvas {
  display: block;
  box-shadow: 0 0 60px rgba(255, 100, 30, 0.15);
  border-radius: 4px;
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 12, 0.7);
  backdrop-filter: blur(3px);
}
.overlay.hidden { display: none; }
.panel {
  background: linear-gradient(160deg, #1c1c30, #12121f);
  border: 1px solid #3a3a5c;
  border-radius: 12px;
  padding: 28px 34px;
  text-align: center;
  color: #eee;
  box-shadow: 0 10px 50px rgba(0,0,0,.6);
}
.panel h2 { margin-bottom: 10px; color: #ffb347; }
.panel p { margin-bottom: 16px; color: #aab; }
.panel input {
  display: block;
  width: 240px;
  margin: 0 auto 14px;
  padding: 10px 12px;
  font-size: 18px;
  background: #0c0c18;
  color: #fff;
  border: 1px solid #445;
  border-radius: 8px;
  outline: none;
  text-align: center;
}
.panel input:focus { border-color: #ffb347; }
.panel button {
  padding: 10px 22px;
  margin: 0 5px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(180deg, #ff9a3c, #e2611b);
  color: #1a0d00;
  font-weight: 600;
}
.panel button.ghost {
  background: transparent;
  border: 1px solid #556;
  color: #99a;
}
.panel button:hover { filter: brightness(1.15); }
