/* Airport header blends into warm greige; compact neutral form, no motion or extra scripts. */
.ui-auth-page{min-height:100dvh;background:#e9e4db;padding-bottom:0}
.ui-auth-page #cs-float-btn{display:none!important}
.v3-auth{--auth-scene-height:clamp(286px,82vw,410px);max-width:520px;min-height:100dvh;margin:0 auto;padding:max(18px,env(safe-area-inset-top)) 16px 32px;overflow-wrap:anywhere;background:linear-gradient(180deg,var(--ui-auth-top-blend,#03171514 0),#03171508 180px,#dcd6cc00 calc(var(--auth-scene-height) + 8px),#dcd6ccd6 calc(var(--auth-scene-height) + 145px),#e9e4db calc(var(--auth-scene-height) + 375px)),url('/static/images/ui/auth-airport-night-v1.webp') top center/100% auto no-repeat;background-color:#061c1a}
.auth-masthead{display:flex;flex-direction:column;justify-content:space-between;min-height:var(--auth-scene-height);padding:0 4px 24px;color:#fffdf9}
.auth-routebar{display:flex;align-items:center;justify-content:space-between;gap:13px;min-height:44px;margin-bottom:28px}.auth-routebar>.ui-brand{flex:1;min-width:0}.auth-routebar .ui-brand-mark{width:32px;height:35px;font-size:38px}.auth-routebar .ui-brand-name{font-size:23px}.auth-routebar .ui-brand-mark{color:#fffdf9}.auth-routebar .ui-brand-mark::after{background:#d7dfd9}.auth-routebar .ui-brand-caption{color:#d7dfd9}
.auth-masthead .v3-panel-heading{text-align:left;margin:0}.auth-masthead .v3-panel-heading h1{font-size:32px;line-height:1.2;letter-spacing:-.8px;font-weight:650;margin:0 0 10px;text-shadow:0 2px 12px #0008}.auth-masthead .v3-panel-heading p{max-width:300px;font-size:13px;line-height:1.6;color:#d5dfda;margin:0;text-shadow:0 1px 8px #0008}
.v3-auth-panel{margin-inline:6px;padding:20px;border:1px solid #d7cfc3;border-radius:18px;background:#ece8e1;box-shadow:0 10px 28px #5a4a381c}
.v3-panel-heading{margin:0 0 22px}.v3-panel-heading h1{font-size:30px;line-height:1.25;letter-spacing:-.8px;margin:0 0 9px}.v3-panel-heading p{font-size:13px;color:var(--ui-muted);margin:0;line-height:1.6}
#login-form,.v3-sms-panel>#sms-login-form,.v3-registration-form{padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.v3-form,.v3-registration-form{display:grid;gap:12px;min-width:0}.v3-form label,.v3-registration-form label{display:block;margin:6px 0 0;color:var(--ui-ink);font-size:12px;font-weight:600}
.v3-input{display:flex;align-items:center;gap:10px;min-width:0;min-height:52px;padding:0 12px;border:1px solid #e2dacf;border-radius:13px;background:#f3efe8;transition:border-color .1s,box-shadow .1s}
.v3-input:focus-within{border-color:#776b5e;box-shadow:0 0 0 3px #514c4512}.v3-input.is-invalid{border-color:#a33a36}
.auth-phone-prefix{flex:none;padding-right:8px;border-right:1px solid #d4cdc2;color:#625b53;font-size:14px;font-weight:600;line-height:1}
.v3-input svg{flex:none;width:19px;height:19px;fill:none;stroke:#857b70;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.v3-input input{width:100%;min-width:0;min-height:48px;padding:12px 0;border:0;outline:0;background:transparent;box-shadow:none;font:inherit;font-size:16px;color:var(--ui-ink)}
#invite-code-shell{background:#e7e3dc}#invite_code[readonly]{color:#8a837a;cursor:default}
.v3-input input::placeholder{color:#9a938c;font-size:13px}.v3-form-grid{display:grid;gap:12px}.v3-field{min-width:0}.v3-field label{margin:0 0 8px}
.v3-phone-row{display:flex;gap:9px;align-items:stretch}.v3-phone-row>.v3-select{flex:0 0 90px;width:90px;min-width:0}.v3-phone-row>.v3-input{flex:1;min-width:0}.v3-phone-row>.v3-select[hidden]{display:none!important}
.v3-select select{width:100%;height:50px;padding:8px;border:1px solid var(--ui-line);border-radius:10px;background:#fff;color:var(--ui-ink);font:inherit;font-size:13px}
.v3-code-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,105px);gap:9px}.v3-code-action{min-height:50px;padding:8px;border:1px solid var(--ui-line);border-radius:10px;background:#eee9e2;color:var(--ui-ink);font:inherit;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.v3-primary-action{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:52px;margin-top:12px;padding:12px 16px;border:1px solid #4e4943;border-radius:13px;background:linear-gradient(135deg,#373431,#5b5752);box-shadow:inset 0 1px #ffffff26;color:#fff;font:inherit;font-size:15px;font-weight:650;cursor:pointer;transition:transform .1s,opacity .1s}
.v3-primary-action:active{transform:translateY(1px)}.v3-primary-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}.v3-primary-action[disabled],.v3-code-action[disabled]{opacity:.5;cursor:wait}
.v3-form-error{margin:4px 0;padding:10px 12px;border:1px solid #eccbc5;border-radius:10px;background:#fff3ef;color:#933b32;font-size:13px;line-height:1.5}.v3-form-error[hidden]{display:none}
.candy-forgot-row{text-align:right}.v3-inline-action,.v3-text-link{border:0;background:transparent;color:var(--ui-ink);font:inherit;font-size:13px;text-underline-offset:4px;min-height:44px}
.v3-inline-action{padding:5px 0;cursor:pointer;min-width:44px}.v3-text-link{display:flex;align-items:center;justify-content:center;margin-top:12px;padding:7px 0;text-align:center;text-decoration:underline;text-decoration-color:#b3a898}
.v3-auth-shortcuts{margin-top:14px;padding:0}.v3-auth-shortcuts a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:7px 0;color:var(--ui-ink);font-size:13px;text-decoration:underline;text-decoration-color:#b3a898;text-underline-offset:4px}.v3-auth-shortcuts small{display:none}.v3-shortcut-icon{display:none}
.v3-form-section{min-width:0}.v3-form-section+ .v3-form-section{padding-top:4px;margin-top:0}
.v3-form-section>header:not([hidden]){display:flex;align-items:center;gap:9px;margin-bottom:14px}.v3-form-section>header>span{font-size:10px;color:var(--ui-muted);padding:4px 6px;background:var(--ui-soft);border-radius:5px}.v3-form-section>header>strong{font-size:13px;font-weight:600}
.auth-country-status{padding:8px 0;font-size:12px;color:#933b32}.auth-country-status button{margin-left:8px;min-height:44px;min-width:44px;border:0;background:transparent;text-decoration:underline;color:inherit}.auth-country-status[hidden]{display:none}
.v3-sheet{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:16px}.v3-sheet[hidden]{display:none}.v3-sheet-backdrop{position:absolute;inset:0;border:0;background:#25221e66}
.v3-sheet-panel{position:relative;z-index:1;width:100%;max-width:440px;max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;padding:22px;background:var(--ui-paper);border:1px solid var(--ui-line);border-radius:18px;animation:ui-auth-enter .14s ease-out}
.v3-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.v3-sheet-heading h2{font-size:22px;margin:0;line-height:1.3}.v3-sheet-close{width:44px;height:44px;flex:none;padding:0;border:1px solid var(--ui-line);border-radius:12px;background:#f3eee7;color:var(--ui-ink);font-size:26px}.v3-sheet-open{overflow:hidden}
.button-loader{display:none}.is-loading .button-loader{display:block;width:15px;height:15px;border:2px solid #ffffff50;border-top-color:#fff;border-radius:50%;animation:ui-auth-spin .7s linear infinite}
#registration-check{width:100%;min-width:0;margin:8px 0}#registration-check[hidden],#registration-check-retry[hidden]{display:none!important}#registration-check-widget{width:100%;max-width:100%;min-width:0;min-height:65px;margin-inline:auto;overflow:hidden;line-height:0}#registration-check-status{margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--ui-muted);text-align:center;overflow-wrap:anywhere}#registration-check-status:empty{display:none}#registration-check-retry{display:block;min-height:44px;margin:8px auto 0;padding:8px 16px;border:1px solid var(--ui-line);border-radius:9px;background:#eee9e2;color:var(--ui-ink);font:inherit;font-size:13px;cursor:pointer}
@keyframes ui-auth-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes ui-auth-spin{to{transform:rotate(360deg)}}
@media(min-width:600px){.v3-auth{margin:20px auto}}
@media(max-width:350px){.v3-auth{padding-inline:12px}.v3-auth-panel{padding:18px}.auth-masthead .v3-panel-heading h1{font-size:29px}.v3-panel-heading h1{font-size:27px}.v3-sheet-panel{padding:17px}.v3-phone-row>.v3-select{flex-basis:76px;width:76px}.v3-code-row{grid-template-columns:minmax(0,1fr) 82px}.v3-input{padding:0 9px;gap:6px}}
@media(prefers-reduced-motion:reduce){.v3-sheet-panel{animation:none}.v3-primary-action{transition:none}.is-loading .button-loader{animation:none}}
