/* Account, safety and legal UI: password reset, settings, reporting,
   blocking, account deletion — see js/13-account.js. */
.autherr.ok{background:#1d4430;border-color:#3f8a5c;color:#c9f3d6}
.playerSafety{display:flex;justify-content:center;gap:28px;margin-top:14px;padding-top:10px;border-top:1px solid #8c96c32b}
.linkBtn{background:none;border:0;padding:8px 4px;min-height:40px;color:#aeb5d7;font:600 13px 'Work Sans',sans-serif;
  text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.linkBtn:hover{color:#e7e9ff}
.reportReasons{display:grid;gap:8px;margin:14px 0 10px}
.reportReason{min-height:44px;padding:0 14px;text-align:left;border:1px solid #8c96c34d;border-radius:11px;
  background:#1c2346;color:#e7e9ff;font:500 14px 'Work Sans',sans-serif;cursor:pointer}
.reportReason.on{border-color:#c9b0ff;background:#3a335d}
.reportDetails{min-height:70px;resize:vertical;margin-bottom:10px;font-family:inherit}
.blockedList{display:grid;gap:8px;margin-top:12px}
.blockedRow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;
  border:1px solid #8c96c33b;border-radius:11px;background:#1c2346;font-weight:600}
.authlegal{margin-top:14px;font-size:11.5px;line-height:1.5;text-align:center;color:#6b7080}
.authlegal a{color:inherit;text-decoration:underline}
/* Settings: real rows only */
.settingsHead{margin:18px 0 6px;color:#b8a0ee;font:600 10px/1.5 'Work Sans',sans-serif;letter-spacing:.18em;text-transform:uppercase}
.sheet[data-variant="profile-settings"] h3{margin-bottom:4px}
.sheet[data-variant="profile-settings"] .settingsRows{max-height:none;margin:0 -19px}
a.settingsRow{text-decoration:none;color:inherit}
.settingsHint{display:inline-flex;align-items:center;gap:10px;color:#9aa1c8;font-weight:500;font-size:12px;
  max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.settingsHint i{font-style:normal;font-size:16px;color:#c9b0ff}
/* the game-server picker (js/22-servers.js): the name with the hero's power beside it, the hero under it */
.serverInfo{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left}
.serverHead{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:9px;min-width:0}
.serverHead b{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.serverPower{font-style:normal;font-size:12px;font-weight:700;color:#c9b0ff;white-space:nowrap}
.serverHero{display:flex;min-width:0;overflow:hidden;font-size:12px;font-weight:500;color:#9aa1c8;white-space:nowrap}
.serverHeroName{min-width:5ch;overflow:hidden;text-overflow:ellipsis}.serverHeroRest{flex:none;padding-left:.4em}
.serverRow>.settingsHint{flex:none;margin-left:10px}
.serverMeta{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}
.serverPlayers{font-size:12px;font-weight:500;color:#c7cce3;white-space:nowrap}.serverPlayers b{font-weight:800;color:#fff}
.serverNow{font-size:11px;font-weight:600;color:#9aa1c8}
.serverRow.on .serverHead b{color:#fff}
.settingsAction.danger span:first-child{color:#f09a86}
/* purchase confirmation */
.audioSettings{display:grid;gap:8px}
.audioControl{padding:12px 14px;border:1px solid #8c96c33b;border-radius:12px;background:#1c2346}
.audioControlHeading,.audioVolume{display:flex;align-items:center;justify-content:space-between;gap:14px}
.audioControlHeading label{font-weight:600;color:#e7e9ff;font-size:14px}
.audioControlHeading button{min-height:44px;min-width:64px;border:1px solid #8c96c34d;border-radius:9px;background:#121a35;color:#aeb5d7;font:600 13px 'Work Sans',sans-serif;cursor:pointer}
.audioControlHeading button[aria-checked="true"]{background:#3a335d;border-color:#b69cd4;color:#edddff}
.audioVolume{margin-top:5px}
.audioVolume input{min-width:0;flex:1;height:32px;accent-color:#c9b0ff;cursor:pointer}
.audioVolume output{min-width:38px;text-align:right;color:#c3c8e6;font-size:12px;font-variant-numeric:tabular-nums}
.audioControl :focus-visible{outline:2px solid #f2ce86;outline-offset:3px}
.audioHint{margin-top:8px;line-height:1.5}
.buyPrice{text-align:center;font:700 30px/1.2 'Work Sans',sans-serif;margin:4px 0 8px}
.buyConsent{display:flex;gap:10px;align-items:flex-start;margin:14px 0;padding:12px;border:1px solid #8c96c33b;border-radius:12px;
  font-size:12.5px;line-height:1.5;color:#c3c8e6;cursor:pointer}
.buyConsent input{width:20px;height:20px;flex:none;margin-top:1px;accent-color:#7b5ce0}
.buyConsent a{color:#c9b0ff}

/* Profile and Auto Forge use the same dark sheet components as destinations. */
.sheet[data-variant="profile"] .profileActions{margin:18px 0 14px;max-width:none}
.sheet[data-variant="profile"] .profileActions::before{content:none}
.sheet[data-variant="profile"] .profileActions button{min-height:44px;border:1px solid #b69cd43b;border-radius:10px;background:#343d72;color:#e3def9;box-shadow:0 3px #151c3d;text-shadow:none;font:600 12px 'Work Sans',sans-serif}
.sheet[data-variant="profile"] .profileTabs,.sheet[data-variant="profile-settings"] .profileTabs{position:static;gap:5px;margin:22px 0 0;padding:5px;border:1px solid #8c96c32b;border-radius:12px;background:#0d142b}
.sheet[data-variant="profile"] .profileTabs button,.sheet[data-variant="profile-settings"] .profileTabs button{min-height:42px;border:0;border-radius:8px;background:transparent;color:#aeb5d7;box-shadow:none;font:600 13px 'Work Sans',sans-serif}
.sheet[data-variant="profile"] .profileTabs button.on,.sheet[data-variant="profile-settings"] .profileTabs button.on{background:#3a335d;color:#edddff;box-shadow:inset 0 0 0 1px #b69cd43b}
.sheet[data-variant="auto-forge"] .autoForgeIntro{margin:-3px 0 15px;line-height:1.5}
.sheet[data-variant="auto-forge"] .autoFilterToggle{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:5px 0 10px;padding:11px 12px;border:1px solid #4b5087;border-radius:11px;background:#242a56;color:#e7e9ff}
.sheet[data-variant="auto-forge"] .autoFilterToggle>span{display:flex;flex-direction:column;gap:3px}
.sheet[data-variant="auto-forge"] .autoFilterToggle b{font-size:13px}.sheet[data-variant="auto-forge"] .autoFilterToggle small{color:#a5abd2;font-size:10.5px;line-height:1.35}
.sheet[data-variant="auto-forge"] .autoFilterToggle label{display:flex;flex:none;align-items:center}
.sheet[data-variant="auto-forge"] .autoSubGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.sheet[data-variant="auto-forge"] .autoSubGrid .chkrow{min-width:0;margin:0;padding:8px}
.sheet[data-variant="auto-forge"] .autoSubGrid .chkrow span{overflow:hidden;text-overflow:ellipsis;font-size:11px}

/* Guest "save your progress" nudge (js/23-guest-nudge.js): a small card above the tab bar, never a modal. Under
   the sheet veil (60) and the tutorial (66), like the notice banner (which sits at the top, so they never meet). */
.guestNudge{position:fixed;left:50%;bottom:calc(74px + var(--safe-b,0px));z-index:58;transform:translateX(-50%);
  width:min(420px,calc(100% - 20px));box-sizing:border-box;padding:12px 14px 13px;border:2px solid #454b7b;border-radius:14px;
  background:linear-gradient(180deg,#232a52,#151831);color:#eef0ff;box-shadow:0 10px 28px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.08)}
@media (prefers-reduced-motion:no-preference){.guestNudge{animation:guestNudgeIn .22s ease-out}}
@keyframes guestNudgeIn{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
.guestNudgeTitle{display:block;font-size:15px;line-height:1.3}
.guestNudgeBody{margin:6px 0 0;font-size:13px;line-height:1.45;color:#d6dbf3}
.guestNudgeActs{display:flex;justify-content:flex-end;gap:8px;margin-top:11px}
.guestNudgeActs .btn.pri{border-color:#e8d7ff;background:#c4a6fa;color:#1c1744;box-shadow:0 3px #77629b;font-weight:600}

/* Settings > Notifications (js/24-push.js): the kinds a device can ask for, under its switch. */
.pushKinds{display:grid;gap:2px;margin-top:8px}
.pushKind{display:flex;align-items:center;gap:10px;min-height:40px;font-size:14px;color:#e7e9ff;cursor:pointer}
.pushKind input{width:20px;height:20px;accent-color:#c4a6fa;flex:none}
.hapticsTest{margin-top:10px}
