/* Shatter Tank — 画面の文字（英語だけ）。3D の上に重ねる HUD と開始・終了のパネル。 */
:root { --ink: #f3ede2; --dim: rgba(243,237,226,.62); --accent: #ffb454; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0b0a09; color: var(--ink); overflow: hidden; font-family: ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; -webkit-user-select: none; user-select: none; touch-action: none; }
#app, #app canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.hidden { display: none !important; }
#hud { position: fixed; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; padding: max(14px, env(safe-area-inset-top)) 22px 0; pointer-events: none; text-shadow: 0 1px 10px rgba(0,0,0,.75); }
.stat { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.stat .label { font-size: 11px; letter-spacing: .18em; color: var(--dim); }
.stat span:nth-child(2) { font-size: 44px; font-weight: 700; letter-spacing: -.02em; }
.stat .unit { font-size: 18px; color: var(--dim); }
#time.low { color: #ff6b57; }
#reticle { position: fixed; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.45); }
#reticle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; background: #fff; border-radius: 50%; }
.panel { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 32px)); padding: 30px 30px 24px; text-align: center; background: rgba(14,12,10,.72); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.panel h1 { margin: 0; font-size: clamp(34px, 9vw, 58px); letter-spacing: .06em; font-weight: 800; }
.panel h2 { margin: 0; font-size: 20px; letter-spacing: .3em; color: var(--dim); }
.panel .sub { margin: 8px 0 16px; color: var(--dim); font-size: 16px; }
.panel .how { margin: 0 0 20px; font-size: 14px; line-height: 1.9; color: var(--ink); }
.panel .big { margin: 6px 0 2px; font-size: clamp(52px, 14vw, 84px); font-weight: 800; font-variant-numeric: tabular-nums; }
.kbd { display: inline-block; padding: 1px 7px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; font-size: 12px; color: var(--ink); }
button { font: inherit; font-size: 18px; font-weight: 700; color: #1a1206; background: var(--accent); border: 0; border-radius: 12px; padding: 13px 34px; cursor: pointer; }
button:disabled { background: rgba(255,255,255,.16); color: var(--dim); cursor: default; }
.tiny { font-size: 11px; color: var(--dim); }
#loadtxt { margin: 12px 0 0; min-height: 14px; }
#info { position: fixed; left: 10px; bottom: 8px; pointer-events: none; text-shadow: 0 1px 4px #000; }
body.cine #hud, body.cine .panel, body.cine #info, body.cine #reticle { display: none !important; }
@media (max-width: 520px) { .stat span:nth-child(2) { font-size: 34px; } #hud { padding-left: 14px; padding-right: 14px; } }
