/* Controls panel (js/controls_ui.js) and in-game control cues. Monochrome with champagne accent, like premium.css. */
.cx { --cx-gold: #ffd48a; --cx-line: rgba(255, 255, 255, .16); --cx-dim: #a6a6b0; font-family: 'Geist', system-ui, sans-serif; color: #f2f2f5; }
.cx-root { display: grid; gap: 14px; }
.cx-top { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--cx-gold); background: linear-gradient(150deg, rgba(255, 212, 138, .1), rgba(255, 255, 255, .03)); }
.cx-aim { padding: 0; } .cx-aim .cx-lbl { font: 700 13px 'Geist Mono', monospace; letter-spacing: .24em; color: var(--cx-gold); }
.cx-aim .cx-opt { font-size: 15px; padding: 12px 26px; letter-spacing: .2em; }
.cx-aimnote, .cx-note { font-size: 12px; line-height: 1.5; color: var(--cx-dim); }
.cx-sec { display: grid; gap: 8px; }
.cx-h { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: 10px; font: 600 10px 'JetBrains Mono', monospace; letter-spacing: .26em; color: var(--cx-gold); }
.cx-h em { font-style: normal; letter-spacing: .04em; color: var(--cx-dim); font-weight: 400; font-size: 11px; }
.cx-seg, .cx-sl { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 6px 10px; border: 1px solid transparent; }
.cx-seg.focus, .cx-sl.focus, .cx-row.focus, .cx-btn.focus, .cx-tab.focus, .cx-preset.focus { outline: 2px solid var(--cx-gold); outline-offset: 1px; }
.cx-lbl { font-size: 13px; letter-spacing: .04em; min-width: 190px; flex: 1; }
.cx-opts { display: flex; gap: 4px; flex-wrap: wrap; }
.cx-opt, .cx-preset, .cx-tab, .cx-btn { font: 600 11px 'JetBrains Mono', monospace; letter-spacing: .14em; padding: 8px 14px; color: #ddd; background: rgba(255, 255, 255, .07); border: 1px solid var(--cx-line); cursor: pointer; }
.cx-opt:hover, .cx-preset:hover, .cx-tab:hover, .cx-btn:hover { background: rgba(255, 255, 255, .14); }
.cx-opt.on, .cx-preset.on, .cx-tab.on { color: #1a1408; background: var(--cx-gold); border-color: var(--cx-gold); }
.cx-btn.danger { color: #ff9b9b; } .cx-btn.sm { padding: 5px 10px; }
.cx-presets, .cx-tabs, .cx-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cx-hint { font-size: 11px; color: var(--cx-dim); margin-left: 8px; flex: 1; min-width: 220px; }
.cx-sl input[type=range] { flex: 2; min-width: 160px; accent-color: var(--cx-gold); } .cx-sl b { min-width: 56px; text-align: right; font: 600 12px 'JetBrains Mono', monospace; color: var(--cx-gold); }
.cx-banner { padding: 9px 12px; font-size: 12px; background: rgba(255, 255, 255, .07); border-left: 3px solid var(--cx-gold); display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cx-banner.warn { border-color: #ff9b6b; background: rgba(255, 140, 90, .12); } .cx-bb { display: flex; gap: 6px; }
.cx-list { display: grid; gap: 4px; }
.cx-grp { margin: 12px 0 2px; font: 600 10px 'JetBrains Mono', monospace; letter-spacing: .3em; color: var(--cx-dim); border-bottom: 1px solid var(--cx-line); padding-bottom: 4px; }
.cx-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(150px, 1.1fr) minmax(150px, 1.1fr) 34px; gap: 6px; align-items: center; padding: 3px 6px; }
.cx-row:hover { background: rgba(255, 255, 255, .04); }
.cx-fixed { grid-column: 2 / 4; font: 600 11px 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--cx-dim); }
.cx-slot { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3px; min-height: 36px; padding: 4px 22px 4px 8px; color: #eee; background: rgba(255, 255, 255, .06); border: 1px solid var(--cx-line); cursor: pointer; text-align: center; }
.cx-slot:hover { background: rgba(255, 255, 255, .13); } .cx-slot.sel { box-shadow: inset 0 0 0 1px var(--cx-gold); }
.cx-slot.combo { border-color: rgba(183, 156, 255, .7); background: rgba(183, 156, 255, .1); }
.cx-slot.wait { border-color: var(--cx-gold); background: rgba(255, 212, 138, .14); animation: cxwait 1s ease-in-out infinite; flex-direction: column; gap: 2px; }
@keyframes cxwait { 50% { background: rgba(255, 212, 138, .26); } }
.cx-c { text-decoration: none; font: 700 10.5px 'JetBrains Mono', monospace; letter-spacing: .1em; padding: 3px 8px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); border-radius: 3px; white-space: nowrap; }
.cx-tag { text-decoration: none; font: 700 10px 'JetBrains Mono', monospace; letter-spacing: .1em; padding: 3px 7px; color: #1a1408; background: #b79cff; border-radius: 3px; }
.cx-sep { font-style: normal; color: var(--cx-gold); font-weight: 700; } .cx-none { text-decoration: none; opacity: .4; font: 600 10px 'JetBrains Mono', monospace; letter-spacing: .14em; }
.cx-x { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; line-height: 15px; text-align: center; font-size: 13px; opacity: 0; color: #ff9b9b; }
.cx-slot:hover .cx-x { opacity: .9; }
.cx-prompt { font: 700 10px 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--cx-gold); } .cx-live { font: 700 12px 'JetBrains Mono', monospace; min-height: 14px; }
.cx-timer { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--cx-gold); animation: cxtimer 6s linear forwards; } @keyframes cxtimer { from { width: 100%; } to { width: 0; } }
.cx-reset { background: transparent; border: 1px solid var(--cx-line); color: #ccc; cursor: pointer; height: 32px; }
.cx-json { width: 100%; box-sizing: border-box; background: rgba(0, 0, 0, .4); color: #ddd; border: 1px solid var(--cx-line); font: 11px 'JetBrains Mono', monospace; padding: 8px; }
.cx-vis { border: 1px solid var(--cx-line); background: rgba(0, 0, 0, .35); padding: 8px; } .cx-cv { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; } .cx-vnote { font-size: 11px; color: var(--cx-dim); text-align: center; }
.cx-audit { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 8px 10px; border: 1px solid var(--cx-line); background: rgba(255,255,255,.05); }
.cx-audit b { font: 700 19px 'Geist Mono', monospace; color: var(--cx-gold); } .cx-audit b.ok { color: #7fe6ff; } .cx-audit b.bad { color: #ff9b9b; }
.cx-audit span { font: 600 9px 'JetBrains Mono', monospace; letter-spacing: .2em; color: var(--cx-dim); margin-right: 6px; }
.cx-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1px 12px; margin-top: 6px; }
.cx-mrow { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: center; padding: 2px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
.cx-mrow span { font-size: 11px; color: var(--cx-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-mrow u { text-decoration: none; font: 700 10px 'Geist Mono', monospace; letter-spacing: .08em; padding: 2px 6px; background: rgba(255,255,255,.12); border-radius: 3px; color: #eee; white-space: nowrap; }
.cx-mrow u.pd { color: #c9b3ff; background: rgba(183,156,255,.16); }
@media (max-width: 720px) { .cx-row { grid-template-columns: 1fr 1fr; } .cx-row .cx-lbl { grid-column: 1 / 3; } .cx-reset { display: none; } .cx-lbl { min-width: 120px; } }

/* in-game cues */
#ctlCues { position: fixed; inset: 0; pointer-events: none; z-index: 40; font-family: 'Geist Mono', monospace; }
.cc-aim { position: absolute; left: 50%; top: calc(50% + 62px); transform: translateX(-50%); display: flex; gap: 8px; align-items: center; font: 700 10px 'JetBrains Mono', monospace; letter-spacing: .24em; color: #ffd48a; text-shadow: 0 1px 6px #000; }
.cc-aim i { width: 7px; height: 7px; border-radius: 50%; background: #ffd48a; box-shadow: 0 0 10px #ffd48a; }
.cc-lat { position: absolute; left: 50%; top: calc(50% + 82px); transform: translateX(-50%); font: 700 9px 'JetBrains Mono', monospace; letter-spacing: .24em; color: #fff; opacity: .75; text-shadow: 0 1px 6px #000; }
.cc-ring { position: absolute; left: 50%; top: calc(50% + 40px); transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; }
.cc-ring svg { width: 44px; height: 44px; } .cc-ring circle { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 3; } .cc-ring .cc-p { stroke: #ffd48a; stroke-dasharray: 113; stroke-dashoffset: 113; }
.cc-ring span { font: 700 9px 'JetBrains Mono', monospace; letter-spacing: .2em; color: #ffd48a; text-shadow: 0 1px 6px #000; }
body.aim-latched .h-reticle { filter: drop-shadow(0 0 5px #ffd48a); }
#ctlCues [hidden] { display: none !important; }
