.login-screen-content-bottom .teiko-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.teiko-actions .btn { width: 100%; min-height: 48px; cursor: pointer; }
.teiko-actions .teiko-secondary { background: #292d2b; color: #e4dad1; border: 1px solid #5d7239; }
.teiko-actions .teiko-secondary:hover { background: #36402e; }
.teiko-dialog { width: min(420px, calc(100vw - 32px)); max-height: min(90vh, 720px); padding: 0; border: 1px solid #556b39; background: #1e2020; color: #e4dad1; box-shadow: 0 28px 80px #000; }
.teiko-dialog::backdrop { background: rgba(0, 0, 0, .82); }
.teiko-dialog-inner { padding: 28px; }
.teiko-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.teiko-dialog h2 { margin: 0; font: 700 28px/1.1 'Roboto Condensed', sans-serif; text-transform: uppercase; }
.teiko-dialog-close { width: 44px; height: 44px; margin: -10px -10px 0 0; border: 0; background: transparent; color: #e4dad1; font-size: 26px; cursor: pointer; }
.teiko-dialog-form { display: grid; gap: 14px; }
.teiko-dialog-form[hidden], .teiko-step[hidden] { display: none; }
.teiko-step { display: grid; gap: 14px; }
.teiko-dialog label { display: grid; gap: 6px; color: #bab1a8; font: 700 13px 'Roboto Condensed', sans-serif; text-transform: uppercase; }
.teiko-dialog input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #62635f; border-radius: 0; background: #111; color: #e4dad1; font: 16px 'Roboto Condensed', sans-serif; }
.teiko-dialog input:focus-visible, .teiko-dialog button:focus-visible, .teiko-actions button:focus-visible { outline: 2px solid #8ec62f; outline-offset: 2px; }
.teiko-dialog-submit { min-height: 46px; border: 0; background: #8ec62f; color: #111; font: 700 15px 'Roboto Condensed', sans-serif; text-transform: uppercase; cursor: pointer; }
.teiko-dialog-submit:hover { background: #a4d94c; }
.teiko-dialog-back { min-height: 44px; border: 1px solid #62635f; background: transparent; color: #e4dad1; cursor: pointer; }
.teiko-dialog-note { margin: 0; color: #bab1a8; font: 14px/1.5 'Roboto Condensed', sans-serif; }
.teiko-dialog-status { min-height: 20px; margin: 0; color: #d09b43; font: 14px/1.5 'Roboto Condensed', sans-serif; }
.teiko-register-loading { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #e4dad1; font: 600 17px 'Roboto Condensed', sans-serif; }
.teiko-register-loading[hidden] { display: none; }
.teiko-register-spinner { width: 40px; height: 40px; border: 3px solid #46553a; border-top-color: #8ec62f; border-radius: 50%; animation: teiko-spin .8s linear infinite; }
.teiko-profile { display: flex; align-items: center; gap: 12px; padding: 10px; background: #292d2b; color: #e4dad1; font: 600 16px 'Roboto Condensed', sans-serif; }
.teiko-profile[hidden] { display: none; }
.teiko-profile img { width: 48px; height: 48px; object-fit: cover; }
.teiko-waiting { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; box-sizing: border-box; text-align: center; background: #151918; color: #e4dad1; font-family: 'Roboto Condensed', sans-serif; }
.teiko-waiting[hidden], .teiko-waiting button[hidden] { display: none; }
.teiko-waiting-spinner { width: 48px; height: 48px; border: 3px solid #46553a; border-top-color: #8ec62f; border-radius: 50%; animation: teiko-spin .8s linear infinite; }
.teiko-waiting h2 { margin: 0; font-size: 30px; text-transform: uppercase; }
.teiko-waiting p { margin: 0; color: #bab1a8; font-size: 16px; line-height: 1.5; }
.teiko-waiting button { min-height: 44px; padding: 8px 18px; border: 1px solid #8ec62f; background: transparent; color: #e4dad1; cursor: pointer; }
@keyframes teiko-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .teiko-waiting-spinner, .teiko-register-spinner { animation: none; } }
@media (max-width: 460px) { .login-screen-content-bottom .teiko-actions { grid-template-columns: 1fr; } .teiko-dialog-inner { padding: 22px; } }
