/* ==========================================================================
   css/apps/riftscript-editor.css
   Split from app.html (build 2026.10.08.9-beta), original lines 8054-8070.
   Rules are in their ORIGINAL order; load order is defined in index.html.
   ========================================================================== */
/* RiftScript code editor (highlighted overlay) */
.rs-editor { position:relative; height:300px; border:1px solid var(--border-strong); border-radius:10px; overflow:hidden; background:#0a0b10; }
.rs-editor pre, .rs-editor textarea {
  margin:0; padding:12px 14px; border:0; box-sizing:border-box;
  font-family:ui-monospace,Menlo,Consolas,monospace; font-size:13px; line-height:1.6;
  letter-spacing:normal; tab-size:2; white-space:pre; word-wrap:normal; word-break:normal;
  overflow:auto; position:absolute; top:0; left:0; right:0; bottom:0; width:100%; height:100%;
  font-variant-ligatures:none; text-rendering:auto;
}
.rs-editor pre { z-index:0; pointer-events:none; color:#e6e6f0; }
.rs-editor textarea { z-index:1; background:transparent; color:#e6e6f0; -webkit-text-fill-color:transparent; caret-color:#e6e6f0; resize:none; outline:none; }
.rs-editor textarea::placeholder { color:#4a4a60; }
.rs-k { color:#c792ea; }   /* keywords: on/if/hasrole… */
.rs-a { color:#82aaff; }   /* actions: reply/giverole… */
.rs-s { color:#c3e88d; }   /* strings */
.rs-c { color:#5a6072; font-style:italic; } /* comments */
.rs-emoji-ac { display:none; margin-top:6px; background:var(--bg-elevated); border:1px solid var(--border-strong); border-radius:8px; padding:4px; max-height:160px; overflow-y:auto; }
