.chat-composer{position:relative}.chat-command-button{color:#7dd3fc!important}.chat-command-picker{position:absolute;z-index:80;left:10px;bottom:calc(100% + 9px);width:min(520px,calc(100vw - 32px));max-height:360px;padding:8px;overflow:auto;border:1px solid rgba(125,211,252,.24);border-radius:16px;background:rgba(8,17,34,.97);box-shadow:0 22px 60px rgba(0,0,0,.48);backdrop-filter:blur(18px)}.chat-command-picker[hidden]{display:none}.chat-command-picker button{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:11px;background:transparent;color:var(--text);text-align:left;cursor:pointer}.chat-command-picker button:hover,.chat-command-picker button:focus{background:rgba(99,102,241,.15)}.chat-command-picker button>i{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:rgba(125,211,252,.1);color:#7dd3fc}.chat-command-picker button span,.chat-command-syntax{display:grid;gap:3px}.chat-command-picker small,.chat-command-syntax small{color:var(--text-soft);font-size:.76rem}.chat-command-syntax{padding:10px 12px;margin-bottom:5px;border-bottom:1px solid var(--border)}@media(max-width:600px){.chat-command-picker{position:fixed;left:10px;right:10px;bottom:85px;width:auto;max-height:45vh}}
.view-chat .chat-notice{white-space:pre-line;line-height:1.55}


/* 3.22.8 SAFE: mobile command picker above the composer */
@media (max-width: 600px) {
    .chat-command-picker {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        bottom: 175px !important;
        width: auto !important;
        max-height: min(48vh, 420px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        z-index: 2147481000 !important;
        pointer-events: auto !important;
        touch-action: pan-y !important;
    }

    .chat-command-picker button {
        position: relative !important;
        z-index: 1 !important;
        min-height: 48px !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
}
