/* help.css */

/* ============================================================
   HELP MODAL (F1)
   ============================================================ */
.help-modal{position:fixed;inset:0;z-index:200000;display:flex;align-items:center;justify-content:center;animation:helpFade .2s ease both}
.help-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.75)}
.help-content{
  position:relative;z-index:1;
  background:rgba(15,17,26,.98);border:1px solid var(--panel-border);border-radius:16px;
  width:min(780px,92vw);max-height:85vh;
  display:flex;flex-direction:column;overflow:hidden;
  box-shadow:0 24px 80px rgba(0,0,0,.8),0 0 60px rgba(var(--neon-rgb),.15);
  animation:helpSlide .25s cubic-bezier(.16,1,.3,1) both;
}
.help-header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid rgba(255,255,255,.06);flex-shrink:0;background:rgba(0,0,0,.2)}
.help-header h2{font-size:16px;font-weight:600;color:var(--text-main);letter-spacing:-.01em}
.help-close{width:32px;height:32px;border-radius:8px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:var(--text-muted);cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;transition:.15s}
.help-close:hover{color:#f87171;background:rgba(225,29,72,.2);border-color:rgba(225,29,72,.4)}

.help-body{flex:1;min-height:0;overflow-y:auto;padding:20px 22px;display:grid;grid-template-columns:1fr 1fr;gap:22px;scrollbar-width:thin;scrollbar-color:rgba(var(--neon-rgb),.3) transparent}
.help-body::-webkit-scrollbar{width:6px}
.help-body::-webkit-scrollbar-thumb{background:rgba(var(--neon-rgb),.3);border-radius:var(--radius-pill)}

.help-section{display:flex;flex-direction:column;gap:6px}
.help-section h3{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--neon);margin-bottom:4px;padding-bottom:6px;border-bottom:1px solid rgba(var(--neon-rgb),.2)}
.help-row{display:flex;align-items:center;gap:8px;padding:3px 0;font-size:12px;color:var(--text-main);flex-wrap:nowrap}
.help-keys{display:flex;align-items:center;gap:3px;flex-shrink:0}
.help-row kbd{display:inline-block;padding:2px 8px;font-family:var(--font-mono);font-size:10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);border-bottom-width:2px;border-radius:4px;color:var(--text-main);line-height:1.3;white-space:nowrap}
.help-row .help-text{color:var(--text-muted);margin-left:auto;text-align:right;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.help-note{font-size:10.5px;color:var(--text-muted);font-style:italic;line-height:1.4;padding:4px 0;flex:1}
.help-kbd-sep{color:var(--text-muted);font-size:11px;opacity:.6;padding:0 1px}