/* Account entry: shared by login, registration and recovery. */
.settings-desktop-connector{padding-top:14px;margin-top:16px;border-top:1px solid #33423c}
.settings-desktop-connector h3{margin:0 0 6px;font-size:15px}
.settings-desktop-connector p{margin:0 0 10px;color:#a6b7b6;font-size:13px}
.settings-connector-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.settings-connector-actions input{min-width:0;width:160px;height:35px;padding:0 9px;border:1px solid #40554a;border-radius:7px;background:#101719;color:inherit;font-family:monospace}
.settings-connector-error{margin-top:7px;color:#f1a4a4;font-size:13px}
.auth-refined{grid-template-columns:1fr 1fr}
.auth-refined .auth-story{padding:48px 56px;background:#18251e}
.auth-refined .auth-story:before{background:radial-gradient(ellipse at 10% 90%,#65875038,transparent 68%)}
.auth-refined .brand{font-size:26px}
.auth-refined .story-copy{margin-top:clamp(90px,15vh,150px)}
.auth-refined .story-copy h1{font-size:clamp(44px,4.1vw,64px);font-weight:550;line-height:1.4;letter-spacing:-1.5px;margin:0}
.auth-refined .story-copy p{font-size:15px;margin-top:25px;color:#a8b9aa}
.auth-refined .story-pills{margin-top:38px;gap:25px;color:#a6baa7}
.auth-art{position:absolute;bottom:100px;left:24px;right:50px;height:155px;opacity:.24;pointer-events:none}
.auth-refined .auth-foot{font-size:10px;letter-spacing:1.7px;color:#718972}
.auth-refined .auth-form{padding:32px 50px;background:#0f1519}
.auth-refined .auth-top{font-size:11px;color:#708087}
.auth-refined .auth-box{max-width:390px;padding:35px 0}
.auth-refined .auth-box h2{font-size:30px;line-height:1.35;margin:0;letter-spacing:0;font-weight:600}
.auth-refined .auth-box>p{margin-top:11px;font-size:13px;line-height:1.7;color:#84959b;overflow-wrap:anywhere}
.auth-refined .auth-tabs{margin:27px 0 25px;border:1px solid #29363b;padding:4px;border-radius:10px;gap:4px;background:#141d22}
.auth-refined .auth-tabs>button{flex:1;border-radius:7px;padding:8px 15px;font-size:13px;color:#8b9ba0}
.auth-refined .auth-tabs>button.active{background:#2b3831;color:#d9edce;font-weight:600;box-shadow:0 2px 5px #0002}
.auth-refined .auth-tabs>button.active:after{display:none}
.auth-refined .auth-back{margin:22px 0}
.auth-refined .auth-field{margin-bottom:19px}
.auth-refined .auth-field>label{display:block;margin:0 0 8px;font-size:12px;color:#b5c2c6;line-height:1.5}
.auth-refined .auth-field input{height:48px;padding:12px 14px;margin:0;background:#151f24;border:1px solid #2d3b41;border-radius:9px;font-size:14px}
.auth-refined .auth-field input:focus{border-color:#99b788}
.auth-refined .auth-field input::placeholder{color:#607179;font-size:12px}
.password-control{position:relative}
.auth-refined .password-control input{padding-right:52px}
.password-control input::-ms-reveal{display:none}
.password-toggle{position:absolute;right:4px;top:4px;height:40px;width:40px;display:grid;place-items:center;border-radius:7px;color:#83969a}
.password-toggle:hover{color:#d5e5ce;background:#24312d}
.password-toggle .icon{width:19px;height:19px}
.password-quality{display:flex;align-items:center;gap:10px;margin-top:8px;color:#8b9d9e;min-height:12px}
.password-quality[hidden]{display:none}
.password-quality>strong{font-size:12px;font-weight:500;color:#de9c91;min-width:24px;text-align:right}
.strength-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;flex:1}
.strength-bars i{height:3px;background:#2b393e;border-radius:3px}
.strength-bars i.filled{background:#d58c7d}
.password-quality[data-score="2"] .filled{background:#c6b477}
.password-quality[data-score="2"] strong{color:#c6b477}
.password-quality[data-score="3"] .filled,.password-quality[data-score="4"] .filled{background:#a3c993}
.password-quality[data-score="3"] strong,.password-quality[data-score="4"] strong{color:#a3c993}
.field-feedback:empty{display:none}
.field-feedback{margin-top:7px;font-size:11px;line-height:1.7;color:#899a9e}
.field-feedback[data-state="taken"],.field-feedback[data-state="invalid"]{color:#e3a4a0}
.field-feedback[data-state="valid"],.field-feedback[data-state="available"]{color:#a7c69a}
.field-feedback[data-state="available"]{display:none}
.field-feedback button{padding:0;margin-left:13px;font-size:11px;color:#c6deb8}
.field-feedback button:hover{text-decoration:underline}
.auth-refined .auth-field input[aria-invalid="true"]{border-color:#895f5c}
.auth-refined .forgot-row{margin:-6px 0 21px}
.auth-consent{display:flex;align-items:flex-start;gap:9px;margin:4px 0 22px;color:#87989c;font-size:12px;line-height:1.95}
.auth-consent>input{flex:0 0 15px;width:15px;height:15px;margin:5px 0 0;padding:0;accent-color:#c8e9aa;cursor:pointer}
.auth-refined .auth-consent label{display:inline;margin:0;color:inherit;font-size:inherit;cursor:pointer}
.auth-consent button{display:inline;padding:0;color:#bdcdb4;font-size:inherit;line-height:inherit}
.auth-consent button:hover{text-decoration:underline;color:#e1f4d3}
.auth-refined .auth-submit{height:48px;justify-content:center;font-size:14px;border-radius:9px;letter-spacing:1px}
.auth-refined .auth-submit:disabled{opacity:.38;transform:none}
.auth-refined .auth-note{font-size:12px;line-height:1.8;color:#a2b995;margin:0 0 15px}
.auth-refined .auth-box .error:not(:empty){padding:0 0 16px;line-height:1.7}
.auth-refined .verification-input{margin:0;gap:14px}
.auth-refined .verification-input input{font-size:21px;letter-spacing:6px}
.auth-refined .verification-input .text-button{font-size:12px;min-width:80px;justify-content:center}
.auth-service-status{display:none;color:#cfaa82;font-size:12px;margin-top:14px;line-height:1.8}
.auth-service-status.visible{display:block}
.auth-guest{display:flex;align-items:center;justify-content:center;gap:8px;margin:23px auto 0;padding:8px 16px;color:#8fa59a;font-size:12px}
.auth-guest:hover{color:#d5e6ca}
.auth-guest .icon{width:14px;height:14px}
.auth-refined .auth-legal{margin-top:auto;gap:9px;font-size:11px;color:#596d74}
.auth-legal>div{display:flex;gap:15px;justify-content:center;align-items:center;color:#71858c}
.auth-legal button{padding:2px 0;font-size:11px;color:inherit}
.auth-legal button:hover{color:#bbcfb2}
.policy-dialog{width:min(680px,calc(100vw - 60px));max-height:min(720px,85vh);padding:0;border:1px solid #3c4c4b;border-radius:15px;background:#141e23;color:#d6e0dc;box-shadow:0 30px 100px #0007;overflow:hidden}
.policy-dialog[open]{display:flex;flex-direction:column}
.policy-dialog::backdrop{background:#050b0ed9}
.policy-dialog header{padding:25px 28px 22px;border-bottom:1px solid #2a393d;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-shrink:0}
.policy-dialog h2{font-size:22px;font-weight:600}
.policy-dialog header p{margin-top:8px;font-size:11px;color:#8c9da0}
.policy-dialog article{padding:7px 28px 24px;overflow:auto;overscroll-behavior:contain;outline:none}
.policy-dialog article section{margin-top:22px}
.policy-dialog article h3{font-size:14px;color:#cfdfc6;margin-bottom:8px}
.policy-dialog article p{font-size:13px;line-height:1.95;color:#a4b4b7}
.policy-dialog footer{padding:17px 28px;border-top:1px solid #2a393d;display:flex;justify-content:flex-end;flex-shrink:0}
@media(max-width:1200px){.auth-refined .auth-story{padding:38px}.auth-refined .auth-form{padding:28px 38px}.auth-refined .story-pills{gap:16px}.auth-refined .auth-box{padding:25px 0}.auth-art{right:30px}}
@media(max-height:800px){.auth-refined .auth-box{padding:22px 0}.auth-refined .auth-field{margin-bottom:15px}.auth-refined .auth-tabs{margin:22px 0}.auth-refined .auth-consent{margin-bottom:18px}.auth-refined .auth-guest{margin-top:16px}.auth-refined .story-copy{margin-top:75px}}
@media(max-height:800px){.auth-refined .auth-form{padding-top:22px;padding-bottom:22px}.auth-refined .auth-box{padding:14px 0}.auth-refined .auth-field{margin-bottom:12px}.auth-refined .auth-tabs{margin:18px 0}}
@media(max-width:760px){.auth-refined{display:block}.auth-refined .auth-story{display:none}.auth-refined .auth-form{padding:24px;min-height:100vh}.auth-refined .auth-box{padding:40px 0;margin:auto}}
.auth-refined .auth-top{justify-content:flex-end}
.auth-top .language-picker{width:auto;min-width:116px;max-width:150px;display:inline-block;margin:0;padding:8px 12px;font-size:12px}
html[lang="en"] .auth-submit{letter-spacing:0}
.auth-login-options{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:-3px 0 22px}
.remember-options{display:flex;align-items:center;gap:14px}
.auth-refined .remember-options label{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;color:#a6b7b6;white-space:nowrap;cursor:pointer}
.auth-refined .remember-options input{width:14px;height:14px;margin:0;padding:0;accent-color:#c8e9aa;cursor:pointer}
.remember-options label:has(input:disabled){opacity:.5;cursor:default}
.auth-login-options .text-button{font-size:12px;white-space:nowrap}

/* Selected horizon cover: artwork is one local asset; all controls stay native DOM. */
.auth.auth-horizon{height:100vh;height:100dvh;min-height:0;grid-template-columns:minmax(0,1fr) minmax(350px,36%);background:#0c1014 url('assets/auth-horizon.webp') center/cover no-repeat;overflow:hidden}
.auth-horizon .auth-story{min-height:0;padding:34px 40px;background:none;display:block}
.auth-horizon .auth-story:before{display:none}
.auth-horizon .brand{font-size:26px;white-space:nowrap}
.brand-lockup{display:block;width:142px;height:auto;max-width:100%;flex:none}
.brand-lockup-light,:root[data-theme="light"] .brand-lockup-dark{display:none}
:root[data-theme="light"] .brand-lockup-light,:root[data-theme="light"] .auth-story .brand-lockup-dark{display:block}
:root[data-theme="light"] .auth-story .brand-lockup-light{display:none}
.auth-horizon .brand-lockup{width:182px}
.auth-compact-brand{display:none}
.settings-about .brand-lockup{width:156px}
.auth-horizon .auth-form{min-height:0;height:100%;padding:24px 32px 42px 8px;background:none;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
.auth-horizon .auth-top{min-height:30px;gap:16px;flex-shrink:0}
.auth-horizon .auth-top .language-picker{min-width:112px;max-width:132px;height:30px;padding:5px 10px;font-size:12px;background:#0d1419;border-color:#303b41}
.auth-settings-trigger{height:30px;width:30px;padding:4px;border-radius:7px;display:inline-grid;place-items:center;flex-shrink:0}
.auth-settings-trigger img{filter:invert(1);opacity:.84}
.auth-settings-trigger:hover{background:#ffffff0c}
.auth-settings-trigger:hover img{opacity:1}
.header-account-menu img.icon{filter:invert(1);opacity:.76}
.auth-horizon .auth-box{max-width:360px;padding:0;margin:42px 0 0;flex-shrink:0}
.auth-horizon .auth-box h2{font-size:28px;line-height:1.25;margin:0;font-weight:600;letter-spacing:0}
.auth-horizon .auth-tabs{height:36px;margin:20px 0 14px;padding:3px;border-radius:8px;background:#10171c;border-color:#303a40;gap:3px}
.auth-horizon .auth-tabs>button{padding:4px 12px;font-size:13px;border-radius:5px}
.auth-horizon .auth-tabs>button.active{background:#2a382f;box-shadow:none}
.auth-horizon .auth-field{margin-bottom:8px}
.auth-horizon .auth-field>label{font-size:13px;line-height:18px;margin-bottom:6px;color:#e0e6e3}
.auth-horizon .auth-field input{height:38px;font-size:14px;padding:8px 12px;background:#10181dbd;border-color:#354147;border-radius:8px}
.auth-horizon .password-control input{padding-right:40px}
.auth-horizon .password-toggle{top:2px;right:2px;height:34px;width:36px}
.auth-horizon .password-toggle .icon{width:18px;height:18px}
.auth-horizon .auth-login-options{margin:8px 0 20px;gap:10px;min-height:18px}
.auth-horizon .remember-options{gap:12px}
.auth-horizon .remember-options label,.auth-horizon .auth-login-options .text-button{font-size:12px}
.auth-horizon .remember-options input{width:13px;height:13px}
html[lang="en"] .auth-horizon .auth-login-options{flex-wrap:wrap;row-gap:10px}
html[lang="en"] .auth-horizon .auth-login-options>.text-button{margin-left:auto}
.auth-horizon .auth-submit{height:40px;border-radius:7px;font-size:14px;letter-spacing:0}
.auth-horizon .auth-note:empty{display:none}
.auth-horizon .auth-box .error:empty{display:none}
.auth-horizon .auth-legal{margin-top:auto;padding-top:30px;flex-shrink:0}
.auth-horizon .auth-legal button{font-size:11px}
.auth-horizon .auth-consent{margin:16px 0;font-size:11px;line-height:1.8}
.auth-horizon .auth-consent>input{margin-top:3px;width:13px;height:13px;flex-basis:13px}
.auth-social[hidden]{display:none}
.auth-social-divider{display:flex;align-items:center;gap:18px;color:#d9e2dc;font-size:12px;margin:20px 0 16px}
.auth-social-divider:before,.auth-social-divider:after{content:'';height:1px;flex:1;background:#566169}
.auth-google-button{width:100%;height:40px;border:1px solid #8e918f;border-radius:7px;background:#131314;color:#e3e3e3;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:500}
.auth-google-button:hover{background:#202223}
.auth-google-button:disabled{opacity:.45;cursor:wait}
.auth-google-button img{flex-shrink:0;object-fit:contain}
.app-settings-dialog,.auth-google-dialog{color:#edf0ed;background:#11181c;border:1px solid #3a454a;border-radius:14px;box-shadow:0 24px 100px #0009;padding:0;max-height:calc(100dvh - 48px);overflow:auto}
.app-settings-dialog{width:min(620px,calc(100vw - 48px))}
.app-settings-dialog::backdrop,.auth-google-dialog::backdrop{background:#03070bc4}
.app-settings-dialog>header,.auth-google-dialog>header{height:65px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #2b363b}
.app-settings-dialog h2,.auth-google-dialog h2{margin:0;font-size:18px;font-weight:600}
.settings-layout{display:grid;grid-template-columns:132px minmax(0,1fr);min-height:264px}
.settings-layout>nav{padding:16px 10px;border-right:1px solid #2b363b;display:flex;flex-direction:column;gap:6px}
.settings-layout>nav>button{padding:11px 14px;text-align:left;border-radius:7px;font-size:13px;color:#a3b3b9}
.settings-layout>nav>button.active{background:#29362c;color:#d5edc3}
.settings-layout>nav>button:hover{color:#eff5eb}
.settings-content{padding:8px 24px 22px}
.settings-row{min-height:66px;display:flex;align-items:center;gap:14px;border-bottom:1px solid #263238;font-size:13px}
.settings-row>label:first-child,.settings-row>span:first-child{margin-right:auto}
.settings-row select{width:140px;padding:8px 12px;font-size:12px;background:#0d1419}
.settings-row input[type=checkbox]{width:16px;height:16px;accent-color:#c8e9aa}
.settings-row>.icon-button{height:28px;width:28px}
.auth-connection-value{display:flex;align-items:center;gap:10px;font-size:12px;color:#e5b970;white-space:nowrap}
.auth-connection-value.online{color:#83d6b7}
.auth-connection-value.offline{color:#ef9a98}
.auth-connection-value b{font-weight:500;font-variant-numeric:tabular-nums;color:#d4dfdf}
.auth-connection-value small{font-size:10px;margin-left:3px;color:#97a7ae}
.auth-connection-value .action-spinner{width:12px;height:12px}
.settings-about{min-height:225px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px}
.settings-about .brand{margin:0;font-size:24px}
.settings-version{color:#9eafb5;font-size:13px;font-variant-numeric:tabular-nums}
.settings-about-links{display:flex;gap:20px;margin-top:10px}
.settings-about-links button{font-size:12px}
.auth-google-dialog{width:min(420px,calc(100vw - 48px))}
.google-dialog-body{padding:26px 26px 24px;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.google-dialog-body h3{font-size:18px;font-weight:550;margin:0}
.google-identity{font-size:14px;overflow-wrap:anywhere;max-width:100%;margin:0;color:#c3d2d6}
.google-consent{display:flex;align-items:flex-start;gap:9px;text-align:left;font-size:12px;color:#b4c5c8;line-height:1.9}
.google-consent input{width:14px;height:14px;flex-shrink:0;margin:5px 0 0;accent-color:#c8e9aa}
.google-consent .text-button{display:inline;padding:0;font-size:inherit}
.google-progress{display:flex;flex-direction:column;align-items:center;gap:12px;padding:10px 0;color:#b4c5c8;font-size:13px}
.google-progress .action-spinner{height:24px;width:24px}
.google-progress p,.google-dialog-error{margin:0;line-height:1.8}
.google-dialog-error{font-size:13px;color:#e9a4a0}
.auth-google-dialog>footer{padding:0 26px 24px;display:flex;justify-content:flex-end;gap:10px}
.auth-google-dialog>footer .button{min-height:36px}
.reduce-motion *, .reduce-motion *:before,.reduce-motion *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
@media(max-width:760px){.auth.auth-horizon{display:block;background-position:25% center}.auth-horizon .auth-story{display:none}.auth-horizon .auth-form{padding:24px;max-width:430px;margin-left:auto;background:#0c1217e8}.auth-horizon .auth-box{margin-top:42px;max-width:none}.settings-layout{grid-template-columns:100px minmax(0,1fr)}.settings-content{padding:8px 16px 18px}}
@media(max-width:760px){.auth-horizon .auth-top{gap:8px}.auth-compact-brand{display:block;margin-right:auto;min-width:0}.auth-compact-brand .brand-lockup{width:112px}}
@media(max-height:620px){.auth-horizon .auth-box{margin-top:20px}.auth-horizon .auth-tabs{margin:16px 0}.auth-horizon .auth-legal{padding-top:24px}}
