SHA256
972 lines
20 KiB
CSS
972 lines
20 KiB
CSS
/* Start/login/registration pre-auth flow styles. */
|
|
|
|
.auth-screen {
|
|
min-height: calc(100dvh - 48px - env(safe-area-inset-bottom));
|
|
display: grid;
|
|
align-content: center;
|
|
justify-items: center;
|
|
gap: 18px;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
.initial-splash {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 10000;
|
|
display: grid;
|
|
align-content: center;
|
|
justify-items: center;
|
|
gap: clamp(12px, 2.4vh, 20px);
|
|
padding: 24px;
|
|
overflow: hidden;
|
|
background:
|
|
radial-gradient(circle at 50% 18%, rgba(224, 172, 75, 0.08), transparent 26%),
|
|
radial-gradient(circle at 50% 67%, rgba(45, 81, 143, 0.06), transparent 38%),
|
|
linear-gradient(180deg, #040816 0%, #020611 54%, #01040c 100%);
|
|
font-family: "Manrope", "Inter", "SF Pro Display", system-ui, sans-serif;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transition: opacity 520ms ease, visibility 520ms ease;
|
|
}
|
|
|
|
|
|
.initial-splash.is-leaving {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
|
|
.initial-splash__logo-wrap {
|
|
position: relative;
|
|
isolation: isolate;
|
|
width: clamp(156px, 42vw, 208px);
|
|
aspect-ratio: 1;
|
|
}
|
|
|
|
|
|
.initial-splash__logo-wrap::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 16%;
|
|
z-index: -1;
|
|
border-radius: 50%;
|
|
background: rgba(214, 155, 56, 0.2);
|
|
filter: blur(30px);
|
|
animation: shine-halo-breathe 4.8s ease-in-out infinite;
|
|
}
|
|
|
|
|
|
.initial-splash__logo {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
filter:
|
|
drop-shadow(0 0 8px rgba(255, 211, 121, 0.72))
|
|
drop-shadow(0 8px 22px rgba(225, 158, 48, 0.38));
|
|
animation: shine-logo-breathe 4.8s ease-in-out infinite;
|
|
}
|
|
|
|
|
|
.initial-splash__brand {
|
|
margin-top: -2px;
|
|
color: #f4ebdd;
|
|
font-size: clamp(34px, 7vw, 46px);
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
text-shadow: 0 3px 22px rgba(210, 168, 90, 0.2);
|
|
}
|
|
|
|
|
|
.auth-screen--welcome {
|
|
position: relative;
|
|
isolation: isolate;
|
|
align-content: center;
|
|
justify-items: center;
|
|
gap: clamp(12px, 2.4vh, 20px);
|
|
padding-block: 8px;
|
|
font-family: "Manrope", "Inter", "SF Pro Display", system-ui, sans-serif;
|
|
}
|
|
|
|
|
|
.screen-content.no-app-chrome:has(> .auth-screen--welcome) {
|
|
overflow: hidden;
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
|
|
.auth-screen--welcome::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -14px -14px calc(-24px - env(safe-area-inset-bottom));
|
|
z-index: -2;
|
|
background:
|
|
radial-gradient(circle at 50% 18%, rgba(224, 172, 75, 0.08), transparent 26%),
|
|
radial-gradient(circle at 50% 67%, rgba(45, 81, 143, 0.06), transparent 38%),
|
|
linear-gradient(180deg, #040816 0%, #020611 54%, #01040c 100%);
|
|
}
|
|
|
|
|
|
.auth-screen--welcome::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.015) 50%, transparent);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
|
|
.auth-screen--lower {
|
|
align-content: start;
|
|
padding-top: clamp(80px, 18vh, 180px);
|
|
}
|
|
|
|
|
|
.auth-logo {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
filter:
|
|
drop-shadow(0 0 8px rgba(255, 211, 121, 0.72))
|
|
drop-shadow(0 8px 22px rgba(225, 158, 48, 0.38));
|
|
animation: shine-logo-breathe 4.8s ease-in-out infinite;
|
|
}
|
|
|
|
|
|
.auth-logo-wrap {
|
|
position: relative;
|
|
width: clamp(232px, 59vw, 284px);
|
|
aspect-ratio: 1;
|
|
}
|
|
|
|
|
|
.auth-logo-wrap::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 16%;
|
|
z-index: -1;
|
|
border-radius: 50%;
|
|
background: rgba(214, 155, 56, 0.2);
|
|
filter: blur(30px);
|
|
animation: shine-halo-breathe 4.8s ease-in-out infinite;
|
|
}
|
|
|
|
|
|
.auth-brand {
|
|
margin: -4px 0 clamp(4px, 1vh, 10px);
|
|
color: #f4ebdd;
|
|
font-size: clamp(42px, 9vw, 56px);
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
letter-spacing: 0;
|
|
text-shadow: 0 3px 22px rgba(210, 168, 90, 0.2);
|
|
}
|
|
|
|
|
|
.auth-actions,
|
|
.auth-footer-actions {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
|
|
.auth-actions {
|
|
width: min(100%, 320px);
|
|
}
|
|
|
|
|
|
.shine-actions {
|
|
width: min(100%, 390px);
|
|
max-width: calc(100% - 48px);
|
|
gap: 12px;
|
|
}
|
|
|
|
|
|
.shine-btn {
|
|
position: relative;
|
|
isolation: isolate;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
height: 56px;
|
|
min-height: 48px;
|
|
padding: 0 24px;
|
|
border-radius: 18px;
|
|
font-family: "Manrope", "Inter", "SF Pro Display", system-ui, sans-serif;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
letter-spacing: 0;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
|
|
.shine-btn:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
|
|
|
|
.shine-local-demo-btn {
|
|
min-height: 32px;
|
|
padding: 5px 12px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: rgba(162, 180, 215, 0.68);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.shine-local-demo-btn:hover {
|
|
color: rgba(216, 226, 247, 0.9);
|
|
}
|
|
|
|
|
|
@keyframes shine-logo-breathe {
|
|
0%, 100% {
|
|
filter:
|
|
drop-shadow(0 0 8px rgba(255, 211, 121, 0.62))
|
|
drop-shadow(0 8px 22px rgba(225, 158, 48, 0.34));
|
|
}
|
|
50% {
|
|
filter:
|
|
drop-shadow(0 0 14px rgba(255, 220, 147, 0.88))
|
|
drop-shadow(0 10px 28px rgba(225, 158, 48, 0.5));
|
|
}
|
|
}
|
|
|
|
|
|
@keyframes shine-halo-breathe {
|
|
0%, 100% { opacity: 0.66; transform: scale(0.96); }
|
|
50% { opacity: 1; transform: scale(1.05); }
|
|
}
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
.shine-btn {
|
|
height: 60px;
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
|
|
|
|
@media (max-height: 760px) {
|
|
.initial-splash__logo-wrap {
|
|
width: 206px;
|
|
}
|
|
.initial-splash__brand {
|
|
font-size: 40px;
|
|
}
|
|
.auth-screen--welcome {
|
|
gap: 10px;
|
|
}
|
|
.auth-logo-wrap {
|
|
width: 206px;
|
|
}
|
|
.auth-brand {
|
|
font-size: 40px;
|
|
margin-bottom: 2px;
|
|
}
|
|
.shine-actions {
|
|
gap: 10px;
|
|
}
|
|
.shine-btn {
|
|
height: 52px;
|
|
}
|
|
}
|
|
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.initial-splash {
|
|
transition-duration: 1ms;
|
|
}
|
|
.initial-splash__logo,
|
|
.initial-splash__logo-wrap::before,
|
|
.auth-logo,
|
|
.auth-logo-wrap::before,
|
|
.shine-btn {
|
|
animation: none;
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
|
|
.login-actions-wide {
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
/* Shared visual language for every screen before a user enters the app. */
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) {
|
|
--preauth-ivory: #f4ebdd;
|
|
--preauth-muted: #b7c4de;
|
|
--preauth-line: rgba(182, 201, 235, 0.24);
|
|
--preauth-card: rgba(9, 18, 37, 0.78);
|
|
padding: 18px 16px calc(28px + env(safe-area-inset-bottom));
|
|
overflow-x: hidden;
|
|
background:
|
|
radial-gradient(circle at 50% 18%, rgba(224, 172, 75, 0.08), transparent 26%),
|
|
radial-gradient(circle at 50% 67%, rgba(45, 81, 143, 0.06), transparent 38%),
|
|
linear-gradient(180deg, #040816 0%, #020611 54%, #01040c 100%);
|
|
color: var(--preauth-ivory);
|
|
font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
overscroll-behavior: contain;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) > section.stack {
|
|
width: min(100%, 420px);
|
|
margin-inline: auto;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .topbar {
|
|
display: grid;
|
|
grid-template-columns: 42px minmax(0, 1fr) 42px;
|
|
align-items: center;
|
|
min-height: 42px;
|
|
margin-bottom: 18px;
|
|
gap: 8px;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .topbar__title {
|
|
min-width: 0;
|
|
margin: 0;
|
|
color: var(--preauth-ivory);
|
|
font-size: 20px;
|
|
font-weight: 650;
|
|
letter-spacing: 0;
|
|
line-height: 1.2;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .topbar__left,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .topbar__right {
|
|
min-width: 0;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .topbar__right {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .topbar__left .icon-btn,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .topbar__right .icon-btn {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 40px;
|
|
min-width: 40px;
|
|
height: 40px;
|
|
min-height: 40px;
|
|
padding: 0;
|
|
border-radius: 12px;
|
|
border-color: var(--preauth-line);
|
|
background: rgba(12, 23, 46, 0.72);
|
|
color: var(--preauth-ivory);
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
text-align: center;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .login-choice-screen {
|
|
align-content: start;
|
|
justify-items: stretch;
|
|
padding-top: 0;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .login-choice-screen .topbar {
|
|
margin-bottom: clamp(72px, 14vh, 132px);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .login-choice-screen .topbar__title {
|
|
display: none;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .login-choice-screen .topbar__left .icon-btn {
|
|
justify-self: start;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .card,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .login-panel {
|
|
border: 1px solid var(--preauth-line);
|
|
border-radius: 16px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 24%),
|
|
var(--preauth-card);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.075),
|
|
0 16px 34px rgba(0, 0, 0, 0.24);
|
|
backdrop-filter: blur(16px) saturate(120%);
|
|
-webkit-backdrop-filter: blur(16px) saturate(120%);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .card {
|
|
padding: 18px;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .card .card {
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .login-panel {
|
|
width: min(100%, 420px);
|
|
padding: 20px;
|
|
gap: 16px;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .login-panel-title,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-faq-title,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .modal-title {
|
|
color: var(--preauth-ivory);
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .login-panel-title {
|
|
font-size: 24px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .field-label,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .auth-copy,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .status-line,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-word-number {
|
|
color: var(--preauth-muted);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .input,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .select {
|
|
min-height: 48px;
|
|
border-color: rgba(182, 201, 235, 0.22);
|
|
border-radius: 12px;
|
|
background: rgba(4, 11, 25, 0.64);
|
|
color: var(--preauth-ivory);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .input:focus,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .select:focus {
|
|
border-color: transparent;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .auth-footer-actions {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
width: min(100%, 420px);
|
|
margin-inline: auto;
|
|
gap: 10px;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) :is(.primary-btn, .secondary-btn, .ghost-btn) {
|
|
min-height: 50px;
|
|
border-radius: 14px;
|
|
font-family: inherit;
|
|
font-weight: 600;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .link-card {
|
|
min-height: 50px;
|
|
border-radius: 14px;
|
|
color: var(--preauth-ivory);
|
|
font-family: inherit;
|
|
font-weight: 600;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .link-card {
|
|
border-color: var(--preauth-line);
|
|
background: linear-gradient(180deg, rgba(24, 43, 79, 0.84), rgba(8, 17, 35, 0.86));
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .link-card:hover {
|
|
border-color: transparent;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .preauth-local-demo-btn {
|
|
min-height: 44px;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-toggle,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .session-item {
|
|
border-color: var(--preauth-line);
|
|
background: rgba(9, 19, 38, 0.58);
|
|
color: var(--preauth-ivory);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-progress {
|
|
border-color: transparent;
|
|
background: rgba(3, 9, 21, 0.62);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-progress-bar {
|
|
background: linear-gradient(90deg, #b27c38, #f1cd80);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .camera-shell {
|
|
min-height: min(48dvh, 360px);
|
|
border-radius: 16px;
|
|
border-color: var(--preauth-line);
|
|
background: #050b18;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .camera-video {
|
|
min-height: min(48dvh, 360px);
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-screen {
|
|
gap: 12px;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-form {
|
|
gap: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-form .field-label {
|
|
font-size: 14px;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-password-single {
|
|
gap: 6px;
|
|
}
|
|
|
|
|
|
.password-length-hint {
|
|
margin: 0;
|
|
color: rgba(183, 196, 222, 0.76);
|
|
font-size: 12px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-toggle {
|
|
min-height: 48px;
|
|
padding: 10px 12px;
|
|
border-radius: 12px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
|
|
.registration-login-status {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
|
|
.registration-faq-link {
|
|
justify-self: center;
|
|
min-height: 30px;
|
|
padding: 4px 8px;
|
|
font: inherit;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 360px) {
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) {
|
|
padding-inline: 12px;
|
|
}
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .card,
|
|
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .login-panel {
|
|
padding: 16px;
|
|
}
|
|
}
|
|
|
|
|
|
.login-panel {
|
|
width: min(100%, 360px);
|
|
gap: 14px;
|
|
}
|
|
|
|
|
|
.login-panel--wide {
|
|
width: min(100%, 420px);
|
|
}
|
|
|
|
|
|
.login-panel-title {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
.auth-footer-actions {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
|
|
.auth-copy {
|
|
line-height: 1.45;
|
|
color: #d8e3ff;
|
|
}
|
|
|
|
|
|
.auth-status-card {
|
|
width: min(100%, 320px);
|
|
color: #d8e3ff;
|
|
}
|
|
|
|
|
|
.registration-finish-card {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
|
|
.registration-finish-title {
|
|
margin: 0;
|
|
font-size: clamp(1.7rem, 6vw, 2.15rem);
|
|
line-height: 1.18;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
|
|
.registration-finish-text,
|
|
.registration-finish-tx,
|
|
.registration-finish-progress {
|
|
max-width: 100%;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
|
|
.registration-finish-tx-link {
|
|
color: #9fd8ff;
|
|
text-decoration: underline;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-all;
|
|
}
|
|
|
|
|
|
.registration-finish-tx-link:hover,
|
|
.registration-finish-tx-link:focus-visible {
|
|
color: #c9ebff;
|
|
}
|
|
|
|
|
|
.registration-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 14px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(132, 162, 228, 0.22);
|
|
background: rgba(20, 31, 52, 0.72);
|
|
color: #eef3ff;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
|
|
.registration-toggle input {
|
|
width: 18px;
|
|
height: 18px;
|
|
accent-color: #d4af37;
|
|
}
|
|
|
|
|
|
.registration-words-block[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
|
|
.registration-words-block {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
|
|
.registration-words-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
|
|
.registration-word-row {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
|
|
.registration-word-number {
|
|
font-size: 12px;
|
|
color: #b2c2e6;
|
|
min-width: 18px;
|
|
text-align: right;
|
|
}
|
|
|
|
|
|
.registration-word-input {
|
|
min-height: 44px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
|
|
.registration-faq-card {
|
|
gap: 12px;
|
|
}
|
|
|
|
|
|
.registration-faq-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
|
|
.registration-faq-grid .ghost-btn,
|
|
.registration-faq-grid .secondary-btn {
|
|
min-height: 44px;
|
|
text-align: left;
|
|
}
|
|
|
|
|
|
@media (max-width: 740px) {
|
|
.registration-words-grid,
|
|
.registration-faq-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
|
|
@media (max-width: 460px) {
|
|
.registration-words-grid,
|
|
.registration-faq-grid {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
|
|
|
|
.registration-faq-hero {
|
|
gap: 12px;
|
|
}
|
|
|
|
|
|
.registration-faq-topic {
|
|
gap: 12px;
|
|
}
|
|
|
|
|
|
.registration-faq-title {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
line-height: 1.2;
|
|
color: #f6deb0;
|
|
}
|
|
|
|
|
|
.registration-password-toggle {
|
|
width: 44px;
|
|
height: 44px;
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
|
|
.registration-progress {
|
|
width: 100%;
|
|
height: 10px;
|
|
border: 1px solid rgba(180, 180, 180, 0.5);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
|
|
.registration-progress-bar {
|
|
height: 100%;
|
|
width: 0%;
|
|
background: rgba(80, 160, 255, 0.9);
|
|
transition: width 180ms linear;
|
|
}
|
|
|
|
|
|
|
|
/* Новый двухшаговый login flow */
|
|
.login-remote-server {
|
|
width: 100%;
|
|
padding: 14px;
|
|
border: 1px solid rgba(182, 201, 235, 0.18);
|
|
border-radius: 14px;
|
|
background: rgba(4, 11, 25, 0.44);
|
|
}
|
|
|
|
|
|
.login-server-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
overflow-wrap: anywhere;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
.login-device-preparation {
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
.secret-generation-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 12000;
|
|
place-items: center;
|
|
padding: 24px;
|
|
background: rgba(1, 5, 14, 0.72);
|
|
backdrop-filter: blur(14px);
|
|
-webkit-backdrop-filter: blur(14px);
|
|
}
|
|
|
|
|
|
.secret-generation-card {
|
|
width: min(100%, 290px);
|
|
place-items: center;
|
|
padding: 28px 24px;
|
|
border: 1px solid rgba(205, 220, 246, 0.18);
|
|
border-radius: 20px;
|
|
background: rgba(7, 15, 31, 0.9);
|
|
box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
.secret-generation-spinner {
|
|
width: 42px;
|
|
height: 42px;
|
|
border: 3px solid rgba(220, 232, 255, 0.18);
|
|
border-top-color: transparent;
|
|
border-radius: 50%;
|
|
animation: secret-generation-spin 0.82s linear infinite;
|
|
}
|
|
|
|
|
|
.secret-generation-title {
|
|
color: var(--preauth-ivory, #f4ebdd);
|
|
font-size: 18px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
|
|
.secret-generation-progress {
|
|
min-height: 20px;
|
|
color: var(--preauth-muted, #a8bcdf);
|
|
font-size: 13px;
|
|
}
|
|
|
|
|
|
@keyframes secret-generation-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
|
|
/* ===== Вход через другое устройство: заголовок внутри панели ===== */
|
|
.auth-screen--other-device {
|
|
justify-content: flex-start;
|
|
padding-top: max(18px, env(safe-area-inset-top));
|
|
}
|
|
|
|
|
|
.auth-screen--other-device .login-panel {
|
|
margin-top: 0;
|
|
}
|
|
|
|
|
|
.login-panel-inline-back {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 10px;
|
|
padding: 0 2px;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
text-align: left;
|
|
}
|
|
|
|
|
|
.login-panel-inline-back > span:first-child {
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
}
|
|
|
|
|
|
|
|
/* ===== UX refinements 2026-08-29 ===== */
|
|
/* Start: larger breathing room between brand and actions. */
|
|
.auth-screen--welcome .auth-brand {
|
|
margin-bottom: clamp(34px, 6vh, 58px);
|
|
}
|
|
|
|
.auth-screen--welcome .shine-actions {
|
|
margin-top: 0;
|
|
}
|
|
|
|
|
|
/* Entry settings actions use the existing Start button visual language without huge width side effects. */
|
|
.screen-content.preauth-flow .server-check-btn.shine-btn {
|
|
width: auto;
|
|
height: 44px;
|
|
min-height: 44px;
|
|
padding-inline: 18px;
|
|
border-radius: 14px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.screen-content.preauth-flow .auth-footer-actions .shine-btn {
|
|
width: 100%;
|
|
}
|