/* One fixed appearance. Startup and identity UI are component owned. */
body[data-booting="true"] .welcome-screen { visibility: hidden; }
.identity-startup { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: max(28px,env(safe-area-inset-top)) 28px max(30px,env(safe-area-inset-bottom)); overflow: hidden; color: #f5f8ff; background: radial-gradient(ellipse at 23% 13%,rgba(69,79,175,.35),transparent 45%),radial-gradient(ellipse at 87% 90%,rgba(16,93,160,.22),transparent 43%),#081124; text-align: center; font-family: inherit; }
.identity-startup::before { content: ""; position: absolute; width: min(480px,110vw); aspect-ratio: 1; border: 1px solid rgba(130,161,255,.075); border-radius: 50%; box-shadow: 0 0 0 44px rgba(130,161,255,.025),0 0 0 88px rgba(130,161,255,.018); pointer-events: none; }
.identity-startup-center { position: relative; display: grid; justify-items: center; gap: 0; max-width: 350px; }
.identity-startup-logo { display: grid; place-items: center; width: 106px; height: 106px; margin-bottom: 29px; border: 1px solid rgba(144,177,255,.28); border-radius: 30px; color: #a9ceff; background: linear-gradient(145deg,rgba(100,139,238,.23),rgba(42,54,107,.2)); box-shadow: 0 20px 65px rgba(21,69,138,.2),inset 0 1px rgba(232,242,255,.12); }
.identity-startup-logo svg { width: 75px; height: 75px; fill: none; stroke: #8fc4ff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 4.5; }
.identity-startup-logo svg circle { fill: #d2e8ff; stroke-width: 1.5; }
.identity-startup-name { margin: 0; color: #f6f8ff; font-size: clamp(30px,7vw,39px); font-weight: 750; letter-spacing: -.045em; direction: ltr; }
.identity-startup-tagline { margin: 12px 0 0; color: #aebedb; font-size: 14px; line-height: 1.8; }
.identity-startup-progress { position: absolute; bottom: max(90px,calc(env(safe-area-inset-bottom) + 76px)); width: 110px; height: 3px; overflow: hidden; border-radius: 10px; background: rgba(159,187,245,.13); }
.identity-startup-progress span { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg,#6881ee,#73bcff); animation: identity-startup-travel 1.6s ease-in-out infinite; }
.identity-startup-status { position: absolute; bottom: max(37px,calc(env(safe-area-inset-bottom) + 24px)); margin: 0; color: #91a5c8; font-size: 12px; line-height: 1.7; }
@keyframes identity-startup-travel { 0%,100% { transform: translateX(-60%); } 50% { transform: translateX(210%); } }
.identity-profile .profile-kicker,.identity-profile > .profile-inner > .section-heading-icon { display: none; }
.identity-profile .profile-heading { margin: 13px 0 0; font-size: 29px!important; line-height: 1.5; letter-spacing: -.025em; }
.identity-profile .profile-card { display: grid; grid-template-columns: minmax(0,1fr); gap: 19px; padding: 24px 21px; margin-top: 21px; border: 1px solid rgba(131,164,237,.25); border-radius: 25px; background: radial-gradient(ellipse at 10% 0%,rgba(76,126,219,.2),transparent 70%),linear-gradient(145deg,#132342,#101c34)!important; box-shadow: 0 18px 44px rgba(0,0,0,.16),inset 0 1px rgba(213,228,255,.05); }
.identity-overline { margin: 0; color: #9bbce9; font-size: 10px; font-weight: 650; line-height: 1.6; letter-spacing: .12em; }
.identity-profile[dir="rtl"] .identity-overline { letter-spacing: 0; font-size: 11px; }
.identity-hero { display: flex; align-items: center; gap: 17px; min-width: 0; }
.identity-profile .profile-avatar { display: grid; place-items: center; position: relative; width: 80px; height: 80px; border: 4px solid rgba(141,181,250,.11); outline: 1px solid rgba(154,186,244,.3); border-radius: 25px; color: #dceaff; background: linear-gradient(145deg,#2e5491,#3a3e83); box-shadow: 0 8px 22px rgba(0,0,0,.15); }
.identity-profile .profile-avatar > svg,.identity-profile .profile-avatar > i { display: none; }
.identity-profile .profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.identity-initials { font-size: 25px; font-weight: 700; letter-spacing: -.045em; text-transform: uppercase; }
.identity-profile .profile-avatar.has-photo .identity-initials { display: none; }
.identity-name-block { min-width: 0; display: grid; justify-items: start; gap: 5px; }
.identity-profile .profile-name { margin: 0; color: #f6f8ff; font-size: 23px; line-height: 1.5; font-weight: 750; overflow-wrap: anywhere; }
.identity-profile #profile-username { margin: 0; max-width: 100%; color: #afc7ed; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.identity-profile #profile-account-status { display: inline-flex; align-items: center; gap: 6px; margin: 3px 0 0; padding: 5px 9px; border: 1px solid rgba(223,176,86,.24); border-radius: 8px; color: #e5c48a; background: rgba(183,127,45,.08); font-size: 10px; line-height: 1.5; font-weight: 650; }
.identity-profile #profile-account-status::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.identity-profile #profile-account-status[data-verification="verified"] { color: #93e7b6; border-color: rgba(87,207,141,.3); background: rgba(48,154,101,.12); }
.identity-profile #profile-account-status[data-verification="guest"] { color: #a8bbdc; border-color: rgba(132,165,217,.2); background: rgba(105,132,176,.08); }
.identity-contacts { display: grid; gap: 13px; padding-top: 18px; border-top: 1px solid rgba(153,180,227,.13); }
.identity-contact-row { display: grid; gap: 4px; min-width: 0; }
.identity-contact-label { color: #8ea6cc; font-size: 11px; line-height: 1.5; }
.identity-profile .identity-contact-row .profile-detail { margin: 0; color: #dce7fa; font-size: 13px; line-height: 1.6; text-align: start; overflow-wrap: anywhere; }
.identity-profile[dir="rtl"] .identity-contact-row .profile-detail { text-align: right; }
.identity-hint { margin: 0; color: #a2b6d8; font-size: 11px; line-height: 1.8; }
.identity-profile .profile-edit,.identity-complete { min-height: 46px; width: 100%; margin: 0; padding: 11px 14px; border: 1px solid rgba(133,171,242,.25); border-radius: 13px; color: #edf4ff!important; font-family: inherit; font-size: 13px!important; line-height: 1.6; font-weight: 650; cursor: pointer; background: linear-gradient(120deg,#365fa8,#4e56a4); }
.identity-complete { color: #bcd6ff!important; background: rgba(76,123,200,.1); }
.identity-profile .profile-status { padding: 18px; margin-top: 15px; border-radius: 21px; background: rgba(11,24,45,.7); border-color: rgba(132,167,226,.18); }
.identity-profile .profile-status-head { align-items: flex-start; gap: 10px; }
.identity-profile .profile-status-head h2 { font-size: 16px!important; line-height: 1.6; }
.identity-profile .profile-status-state { max-width: 47%; text-align: end; line-height: 1.7; letter-spacing: 0; font-size: 10px; color: #d8be91; }
.identity-profile .profile-status-state[data-verification="verified"],.identity-profile .profile-status-row strong.identity-proof-verified { color: #93e7b6; }
.identity-profile .profile-status-row { gap: 12px; background: rgba(135,163,211,.055); }
.identity-profile .profile-status-row strong { text-align: end; line-height: 1.6; }
.identity-profile .identity-status-verified { border-color: rgba(87,207,141,.28); }
.identity-profile .identity-status-verified .profile-progress span { background: linear-gradient(90deg,#4aaa80,#77d49f); }
.profile-row[data-identity-removed="true"] { display: none!important; }
.identity-section-return { display: flex; align-items: center; margin-bottom: 11px; min-height: 42px; }
.identity-back { display: grid; place-items: center; width: 42px; height: 42px; min-width: 42px; padding: 0; border: 1px solid rgba(132,167,226,.18); border-radius: 13px; color: #c5d8f6; background: rgba(90,122,180,.07); cursor: pointer; }
[dir="rtl"] .identity-back svg { transform: rotate(180deg); }
.identity-back:hover { background: rgba(107,145,211,.14); }
.identity-back:focus-visible,.identity-profile .profile-avatar:focus-visible,.identity-profile .profile-edit:focus-visible,.identity-complete:focus-visible { outline: 3px solid #9bc9ff; outline-offset: 4px; }
@media (min-width: 768px) { .identity-profile .profile-card { padding: 28px; } .identity-profile .profile-avatar { width: 92px; height: 92px; } .identity-profile .profile-name { font-size: 26px; } }
@media (max-width: 350px) { .identity-profile .profile-card { padding: 19px 16px; } .identity-hero { gap: 12px; } .identity-profile .profile-avatar { width: 66px; height: 66px; border-radius: 21px; } .identity-profile .profile-name { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .identity-startup-progress span { animation: none; width: 100%; opacity: .6; } .identity-profile .profile-progress span { transition: none; } }
