/* Roofing Giant Alpha 12 — opt-in browser field-testing console */
.field12-open{border-color:rgba(255,202,128,.92)!important;
  background:linear-gradient(135deg,rgba(105,68,49,.9),rgba(18,70,74,.9))!important}
.field12-panel{position:absolute;inset:0;z-index:48;display:flex;justify-content:center;
  align-items:center;padding:14px;pointer-events:auto;
  background:rgba(0,15,25,.88);backdrop-filter:blur(15px)}
.field12-card{width:min(710px,100%);max-height:96dvh;overflow-y:auto;overscroll-behavior:contain;
  border:1px solid rgba(171,236,217,.56);border-radius:15px;padding:clamp(18px,3vw,31px);
  background:linear-gradient(155deg,#154451,#082533);box-shadow:0 20px 80px #001522e3}
.field12-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.field12-head>div>span{font-size:10px;letter-spacing:.13em;color:#ffc88b;font-weight:900}
.field12-head h2{font-size:clamp(27px,5vw,38px);line-height:1.05;letter-spacing:-.058em;
  font-weight:1000;margin:8px 0 14px}
.field12-head button{width:40px;min-width:40px;height:40px;background:#1b5262;
  border:1px solid #b4e0d3;border-radius:8px;color:white;font-size:23px}
.field12-desc,.field12-step p{font-size:11px;line-height:1.6;color:#bdd9d2;margin:0 0 12px}
.field12-step{border-top:1px solid #a0d3c63d;padding:18px 0}
.field12-step-name{display:flex;align-items:center;gap:11px;margin-bottom:9px}
.field12-step-name>b{display:grid;place-items:center;width:33px;height:33px;min-width:33px;
  background:#1c5e62;border:1px solid #75e6c8;border-radius:9px;color:#e0fff1;font-size:12px}
.field12-step-name>strong{font-size:15px;font-weight:950;letter-spacing:-.025em}
.field12-check{margin-left:auto;color:#9cffe1;font-size:18px;font-weight:900}
.field12-primary,.field12-launch{display:block;min-height:48px;border-radius:9px;
  border:1px solid #ffe7b9;background:linear-gradient(125deg,#ffe1ab,#f7b56e);
  color:#163d45;font-weight:980;font-size:11px;letter-spacing:.055em;padding:11px 14px;width:100%}
.field12-primary:disabled{opacity:.65;filter:saturate(.7)}
.field12-progress{height:8px;background:#b5ccc546;border-radius:20px;overflow:hidden;margin:12px 0}
.field12-progress span{display:block;height:100%;width:0;
  background:linear-gradient(90deg,#f6bb77,#6ee5ca);border-radius:20px}
.field12-data{font-size:10px;line-height:1.55;color:#d6fff2;font-weight:800;letter-spacing:.01em}
.field12-note{font-size:11px;line-height:1.55;color:#f3d19d;margin:9px 0 1px}
.field12-touchpad{position:relative;margin:10px auto;width:min(280px,96%);height:160px;
  touch-action:none;user-select:none;overflow:hidden;border:1px solid #8fe7d8;
  background:repeating-linear-gradient(0deg,rgba(155,230,216,.045) 0,
  rgba(155,230,216,.045) 22px,rgba(5,47,60,.23) 23px),
  radial-gradient(ellipse at center,rgba(48,118,119,.32),rgba(7,45,58,.65));
  border-radius:14px;display:grid;place-items:center}
.field12-touchpad>span{font-size:12px;font-weight:930;letter-spacing:.14em;color:#cbefde;
  opacity:.62;pointer-events:none}
.field12-touchdot{position:absolute;left:calc(50% - 17px);top:calc(50% - 17px);
  width:34px;height:34px;border-radius:50%;
  background:linear-gradient(130deg,#fff0b8,#ecb36f);
  box-shadow:0 0 24px rgba(244,191,120,.56);pointer-events:none;opacity:.75}
.field12-secondary{border:1px solid #83e7d2;background:#1a5955;color:#e4fff3;
  border-radius:8px;font-size:10px;font-weight:900;letter-spacing:.07em;
  min-height:37px;padding:8px 12px;margin-top:12px}
.field12-survey{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.field12-survey label,.field12-notes{display:flex;flex-direction:column;
  gap:7px;font-size:11px;font-weight:850;color:#e3f8ef}
.field12-survey select,.field12-notes textarea{width:100%;background:#123c4d;color:#f1fff7;
  border:1px solid #b3dad088;border-radius:9px;padding:9px;
  font:inherit;font-size:11px;min-height:40px}
.field12-survey select option{background:#123c4d}
.field12-notes{margin-top:15px}
.field12-notes textarea{resize:vertical;line-height:1.5;min-height:63px}
.field12-summary{white-space:pre-line;line-height:1.7;font-size:11px;color:#d4fbeb;
  border:1px solid #9fe4ce7a;background:rgba(17,63,71,.74);border-radius:9px;
  padding:12px;margin:12px 0}
.field12-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.field12-actions button{min-height:43px;flex:1;min-width:125px;
  border-radius:9px;border:1px solid #b3e8d5;
  background:#226154;color:#ecfff6;font-size:10px;font-weight:950;letter-spacing:.07em}
.field12-actions button:last-child{border-color:#fbdba6;background:#dbaf73;color:#153b46}
.field12-status{min-height:19px;margin:10px 0 6px!important;color:#ffd8a6!important;font-size:10px!important}
.field12-results>small{display:block;color:#abcfc8;font-size:10px}
.field12-erase{display:block;margin:13px 0 20px;border:0;background:none;
  color:#b4d4d4;font-size:9px;text-decoration:underline;padding:4px 0;font-weight:900}
.field12-launch{margin:10px 0 16px}
.field12-results p.field12-disclaimer{font-size:10px;color:#a9c8c8;line-height:1.65;margin:0}
.field12-exit{width:100%;border:1px solid #c0dfd3;border-radius:8px;
  background:#1b4b55;color:#e7fff8;font-size:10px;font-weight:930;letter-spacing:.08em;
  min-height:39px;padding:9px 13px}
@media(max-width:600px){
  .field12-panel{padding:8px}
  .field12-card{padding:17px 13px;border-radius:11px;max-height:97dvh}
  .field12-head h2{font-size:27px;margin-bottom:10px}
  .field12-head>div>span{font-size:8px}
  .field12-desc,.field12-step p{font-size:10px}
  .field12-step{padding:13px 0}
  .field12-step-name>strong{font-size:13px}
  .field12-step-name>b{height:28px;width:28px;min-width:28px;font-size:11px}
  .field12-touchpad{height:155px}
  .field12-survey{gap:9px 8px}
  .field12-survey label{font-size:9px}
  .field12-survey select{font-size:9px;padding:7px;min-height:36px}
  .field12-note,.field12-data{font-size:9px}
  .field12-actions button{min-width:110px}
  .field12-open{border-color:#ffc77b!important}
  .header-right{gap:3px}
  .header-button{width:30px;min-width:30px;height:33px;font-size:16px}
  .official-brand{width:110px!important;max-width:30vw}
}
@media(max-width:350px){
  .field12-survey{grid-template-columns:1fr}
  .official-brand{width:103px!important}
}
@media(prefers-reduced-motion:reduce){
  .field12-progress span,.field12-touchdot{transition:none!important}
}

/* Keep the longer Alpha 12 introduction readable and scrollable on phones. */
@media(max-width:600px){
  .start-screen:not(.hidden){display:block!important;overflow-y:auto!important;
    padding:98px 23px max(20px,env(safe-area-inset-bottom))!important}
  .intro-top{display:none!important}
  .start-hero{margin:0!important;max-width:100%}
  .start-hero .chapter{margin:0 0 12px;font-size:8px;letter-spacing:.045em}
  .start-hero h1{font-size:clamp(54px,12.6vw,78px);margin:12px 0 17px}
  .start-hero p{margin:0 0 16px;font-size:12px;line-height:1.48}
  .intro-points{margin-top:13px;gap:9px}
  .playtest-optin{margin-bottom:14px}
  .start-bottom{position:static!important;bottom:auto!important;left:auto!important;
    right:auto!important;margin-top:18px;padding:13px 0 2px;
    border-top:1px solid rgba(164,210,203,.25)}
}
