*{margin:0;padding:0;box-sizing:border-box;outline:none}*:focus{outline:none}html,body{width:100%;height:100%;overflow:hidden;background-color:#1e1e1e}canvas{display:block}#loading{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#1e1e1e;color:#ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;z-index:1000}#loading.hidden{display:none}.spinner{width:40px;height:40px;border:3px solid #333;border-top-color:#007acc;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{to{transform:rotate(360deg)}}#error{position:fixed;top:0;left:0;width:100%;height:100%;display:none;flex-direction:column;justify-content:center;align-items:center;background-color:#1e1e1e;color:#f48771;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;z-index:1001;padding:20px;text-align:center}#error.visible{display:flex}#error h1{margin-bottom:16px}#error pre{background:#2d2d2d;padding:16px;border-radius:4px;max-width:80%;max-height:60vh;overflow:auto;font-size:12px;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}#error p{margin-bottom:16px;color:#ccc}#reload{margin-top:20px;padding:8px 16px;border:1px solid #cccccc;border-radius:4px;background:#2d2d2d;color:#fff;font:inherit;cursor:pointer}#reload:focus-visible{outline:2px solid #007acc;outline-offset:3px}
