/* styles/options.css - options panel and on/off switches */
#options, #restart { position:fixed; inset:0; background:rgba(74,66,56,.45); display:flex; align-items:center; justify-content:center; z-index:5; padding:12px;
  touch-action:manipulation; -webkit-tap-highlight-color:transparent; user-select:none; -webkit-user-select:none; }
#options .panel, #restart .panel { background:#fffdf6; border-radius:28px; padding:clamp(18px, 3vw, 28px); width:min(560px, 100%); box-shadow:0 12px 0 rgba(90,70,40,.2); }
#options h2, #restart h2 { margin:0 0 6px; font-size:clamp(26px, 4vw, 36px); }
#options .close, #restart .close { font:inherit; font-size:clamp(20px, 3vw, 24px); font-weight:800; border:0; border-radius:99px; margin-top:18px; min-height:64px;
  width:100%; background:#8ecbcb; color:#17404c; box-shadow:0 4px 0 rgba(0,0,0,.2); cursor:pointer; }
.switch { flex:none; position:relative; width:88px; height:50px; border-radius:99px; border:0; background:#cfc6b4; cursor:pointer;
  box-shadow:inset 0 3px 0 rgba(0,0,0,.12); transition:background .15s; }
.switch span { position:absolute; top:5px; left:5px; width:40px; height:40px; border-radius:50%; background:#fff; box-shadow:0 3px 0 rgba(0,0,0,.18); transition:transform .15s; }
.switch.on { background:#2e8049; }
.switch.on span { transform:translateX(38px); }
/* "Start over?" confirmation (shares the panel look above) */
#restart p { margin:6px 0 0; font-size:clamp(17px, 2.4vw, 21px); line-height:1.35; color:#6b5f4d; }
#restart .choices { display:flex; flex-direction:column; gap:12px; margin-top:18px; }
#restart .choices button { font:inherit; font-size:clamp(20px, 3vw, 24px); font-weight:800; border:0; border-radius:99px; min-height:64px; width:100%;
  cursor:pointer; box-shadow:0 4px 0 rgba(0,0,0,.2); }
#restart .choices .danger { background:#c8503a; color:#fff; }
#restart .choices .close { margin-top:0; }
