.drcg-auth-box{width:100%;max-width:480px;margin-right:auto;margin-left:auto;direction:rtl;text-align:right;font-family:inherit;box-sizing:border-box}
.drcg-auth-box *{box-sizing:border-box}.drcg-auth-box [hidden]{display:none!important}
.drcg-auth-tabs{display:flex;gap:5px;padding:5px;background:#f1edf7;border-radius:12px;flex-wrap:wrap}
.drcg-auth-tabs button{flex:1;min-height:44px;border:0;background:transparent;color:#4b3c62;font:inherit;font-size:13px;font-weight:700;white-space:nowrap;border-radius:8px;cursor:pointer;padding:8px}
.drcg-auth-tabs button[aria-pressed=true]{background:#6932a8;color:#fff}
.drcg-auth-box form{display:grid;grid-gap:14px;gap:14px;margin:0}.drcg-auth-box label{display:grid;grid-gap:6px;gap:6px;font-size:14px;font-weight:600;color:#253149}
.drcg-auth-box input:not([type=checkbox]){width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #ccd3df;border-radius:9px;background:#fff;color:#172235;font:inherit;font-size:16px;box-sizing:border-box}
.drcg-auth-box input:focus-visible,.drcg-auth-box button:focus-visible{outline:3px solid #bdb2ed;outline-offset:2px}
.drcg-auth-box .drcg-auth-check{display:flex;align-items:center;gap:8px;font-weight:400}.drcg-auth-check input{width:18px;height:18px;accent-color:#6932a8}
.drcg-auth-submit{min-height:46px;padding:10px 18px;background:#6932a8;color:#fff;border:0;border-radius:9px;font:inherit;font-weight:700;cursor:pointer}
.drcg-auth-box button:disabled{opacity:.6;cursor:wait}.drcg-auth-status{font-size:13px;line-height:1.8;color:#344258;margin:12px 0;word-wrap:anywhere;overflow-wrap:anywhere}.drcg-auth-status.is-error{color:#a02438;background:#fff1f2;padding:10px;border-radius:8px}
.drcg-auth-names{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.drcg-auth-registration{display:grid;grid-gap:14px;gap:14px;min-width:0}
.drcg-auth-box small,.drcg-auth-note{font-size:12px;line-height:1.8;color:#59647a;font-weight:400}.drcg-auth-note{margin:0}
.drcg-auth-recovery{color:#6530a3;text-align:center;font-size:13px}.drcg-auth-code-actions{display:flex;justify-content:space-between;gap:12px}.drcg-auth-code-actions button{background:none;border:0;font:inherit;font-size:13px;color:#6530a3;cursor:pointer;min-height:44px}
.drcg-gated-download{display:grid!important;grid-template-columns:1fr!important;grid-gap:18px;gap:18px;padding:20px!important}.drcg-gated-download>div:first-child{text-align:center}.drcg-gated-download h3{margin:0 0 8px}
@media(max-width:380px){.drcg-auth-names{grid-template-columns:1fr}.drcg-gated-download{padding:12px!important}.drcg-auth-tabs button{font-size:12px;padding:6px}}
.drcg-auth-layout .drcg-auth-story p{color:#e1d5ed}.drcg-auth-form h1{font-size:24px;line-height:1.5;margin:10px 0}.drcg-auth-story h2{color:white;font-size:24px;line-height:1.6}
@media(max-width:760px){.drcg-auth-layout .drcg-auth-form{order:-1;padding:22px 18px}.drcg-auth-layout .drcg-auth-story{padding:22px}.drcg-auth-layout .drcg-auth-story h2{margin:12px 0}.drcg-auth-form>p{margin-bottom:18px}}
/* Native top-layer dialog: focus containment, Escape, and an always visible close. */
.drcg-auth-dialog:not([open]){display:none!important}
.drcg-auth-dialog{width:min(480px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100vh - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #ded7ed;border-radius:20px;background:#fff;color:#253149;box-shadow:0 24px 90px #14102b45;font-family:inherit;direction:rtl;overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
.drcg-auth-dialog::backdrop{background:#16112599;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.drcg-auth-dialog__inner{padding:24px;min-width:0}.drcg-auth-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:12px;position:-webkit-sticky;position:sticky;top:-24px;background:#fff;z-index:2;padding:8px 0}
.drcg-auth-dialog__head h2{margin:4px 0 0;font-size:23px;line-height:1.5;color:#241837}.drcg-auth-eyebrow{color:#7953a2;font-size:12px}
.drcg-auth-dialog [data-auth-close]{flex:0 0 44px;width:44px;height:44px;border:1px solid #ded7ed;border-radius:12px;background:#f5f1fa;color:#4d306e;font-size:28px;line-height:1;cursor:pointer}
.drcg-auth-dialog [data-auth-close]:hover{background:#eae0f7}.drcg-auth-dialog [data-auth-close]:focus-visible{outline:3px solid #bdb2ed;outline-offset:2px}
.drcg-auth-dialog__intro{font-size:14px;line-height:1.8;color:#59647a;margin:10px 0 18px}.drcg-auth-modal-open{overflow:hidden!important}
.drcg-auth-dialog input:not([type=checkbox]){font-size:16px}.drcg-auth-dialog .drcg-auth-check{min-height:32px}
@media(max-width:480px){.drcg-auth-dialog__inner{padding:18px 16px;padding-bottom:max(18px,env(safe-area-inset-bottom))}.drcg-auth-dialog__head{top:-18px}.drcg-auth-dialog__head h2{font-size:21px}}
@media(prefers-reduced-motion:no-preference){.drcg-auth-dialog[open]{animation:drcg-auth-enter .16s ease-out}@keyframes drcg-auth-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

/* One accessible OTP input preserves autofill and paste; digits remain left-to-right. */
.drcg-auth-box input.drcg-auth-otp{min-height:64px;padding:12px 8px 12px 24px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:30px;font-weight:700;line-height:1.3;letter-spacing:.5em;text-align:center;font-variant-numeric:tabular-nums;direction:ltr;background:#faf8fe;border:2px solid #cfc3e3}
.drcg-auth-box input.drcg-auth-otp::placeholder{color:#92849f;opacity:1}.drcg-auth-box input.drcg-auth-otp:focus{border-color:#6932a8;background:#fff}
.drcg-auth-resend-panel{padding:12px;border:1px solid #e2daec;border-radius:12px;background:#faf8fd}
.drcg-auth-countdown{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 10px;font-size:13px;color:#4b3c62;line-height:1.8}
.drcg-auth-countdown b{display:inline-block;min-width:58px;padding:3px 8px;border-radius:7px;background:#eee6f7;color:#4c2479;font-size:17px;font-variant-numeric:tabular-nums;text-align:center}
.drcg-auth-code-actions{flex-wrap:wrap;gap:8px}.drcg-auth-box [data-auth-resend]{flex:1;padding:8px 12px;min-height:44px;border:1px solid #6932a8;border-radius:8px;background:#6932a8;color:#fff;font-weight:700}
.drcg-auth-box [data-auth-resend]:disabled{background:#eee8f5;color:#665976;border-color:#dfd5e9;opacity:1;cursor:not-allowed}.drcg-auth-box [data-auth-resend]:not(:disabled):hover{background:#502583}
.drcg-auth-box [data-auth-back]{padding:8px;min-height:44px}.drcg-auth-box button{touch-action:manipulation}
@media(max-width:380px){.drcg-auth-box input.drcg-auth-otp{font-size:26px;letter-spacing:.42em;padding-left:19px}.drcg-auth-code-actions button{font-size:12px}.drcg-auth-countdown{gap:6px;font-size:12px}}
