/* 霓虹空战 网页版外壳：终端黑 + 霓虹边框 */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  background: #04050d;
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(77, 225, 255, 0.08), transparent 60%),
    radial-gradient(1000px 700px at 85% 110%, rgba(123, 91, 255, 0.12), transparent 60%),
    radial-gradient(900px 600px at 8% 100%, rgba(255, 60, 126, 0.06), transparent 55%),
    #04050d;
}

/* 终端风格装饰条 */
#outer {
  position: relative;
  border: 1px solid rgba(77, 225, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(123, 91, 255, 0.18),
              0 0 46px rgba(77, 225, 255, 0.14),
              0 0 140px rgba(123, 91, 255, 0.12);
  padding: 4px;
  background: #070714;
}

#outer::before {
  content: "●  星击·凌云  ::  GAME TERMINAL";
  position: absolute;
  top: -16px;
  left: 8px;
  font: 11px/1 'Cascadia Mono', Consolas, monospace;
  letter-spacing: 2px;
  color: rgba(140, 210, 255, 0.75);
  text-shadow: 0 0 6px rgba(77, 225, 255, 0.6);
}

#cv {
  display: block;
  background: #070714;
  image-rendering: auto;
  cursor: crosshair;
  /* 显示尺寸由 main.js fitCanvas 按窗口 16:9 计算并写入 style */
}