*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#151517;color:#f2efe9;font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.off{position:relative;display:grid;place-items:center;min-height:100vh;min-height:100dvh;padding:24px 16px;overflow:hidden}
.off-glow{position:absolute;inset:auto;width:640px;height:640px;border-radius:50%;background:radial-gradient(closest-side,#e77d3b2e,#a08cc01a 55%,transparent);filter:blur(10px);pointer-events:none}
.off-card{position:relative;width:100%;max-width:460px;padding:36px 30px 30px;border:1px solid #ffffff1f;border-radius:28px;background:#1c1c1fe6;box-shadow:0 30px 80px #0009;text-align:center}
.off-logo{margin:0 0 22px;font-size:26px;font-weight:800;letter-spacing:-.04em}
.off-logo b{color:#e77d3b}
.off-status{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:#e77d3b1a;color:#f39a5c;font-size:13px;font-weight:700}
.off-status i{width:8px;height:8px;border-radius:50%;background:#f39a5c;animation:off-pulse 1.6s ease-in-out infinite}
@keyframes off-pulse{50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){.off-status i{animation:none}}
.off h1{margin:16px 0 12px;font-size:clamp(26px,7vw,32px);line-height:1.12;letter-spacing:-.035em}
.off-lead{margin:0 0 20px;color:#a6a4a0;font-size:16px;line-height:1.55}
.off-points{display:grid;gap:10px;margin:0 0 26px;padding:0;list-style:none;text-align:left}
.off-points li{padding:14px 16px;border:1px solid #ffffff12;border-radius:16px;background:#ffffff06;color:#a6a4a0;font-size:14.5px;line-height:1.5}
.off-points b{display:block;margin-bottom:2px;color:#f2efe9}
.off-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;border-radius:16px;font-size:16px;font-weight:800;text-decoration:none}
.off-btn svg{width:20px;height:20px}
.off-btn--main{background:#f2efe9;color:#151517}
.off-btn:focus-visible{outline:2px solid #f2efe9;outline-offset:3px}
.off-note{margin:-12px 0 22px;color:#77757a;font-size:13px;line-height:1.5}
.off-steps li{display:flex;gap:14px;align-items:flex-start}
.off-num{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#e77d3b1f;color:#f39a5c;font-size:13px;font-weight:800}
.off-steps li>span:last-child{display:grid;gap:2px}
.off-safe{margin:18px 0 0;color:#77757a;font-size:13px;line-height:1.5}
.off-status{background:#ffffff0f;color:#c9c6c0}.off-status i{background:#ff8a80}
.off-retry{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 16px;color:#a6a4a0;font-size:14px}
.off-ring{width:28px;height:28px;flex:none;transform:rotate(-90deg)}
.off-ring circle{fill:none;stroke-width:4}
.off-ring__bg{stroke:#ffffff14}
.off-ring__fg{stroke:#f39a5c;stroke-linecap:round;stroke-dasharray:113;stroke-dashoffset:0;transition:stroke-dashoffset 1s linear}
.off-retry.is-trying .off-ring{animation:off-spin .9s linear infinite}
.off-retry.is-trying .off-ring__fg{stroke-dashoffset:80!important;transition:none}
@keyframes off-spin{to{transform:rotate(270deg)}}
@media (prefers-reduced-motion:reduce){.off-retry.is-trying .off-ring{animation:none}}
.off-retry{margin:-4px 0 18px;padding:10px 14px;border-radius:14px;background:#ffffff08}
.off-steps{gap:8px;margin-bottom:20px}.off-steps li{padding:12px 14px;font-size:14px}
.off-retry span{text-align:left}

/* Шлюз: пока проверяем danprod — только короткая строка, без экрана ошибки (чтобы он не мелькал у тех, у кого всё открывается) */
.gw-check{display:none;position:fixed;inset:0;margin:0;place-items:center;color:#a6a4a0;font-size:15px}
.is-checking .gw-check{display:grid}.is-checking .off{visibility:hidden}
