:root { color-scheme: dark; }
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: #d8d2c8; }
#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.panel { position: fixed; background: rgba(12, 10, 14, 0.72); border: 1px solid rgba(255, 220, 170, 0.12); border-radius: 6px; padding: 8px 10px; pointer-events: none; white-space: pre; }
#hud { top: 10px; left: 10px; }
#inv { top: 10px; right: 10px; text-align: right; }
#help { bottom: 10px; left: 10px; white-space: normal; color: #a8a096; }
#help b { color: #e8c48a; font-weight: normal; }
#target { position: fixed; left: 50%; top: calc(50% + 22px); transform: translateX(-50%); color: #f0e2c8; text-shadow: 0 1px 2px #000; pointer-events: none; }
#minebar { position: fixed; left: 50%; top: calc(50% + 42px); transform: translateX(-50%); width: 80px; height: 5px; background: rgba(0,0,0,.5); pointer-events: none; }
#mine { height: 100%; width: 0; background: #f0c070; }
#toast { position: fixed; bottom: 60px; left: 50%; transform: translateX(-50%); background: rgba(20, 16, 12, 0.85); padding: 6px 14px; border-radius: 6px; opacity: 0; transition: opacity .25s; pointer-events: none; color: #f0d8a8; }
#toast.show { opacity: 1; }
#damage { position: fixed; inset: 0; pointer-events: none; opacity: 0; transition: opacity .15s; box-shadow: inset 0 0 160px 40px rgba(200, 0, 0, 0.6); }
#cross { position: fixed; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; pointer-events: none; }
#cross::before, #cross::after { content: ''; position: absolute; background: rgba(255, 240, 215, 0.8); }
#cross::before { left: 6px; top: 0; width: 2px; height: 14px; }
#cross::after { top: 6px; left: 0; height: 2px; width: 14px; }
#start { position: fixed; inset: 0; display: grid; place-items: center; pointer-events: none; }
#start div { background: rgba(10, 8, 12, 0.8); padding: 14px 20px; border-radius: 8px; color: #f0e2c8; }
body.locked #start { display: none; }
/* Handy: Hilfe, Mausfangen und Fadenkreuz gibt es dort nicht (Steuerung in src/shared/touch.js) */
body.touch #help, body.touch #start, body.touch #cross { display: none; }
