/* Alpha 08 — guided missions and opt-in privacy-first playtest controls. */
.playtest-optin{position:relative;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:13px;
  max-width:660px;background:rgba(7,32,43,.65);border:1px solid rgba(146,218,211,.3);
  padding:9px 12px;border-radius:9px;backdrop-filter:blur(10px)}
.playtest-optin button{display:flex;align-items:center;gap:7px;border-radius:7px;
  border:1px solid rgba(255,199,130,.42);background:rgba(26,65,75,.85);
  padding:9px 12px;color:#c4e6e3;font-size:10px;font-weight:900;letter-spacing:.07em;white-space:nowrap}
.playtest-optin button span{font-size:16px;color:#ffc879}
.playtest-optin button.on{background:#f4c589;color:#113546;border-color:#ffdfaa}
.playtest-optin button.on span{color:#1c6b5a}
.playtest-optin small{flex:1;min-width:185px;color:#adcac7;font-size:9px;line-height:1.4}
.rescue-save-exit{margin-top:10px;pointer-events:auto;cursor:pointer;letter-spacing:.075em;
  color:#bcddd7;border:1px solid #91c8bc62;background:#183a46bf;
  border-radius:6px;padding:7px 10px;font-size:9px;font-weight:900;min-height:30px}
.rescue-save-exit:hover{background:#244f57}
.rescue-guide{position:absolute;left:50%;bottom:166px;transform:translateX(-50%);
  width:min(290px,calc(100vw - 24px));z-index:11;pointer-events:auto;display:flex;
  align-items:center;gap:10px;background:rgba(6,32,44,.91);border:1px solid rgba(137,228,212,.54);
  box-shadow:0 11px 34px #001420a3,0 0 25px #64eecb0d;
  border-radius:11px;padding:10px 10px;backdrop-filter:blur(13px)}
.rescue-guide-arrow{font-size:30px;line-height:1;width:36px;min-width:36px;text-align:center;
  color:#f9c481;text-shadow:0 3px 12px rgba(248,175,99,.38)}
.rescue-guide-text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.rescue-guide-text strong{font-size:10px;color:#ebf9ef;font-weight:930;letter-spacing:.025em;
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rescue-guide-text small{font-size:9px;font-weight:900;color:#8ae4cd;letter-spacing:.08em}
.rescue-guide button{border:1px solid rgba(163,231,221,.65);background:rgba(19,68,76,.9);
  color:#ddfff5;border-radius:50%;font-size:15px;font-weight:900;width:30px;height:30px;
  min-width:30px;cursor:pointer}
.rescue-guide button:active{background:#3a7772}
.rescue-guide-tip{position:absolute;bottom:calc(100% + 7px);left:0;right:0;
  border:1px solid #f4bd81b2;background:rgba(7,31,45,.97);
  border-radius:10px;padding:12px 14px;color:#f5edd9;font-size:11px;line-height:1.5;
  box-shadow:0 15px 36px #0019269e;max-width:400px}
.playtest-feedback-open{min-height:44px;display:inline-block;margin-top:11px;border:1px solid #9de6d1;
  border-radius:9px;color:#b7ffdc;font-weight:900;letter-spacing:.07em;padding:9px 13px;
  background:linear-gradient(110deg,rgba(14,73,69,.88),rgba(9,47,59,.91));font-size:11px}
.playtest-feedback{position:absolute;z-index:38;inset:0;background:rgba(0,13,24,.87);
  backdrop-filter:blur(15px);display:flex;justify-content:center;align-items:center;
  padding:15px;pointer-events:auto}
.playtest-feedback-card{width:min(650px,100%);max-height:95dvh;overflow:auto;
  border:1px solid rgba(166,227,210,.48);border-radius:16px;
  background:linear-gradient(139deg,#163f4d,#071f30);
  box-shadow:0 28px 75px #00121fe0;padding:clamp(19px,3.3vw,32px)}
.playtest-feedback-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.playtest-feedback-header>div>span{color:#ffcf8e;font-size:10px;font-weight:920;letter-spacing:.13em}
.playtest-feedback-header h2{font-size:clamp(25px,4.5vw,36px);line-height:1.05;
  letter-spacing:-.045em;margin:9px 0 13px;font-weight:980}
.playtest-feedback-header button{min-width:39px;height:39px;display:grid;place-items:center;border-radius:8px;
  border:1px solid rgba(190,227,220,.5);background:#1a4b58;color:#e6fff7;font-size:24px}
.playtest-feedback-card>p{font-size:11px;line-height:1.55;color:#bdd5d2;margin:0 0 12px}
.playtest-feedback-metrics{border:1px solid rgba(137,226,210,.33);
  background:rgba(13,62,70,.5);border-radius:8px;padding:11px 13px;margin-bottom:16px;
  color:#b7f8e4;font-size:11px;line-height:1.5;font-weight:750}
.playtest-feedback-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.playtest-feedback-grid label,.playtest-note-label{display:flex;flex-direction:column;
  gap:7px;color:#e1f5ed;font-size:11px;line-height:1.3;font-weight:800}
.playtest-feedback-grid select,.playtest-note-label textarea{
  display:block;width:100%;border:1px solid rgba(184,224,213,.46);border-radius:8px;
  background:#133b49;color:#f0fbf8;font-family:inherit;font-size:12px;
  padding:10px;min-height:39px;outline-offset:2px}
.playtest-feedback-grid select option{background:#133b49}
.playtest-note-label{margin-top:14px}
.playtest-note-label textarea{resize:vertical;line-height:1.5;min-height:70px}
.playtest-save-status{min-height:18px;font-size:11px;font-weight:780;color:#fbd094!important;margin:12px 0 5px!important}
.playtest-feedback-actions{display:flex;gap:10px;flex-wrap:wrap}
.playtest-feedback-actions button{min-height:44px;border-radius:9px;font-size:11px;letter-spacing:.055em;
  font-weight:950;padding:10px 14px;flex:1}
#playtestSaveFeedback{border:1px solid #ffdda4;background:linear-gradient(130deg,#ffdca3,#f6af70);color:#133441}
#playtestExport{border:1px solid #9feddb;background:#19544f;color:#d4ffed}
.playtest-clear-data{font-size:9px;color:#c4cfd0;text-decoration:underline;margin-top:14px;
  background:none;border:none;text-align:left;font-weight:800;padding:4px 0}
.playtest-clear-data.confirm{color:#ffd099}
@media(max-width:880px){
 .rescue-guide{bottom:158px}
 .playtest-optin{margin-top:11px}
}
@media(max-width:600px){
 .start-screen{overflow-y:auto;justify-content:flex-start}
 .start-hero{margin-top:auto;margin-bottom:auto}
 .playtest-optin{gap:6px;margin-top:8px;padding:8px 9px}
 .playtest-optin button{padding:7px 9px;font-size:9px}
 .playtest-optin small{font-size:8px}
 .rescue-save-exit{font-size:8px;min-height:27px;margin-top:7px;padding:6px 7px}
 .rescue-guide{width:min(228px,calc(100vw - 26px));padding:7px 8px;bottom:153px}
 .rescue-guide-arrow{font-size:26px;width:26px;min-width:26px}
 .rescue-guide-text strong{font-size:8px}
 .rescue-guide-text small{font-size:8px}
 .rescue-guide button{width:26px;min-width:26px;height:26px;font-size:13px}
 .rescue-guide-tip{font-size:10px;padding:9px 11px}
 .playtest-feedback-card{padding:18px 14px;max-height:97dvh}
 .playtest-feedback-grid{gap:8px}
 .playtest-feedback-grid label{font-size:9px}
 .playtest-feedback-grid select{font-size:11px;padding:8px 6px}
 .playtest-feedback-actions button{font-size:10px;padding:10px 7px}
 .playtest-feedback-open{font-size:9px;min-height:36px;padding:7px 9px}
}
@media(max-height:690px) and (orientation:landscape){
 .rescue-guide{bottom:15px;left:47%}
 .rescue-hud{top:60px}
 .start-hero{margin-top:20px}
}
@media(prefers-reduced-motion:reduce){.rescue-guide,.playtest-feedback{transition:none}}

.playtest-optin button.playtest-reports{border-color:#80e2c8;background:#194f4f;color:#d0fced;font-size:9px}
.playtest-optin button.playtest-reports:hover{background:#26786d}
@media(max-width:600px){.playtest-optin button.playtest-reports{min-height:30px;padding:6px 9px;font-size:8px}}
