/* Completion and account entry share the approved navy/gold popup. */
#complete{background:rgba(4,12,23,.72);backdrop-filter:blur(7px);padding:20px;gap:0}
#complete .completion-card,.completion-auth-card{position:relative;width:min(100%,370px);max-height:calc(100dvh - 48px);overflow:auto;padding:36px 22px 24px;border:1px solid #d8b77d;border-radius:24px;background:linear-gradient(150deg,#172737f5,#07131ff7);box-shadow:0 18px 64px #0007;color:#f5f2ea;display:flex;flex-direction:column;align-items:stretch;gap:14px;text-align:center}
#complete .complete-check{align-self:center;width:66px;height:66px;border:2px solid #e6c893;border-radius:50%;display:grid;place-items:center;font-size:34px;color:#f3d8a8;margin:10px 0}
#complete h2,.completion-auth-card h2{font-size:clamp(20px,5.4vw,25px);line-height:1.4;margin:6px 0;font-weight:800;letter-spacing:-.035em;word-break:keep-all}
#complete .completion-count{display:flex;gap:5px;align-items:baseline;justify-content:center;color:#efd2a0}
#complete #completionCount{font-size:68px;line-height:1.1;color:#efd2a0}
#complete .completion-count span{font-size:24px;font-weight:700}
#complete .completion-encouragement{font-size:15px;line-height:1.5;margin:0}
#complete #completeReward{font-size:12px;opacity:.75;font-weight:500}
#complete .completion-card>button:not(.completion-close),.completion-auth-card>button{width:100%;min-height:52px;border-radius:12px;font-size:16px}
#complete #personalInviteButton,.completion-auth-card .completion-login-submit,.completion-auth-card .completion-signup-submit{background:linear-gradient(120deg,#f0d09a,#c89d62);border:1px solid #efd09c;color:#131b24;font-weight:800}
#complete #saveCompletion{background:transparent;border:1px solid #d9bc84;color:#fff}
#complete .completion-close,.sheet .completion-close{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:44px;min-width:44px;min-height:44px;height:44px;padding:0;border:0;background:transparent;color:#f7f5ef;font-size:28px;font-weight:400;line-height:1}
#sheet.completion-login{inset:0;position:absolute;width:100%;height:100%;max-height:none;overflow:hidden;z-index:35;border:0;border-radius:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#04101dcc;backdrop-filter:blur(7px)}
.completion-brand{font-family:Georgia,serif;letter-spacing:.13em;color:#e6bf80;font-size:22px;margin-top:2px}
.completion-login-notice{font-size:15px;line-height:1.65;margin:0 0 4px;word-break:keep-all}
.completion-auth-card .completion-google{background:#f6f5f2;color:#152031;border:0;font-size:15px}
.completion-google span{font-size:22px;color:#4285f4;margin-right:6px}
.completion-divider{display:flex;align-items:center;gap:12px;color:#9ba7b5;font-size:12px}
.completion-divider:before,.completion-divider:after{content:"";height:1px;background:#ffffff27;flex:1}
.completion-auth-card .sheet-input{width:100%;min-width:0;min-height:48px;background:#091725;border-color:#ffffff24;font-size:15px}
.completion-consent{text-align:left;font-size:12px;color:#b6c1ce}
.completion-consent summary{cursor:pointer;min-height:24px}
.completion-consent .consent-line{padding:5px 0;font-size:11px;min-height:38px;gap:7px}
.completion-consent a{color:#e6c38d}
.completion-signup-footer{font-size:12px;color:#d0d5dc}
.completion-auth-card .completion-signup-footer button{display:inline;background:none;border:0;min-height:32px;padding:0 4px;color:#e7c38b;text-decoration:underline;font-size:12px}
.completion-test-note{font-size:10px;color:#9da9b8}
#complete [hidden],.completion-auth-card [hidden],.sheet.completion-login[hidden]{display:none!important}
@media(max-height:650px){#complete .completion-card,.completion-auth-card{padding:24px 18px 18px;gap:10px}#complete .complete-check{width:48px;height:48px;font-size:25px;margin:0}#complete #completionCount{font-size:52px}.completion-auth-card h2{font-size:20px}}


.completion-feedback{text-align:left;border-top:1px solid var(--ui-line,#d8b77d66);padding-top:12px;font-size:13px;line-height:1.6}
.completion-feedback summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 4px;font-weight:700}
.completion-feedback .feedback-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#complete .completion-feedback button{width:100%;min-height:44px;min-width:0;padding:7px 4px;border:1px solid var(--ui-line,#d8b77d);border-radius:10px;background:var(--ui-card,#172737);color:inherit;font-size:12px}
#complete .completion-feedback button[aria-pressed=true]{background:var(--ui-accent,#c89d62);color:var(--ui-on-accent,#fff);outline:2px solid var(--ui-accent,#c89d62)}
.completion-feedback textarea{width:100%;max-width:100%;font:inherit;border-radius:10px;padding:10px;background:var(--ui-card,#172737);color:inherit;border:1px solid var(--ui-line,#d8b77d)}
.completion-feedback small{display:block;opacity:.8;font-size:11px}.completion-feedback .feedback-submit{width:100%;margin:10px 0}.completion-feedback a{color:inherit;text-decoration:underline;display:inline-block;padding:10px 0}.completion-feedback p:empty{display:none}
