body.auth-page {
    background-color: #0b1424 !important;
    background-image:
        radial-gradient(900px 480px at 0% -10%, rgba(80, 140, 255, .28), transparent 55%),
        radial-gradient(700px 420px at 100% 0%, rgba(30, 215, 96, .14), transparent 50%) !important;
    color: #eef3ff !important;
    flex-direction: column !important;
    align-items: center !important;
}
body.auth-page::before {
    background: radial-gradient(circle, rgba(30, 215, 96, .10) 0%, rgba(80, 140, 255, .16) 46%, transparent 72%) !important;
}
body.auth-page .app-container {
    background:
        radial-gradient(420px 180px at 50% 0%, rgba(30, 215, 96, .10), transparent 62%),
        #152238 !important;
    border-left-color: #3a5688 !important;
    border-right-color: #3a5688 !important;
    align-self: center !important;
    min-height: calc(100vh - 42px) !important;
}
body.dragon-auth.auth-fit .auth-screen {
    min-height: 0 !important;
    justify-content: flex-start !important;
    gap: 12px !important;
}

.cdh-tape-band {
    width: 100%;
    align-self: stretch;
    overflow: hidden;
    background: #0e1114;
    border-top: 1px solid rgba(30, 215, 96, .55);
    border-bottom: 1px solid rgba(255, 75, 110, .55);
    box-shadow: inset 0 0 0 1px rgba(58, 86, 136, .65);
}
.cdh-tape-track {
    display: flex;
    gap: 22px;
    width: max-content;
    padding: 8px 0;
    animation: cdh-ticker 70s linear infinite;
    font-family: "Roboto Mono", ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: .02em;
    color: #eef3ff;
}
.cdh-tape-wait { padding-left: 16px; color: #a9b8d6; }
.cdh-tape-item { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.cdh-tape-item .sym { color: #a9b8d6; font-weight: 700; }
.cdh-tape-item .px { color: #eef3ff; font-weight: 700; }
.cdh-tape-item .ch.up { color: #1ed760; }
.cdh-tape-item .ch.down { color: #ff4b6e; }
.cdh-tape-item .ch.flat { color: #a9b8d6; }
@keyframes cdh-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .cdh-tape-track { animation: none; }
}

.cdh-wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 8px;
    text-align: center;
}
.cdh-wordmark strong {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #eef3ff;
    line-height: 1.1;
}
.cdh-wordmark span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #1ed760;
}

body.dragon-auth .auth-heading h2 span.diamond { color: #1ed760 !important; }
body.dragon-auth .auth-heading p { color: #a9b8d6 !important; }
body.dragon-auth .auth-input-label,
body.dragon-auth button.auth-forgot-link,
body.dragon-auth .auth-forgot-link {
    background: #152238 !important;
    color: #a9b8d6 !important;
}
body.dragon-auth button.auth-forgot-link {
    color: #1ed760 !important;
    border: 0 !important;
    font-family: inherit !important;
    line-height: inherit !important;
    cursor: pointer !important;
}
body.dragon-auth .auth-input-box,
body.dragon-auth .auth-otp-box,
body.dragon-auth.auth-fit .auth-input-box,
body.dragon-auth.auth-fit .auth-otp-box {
    background: #121c30 !important;
    border-color: #3a5688 !important;
}
body.dragon-auth .auth-input-box:focus-within,
body.dragon-auth .auth-otp-box:focus-within,
body.dragon-auth.auth-fit .auth-input-box:focus-within,
body.dragon-auth.auth-fit .auth-otp-box:focus-within {
    border-color: rgba(30, 215, 96, .7) !important;
    box-shadow: 0 0 8px rgba(30, 215, 96, .18) !important;
}
body.dragon-auth .field-icon.red-icon,
body.dragon-auth .auth-country-select .dropdown-arrow,
body.dragon-auth .auth-safe svg { color: #1ed760 !important; }
body.dragon-auth .otp-input,
body.dragon-auth.auth-fit .otp-input {
    background: #0e1728 !important;
    border-color: #3a5688 !important;
}
body.dragon-auth .otp-input:focus,
body.dragon-auth.auth-fit .otp-input:focus { border-color: #1ed760 !important; }
body.dragon-auth .auth-input-box input:-webkit-autofill,
body.dragon-auth .otp-input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #121c30 inset !important;
    -webkit-text-fill-color: #eef3ff !important;
}
body.dragon-auth .auth-footer,
body.dragon-auth .auth-safe,
body.dragon-auth .auth-input-helper,
body.dragon-auth .otp-subtext { color: #a9b8d6 !important; }
body.dragon-auth .auth-footer a { color: #1ed760 !important; }
body.dragon-auth .auth-divider { color: #a9b8d6 !important; }
body.dragon-auth .auth-country-select { max-width: 128px !important; flex: 0 0 auto !important; }
body.dragon-auth .auth-country-select select {
    max-width: 112px !important;
    text-overflow: ellipsis !important;
}

body.dragon-auth .auth-btn-primary,
body.dragon-auth.auth-fit .auth-btn-primary,
body.dragon-auth .auth-btn-primary:disabled,
body.dragon-auth.auth-fit .auth-btn-primary:disabled {
    background: #089981 !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(8, 153, 129, .28) !important;
}
body.dragon-auth .otp-send-btn:not(:disabled),
body.dragon-auth.auth-fit .otp-send-btn:not(:disabled) {
    background: #089981 !important;
    color: #fff !important;
}
body.dragon-auth input[type="checkbox"] { accent-color: #089981; }

@keyframes cdhMobileGlow {
    0%, 100% { opacity: .38; box-shadow: 0 0 3px rgba(30, 215, 96, .22); border-color: rgba(30, 215, 96, .35); }
    50% { opacity: .95; box-shadow: 0 0 10px rgba(8, 153, 129, .48); border-color: rgba(30, 215, 96, .9); }
}
body.dragon-auth .dp-mobile-entry-glow::after {
    animation-name: cdhMobileGlow !important;
    border-color: rgba(30, 215, 96, .5) !important;
}

.cdh-forgot { margin-top: 8px; }
.cdh-forgot-lead { margin: 0 0 8px; color: #a9b8d6; font-size: 12px; text-align: left; }
.cdh-google { width: 100%; max-width: 340px; margin: 8px auto 0; }
.cdh-google-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #3a5688;
    background: #eef3ff;
    color: #152238;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
#google-button { display: flex; justify-content: center; }
.cdh-google-note { margin: 8px 0 0; color: #a9b8d6; font-size: 12px; line-height: 1.45; text-align: center; }
body.dragon-auth .auth-alert.error { background: rgba(255, 75, 110, .12); color: #ffd0d6; }
body.dragon-auth .auth-alert.success { background: rgba(30, 215, 96, .12); color: #d5ffef; }
