html,body{color:#fff;background:#000;width:100%;height:100%;margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;overflow:hidden}body{justify-content:center;align-items:center;min-height:100vh;display:flex}*{box-sizing:border-box}#game-root{width:600px;height:600px;position:relative;overflow:hidden}#game-canvas{outline:none;width:600px;height:600px;display:block}#hud{pointer-events:none;padding:18px 24px;position:absolute;inset:0}#hud-top{justify-content:space-between;gap:16px;display:flex}p{margin:0}#floor,#turn{letter-spacing:.12em;color:#c0cddd;font-size:16px}#life,#points{margin-top:5px;font-size:22px;font-weight:650}.align-end{text-align:right}#hud-bottom{gap:5px;display:grid;position:absolute;bottom:16px;left:24px;right:24px}#message{color:#e4e6eb;min-height:23px;font-size:17px;line-height:1.3}#spell{color:#b2ffef;font-size:19px;font-weight:650}#key{color:#ffdda2;font-size:16px}#menu{background:#11141c;border:1px solid #698499;flex-direction:column;justify-content:center;gap:20px;padding:28px;display:flex;position:absolute;inset:36px}#eyebrow{letter-spacing:.22em;color:#b2ffef;font-size:16px}#menu-title{letter-spacing:-.03em;margin:0;font-size:36px;font-weight:650;line-height:1.1}#game-root[data-phase=title] #menu-title{letter-spacing:.035em;font-size:56px}#menu-copy{white-space:pre-line;color:#e4e6eb;font-size:19px;line-height:1.45}#menu-options{gap:10px;display:grid}.option{text-align:left;width:100%;font:inherit;color:#fff;background:#1a1f2a;border:1px solid #68748c;padding:14px 16px;font-size:20px;display:block}.option.selected{background:#253d40;border-color:#b2ffef;box-shadow:inset 4px 0 #b2ffef}.option:focus{outline-offset:3px;outline:2px solid #fff}#menu-foot{white-space:pre-line;color:#c0cddd;font-size:16px;line-height:1.4}.hidden{display:none!important}#game-root[data-phase=title] #hud,#game-root[data-phase=upgrade] #hud,#game-root[data-phase=lost] #hud,#game-root[data-phase=won] #hud{visibility:hidden}
