/* V4.65 OPTION / CAMERA only; original option and race UI untouched. */
#cameraOptionOverlay{position:fixed;inset:0;z-index:82;display:none;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;background:rgba(0,0,0,.88);backdrop-filter:blur(5px)}
#cameraOptionOverlay.show{display:flex}
.cameraOptionPanel{width:min(520px,94vw);max-height:90dvh;overflow:auto;box-sizing:border-box;padding:18px;border:1px solid rgba(80,220,255,.48);border-radius:14px;background:linear-gradient(180deg,#081d26,#040a0c);box-shadow:0 24px 80px rgba(0,0,0,.82)}
.cameraOptionHead{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding-bottom:12px;border-bottom:1px solid rgba(80,220,255,.2)}
.cameraOptionHead strong{color:#f2fdff;font:1000 26px/1 "Arial Black",sans-serif}.cameraOptionHead span{color:#6adff5;font:900 10px/1.35 Consolas,monospace}
.cameraOptionCurrent{color:#9bdde9;font:900 12px/1.5 Consolas,monospace;margin:14px 0 12px}
.cameraOptionCurrent b{color:#fff;font-size:16px}
.cameraOptionChoices{display:grid;grid-template-columns:1fr;gap:9px}
.cameraOptionChoices button{display:block;cursor:pointer;text-align:left;padding:13px;border:1px solid #426779;border-radius:10px;background:#102129;color:#f2fbff;min-height:68px}
.cameraOptionChoices button b{font:1000 17px/1.2 "Arial Black",sans-serif;letter-spacing:.04em;display:block}
.cameraOptionChoices button small{display:block;margin-top:7px;color:#86c8d4;font:800 10px/1.2 Consolas,monospace}
.cameraOptionChoices button.selected,.cameraOptionChoices button[aria-pressed="true"]{border-color:#86ecff;background:#123845;box-shadow:inset 0 0 0 2px rgba(123,235,255,.17)}
.cameraOptionChoices button.selected b:after{content:'  ✓';color:#90eeff}
.cameraOptionFootnote{color:#9db0b8;font:800 10px/1.4 Consolas,monospace;margin:12px 0 0}

/* V5.278: HEAD MOTION independent switch; overlay dimensions preserved. */
.headMotionOptionV5278{margin-top:13px;padding:11px 12px;border:1px solid rgba(80,220,255,.25);border-radius:10px;background:rgba(10,38,48,.65)}
.headMotionTitleV5278{display:flex;flex-wrap:wrap;gap:5px 14px;align-items:baseline;margin-bottom:9px}
.headMotionTitleV5278 b{font:1000 15px/1.2 "Arial Black",sans-serif;color:#effdff}
.headMotionTitleV5278 small{font:800 10px/1.2 Consolas,monospace;color:#87cadb}
.headMotionChoicesV5278{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.headMotionChoicesV5278 button{min-height:35px;border:1px solid #477080;border-radius:8px;background:#102129;color:#dfedf3;font:900 12px/1 Consolas,monospace;cursor:pointer}
.headMotionChoicesV5278 button[aria-pressed="true"]{border-color:#86ecff;background:#123845;box-shadow:inset 0 0 0 1px rgba(123,235,255,.25);color:#fff}
