body { margin: 0; overflow: hidden; background-color: #000; font-family: 'Arial Black', Arial, sans-serif; }
        #ui {
            position: absolute; top: 16px; left: 16px; z-index: 10;
            color: #fff; padding: 12px 14px; text-transform: uppercase;
            font-size: 11px; line-height: 1.6;  border-radius: 8px; pointer-events: none;
        }
        #ui h2 { margin: 0 0 8px 0; font-size: 16px; }
        .key-bind { color: #ffeb3b; font-weight: bold; }
        .hint { color: #9aa; margin-top: 8px; font-size: 10px; }
        #prompt {
            position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
            color: #fff; background: rgba(0, 0, 0, 0.55); padding: 8px 16px; border-radius: 8px;
            font-size: 14px; text-transform: uppercase; z-index: 10; display: none; pointer-events: none;
        }
        #status {
            position: absolute; bottom: 16px; left: 16px; color: #8f8; font-size: 12px;
            text-transform: uppercase; z-index: 10; pointer-events: none;
        }
        #loading {
            position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
            color: #fff; font-size: 20px; text-transform: uppercase; z-index: 20; background: #111;
            text-align: center; padding: 20px;
        }
        #editBtn {
            position: absolute; top: 16px; right: 16px; z-index: 30;
            background: #ffeb3b; color: #000; border: 0; border-radius: 8px;
            padding: 10px 16px; font: 13px 'Arial Black', Arial, sans-serif; cursor: pointer;
            text-transform: uppercase;
        }
        #editBtn:hover { background: #fff59d; }
        #editPanel {
            display: none; position: absolute; top: 62px; right: 16px; width: 230px; z-index: 30;
            background: rgba(0, 0, 0, 0.75); color: #fff; border-radius: 8px; padding: 12px;
            font: 11px Arial, sans-serif; text-transform: uppercase;
        }
        #editPanel #editTitle { font: 12px 'Arial Black', Arial, sans-serif; margin-bottom: 8px; color: #ffeb3b; }
        #editPanel .row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0; }
        #editPanel input[type=number] {
            width: 90px; background: #222; color: #fff; border: 1px solid #555; border-radius: 4px; padding: 4px;
        }
        #editPanel .btns { display: flex; gap: 6px; margin-top: 8px; }
        #editPanel button {
            flex: 1; background: #333; color: #fff; border: 1px solid #666; border-radius: 4px;
            padding: 6px 4px; cursor: pointer; font: 11px Arial, sans-serif; text-transform: uppercase;
        }
        #editPanel button:hover:not(:disabled) { background: #555; }
        #editPanel button:disabled { opacity: 0.4; cursor: default; }
        #editPanel .hint { margin-top: 8px; color: #9aa; font-size: 10px; text-transform: none; }