/* PulsePromo auth + MAX capture flow */
#pulseCapture{
  --s-bg:#120a06;
  --s-accent:#fbbf24;
  --s-accent-2:#f97316;
  --s-text:#fff8f0;
  --s-text-muted:#c4a882;
  --s-card-bg:rgba(18,10,4,.94);
  --s-card-border:rgba(251,191,36,.22);
  --s-btn-text:#1a0e06;
  --s-btn-radius:14px;
}

/* ── Auth gate (not authorized) ── */
.pulse-auth-gate,.pulse-login-hub{
  position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;
  padding:20px;opacity:0;pointer-events:none;visibility:hidden;
  transition:opacity .42s ease,visibility .42s ease;
}
.pulse-auth-gate.open,.pulse-login-hub.open{opacity:1;pointer-events:auto;visibility:visible}
.pulse-auth-gate-backdrop,.pulse-login-hub-backdrop{
  position:absolute;inset:0;background:rgba(0,0,0,.78);
  transition:background .42s ease;
}
.pulse-auth-gate-card{
  position:relative;width:100%;max-width:340px;padding:36px 28px 28px;text-align:center;
  background:rgba(14,8,4,.95);border:1px solid rgba(251,191,36,.28);border-radius:22px;
  box-shadow:0 24px 80px rgba(0,0,0,.65),0 0 40px rgba(249,115,22,.08);
  transform:scale(.94) translateY(16px);transition:transform .35s cubic-bezier(.34,1.2,.64,1);
}
.pulse-auth-gate.open .pulse-auth-gate-card,.pulse-login-hub.open .pulse-login-hub-card{transform:none}
.pulse-auth-gate-close,.pulse-login-hub-close{
  position:absolute;top:12px;right:12px;width:34px;height:34px;border:none;border-radius:10px;cursor:pointer;
  background:rgba(255,255,255,.06);color:rgba(255,248,240,.5);display:grid;place-items:center;
}
.pulse-auth-gate-icon{
  width:52px;height:52px;margin:0 auto 20px;display:grid;place-items:center;border-radius:14px;
  background:rgba(251,191,36,.12);border:1px solid rgba(251,191,36,.3);color:#fbbf24;
}
.pulse-auth-gate-icon--event{display:none;overflow:visible;padding:0}
.pulse-auth-gate--event .pulse-auth-gate-icon--lock{display:none}
.pulse-auth-gate--event .pulse-auth-gate-icon--event{display:block}
.pulse-auth-gate-thumb{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transform:scale(1.06)}
.pulse-auth-gate--event .pulse-auth-gate-card{
  border-color:rgba(248,113,113,.38);
  background:
    radial-gradient(90% 70% at 10% 0%,rgba(239,68,68,.2),transparent 55%),
    radial-gradient(80% 60% at 100% 100%,rgba(127,29,29,.22),transparent 60%),
    linear-gradient(165deg,rgba(18,7,10,.98),rgba(10,6,10,.98));
  box-shadow:0 28px 90px rgba(0,0,0,.78),0 0 42px rgba(239,68,68,.2);
}
.pulse-auth-gate--event .pulse-auth-gate-icon--event{
  width:76px;height:52px;overflow:visible;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
.pulse-auth-gate--event .pulse-auth-gate-thumb{
  object-fit:contain;transform:none;
  filter:drop-shadow(0 7px 8px rgba(0,0,0,.72)) drop-shadow(0 0 9px rgba(239,68,68,.42));
}
.pulse-auth-gate--event .pulse-auth-gate-title{
  font-family:'Inter',system-ui,sans-serif;font-size:1.05rem;font-weight:800;letter-spacing:.01em;
  text-transform:none;color:#fff;
  text-shadow:0 0 18px rgba(239,68,68,.3);
}
.pulse-auth-gate--event .pulse-auth-gate-text{color:rgba(255,255,255,.68);font-size:.82rem}
.pulse-auth-gate--event .pulse-auth-gate-game{color:#f87171;font-size:.74rem}
.pulse-auth-gate--event .pulse-auth-gate-btn{
  background:linear-gradient(130deg,#991b1b,#dc2626 48%,#fb7185);color:#fff;
  box-shadow:0 8px 30px rgba(239,68,68,.42),inset 0 1px 0 rgba(255,255,255,.25);
}
.pulse-auth-gate-title{
  font-family:'Inter',sans-serif;font-size:1.15rem;font-weight:800;letter-spacing:.04em;
  color:#fbbf24;margin-bottom:10px;line-height:1.2;
}
.pulse-auth-gate-text{font-size:.84rem;color:rgba(255,248,240,.55);line-height:1.55;margin-bottom:8px}
.pulse-auth-gate-game{font-size:.72rem;color:rgba(251,191,36,.7);margin-bottom:22px;font-weight:600}
.pulse-auth-gate-btn{
  width:100%;padding:14px 20px;border:none;border-radius:100px;cursor:pointer;
  font-family:inherit;font-size:.82rem;font-weight:800;letter-spacing:.06em;
  background:linear-gradient(130deg,#fde047,#fbbf24,#f97316);color:#1a0e06;
  box-shadow:0 8px 28px rgba(249,115,22,.35);transition:transform .12s;
}
.pulse-auth-gate-btn:focus{outline:none}
.pulse-auth-gate-btn:focus-visible{outline:2px solid rgba(255,255,255,.28);outline-offset:2px}
.pulse-auth-gate-btn:active{transform:scale(.98)}

/* ── Login hub (redesigned, modern) ── */
.pulse-login-hub-card{
  position:relative;width:100%;max-width:388px;padding:22px 22px 20px;
  background:
    radial-gradient(120% 60% at 50% 0%,rgba(129,140,248,.16),transparent 55%),
    radial-gradient(80% 60% at 100% 100%,rgba(56,189,248,.10),transparent 60%),
    linear-gradient(180deg,rgba(15,11,32,.98),rgba(9,7,20,.98));
  border:1px solid rgba(129,140,248,.22);border-radius:24px;
  box-shadow:0 32px 90px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.02) inset,0 1px 0 rgba(255,255,255,.06) inset;
  transform:scale(.94) translateY(16px);
  transition:transform .35s cubic-bezier(.34,1.2,.64,1);
}
.pulse-login-hub.open .pulse-login-hub-card{transform:none}
.pulse-login-hub-card::before{
  content:'';position:absolute;inset:0;border-radius:24px;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.05),transparent 30%);
  mix-blend-mode:screen;
}
.pulse-login-hub-close{
  position:absolute;top:12px;right:12px;width:32px;height:32px;border:none;border-radius:10px;cursor:pointer;
  background:rgba(255,255,255,.05);color:rgba(255,255,255,.55);
  display:grid;place-items:center;transition:background .15s,color .15s;
}
.pulse-login-hub-close:hover{background:rgba(255,255,255,.09);color:#fff}
.pulse-login-hub-brand{
  display:flex;flex-direction:column;align-items:center;gap:10px;margin:2px 0 14px;
}
.pulse-login-hub-brand-mark{
  width:48px;height:48px;display:grid;place-items:center;border-radius:14px;
  background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 45%,#38bdf8 100%);
  box-shadow:0 12px 34px rgba(99,102,241,.35),inset 0 1px 0 rgba(255,255,255,.24);
  color:#fff;
}
.pulse-login-hub-brand-mark svg{width:24px;height:24px}
.pulse-login-hub-title{
  font-family:'Inter',sans-serif;font-size:1.32rem;font-weight:800;line-height:1.15;
  color:#fff;margin:0;text-align:center;letter-spacing:-.01em;
}
.pulse-login-hub-sub{
  margin:6px 4px 20px;text-align:center;font-size:.82rem;color:rgba(226,232,240,.62);line-height:1.5;
}
.pulse-login-hub-terms{display:none}
.pulse-terms-input{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.pulse-terms-box{
  width:20px;height:20px;margin-top:1px;flex-shrink:0;display:grid;place-items:center;border-radius:6px;
  border:1.5px solid rgba(148,163,184,.4);background:rgba(255,255,255,.04);
  transition:background .18s,border-color .18s,box-shadow .18s;
}
.pulse-terms-check{
  display:block;color:#fff;opacity:0;transform:scale(.55);
  transition:opacity .16s ease,transform .16s ease;
}
.pulse-terms-input:checked+.pulse-terms-box{
  background:linear-gradient(135deg,#6366f1,#8b5cf6);
  border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.14);
}
.pulse-terms-input:checked+.pulse-terms-box .pulse-terms-check{opacity:1;transform:scale(1)}
.pulse-terms-input:focus-visible+.pulse-terms-box{box-shadow:0 0 0 3px rgba(139,92,246,.3)}
.pulse-terms-text{font-size:.75rem;color:rgba(226,232,240,.7);line-height:1.5}
.pulse-login-hub-terms a{color:#a5b4fc;text-decoration:none;font-weight:600}
.pulse-login-hub-terms a:hover{color:#c7d2fe}
/* ── Email form (primary auth on hub) ── */
.pulse-login-hub-email{display:flex;flex-direction:column;gap:8px;margin-bottom:4px}
.pulse-login-hub-email-label{
  font-size:.72rem;font-weight:600;color:rgba(226,232,240,.62);
  letter-spacing:.01em;padding-left:2px;
}
.pulse-login-hub-email-field{
  position:relative;display:flex;align-items:center;
  background:rgba(255,255,255,.045);border:1.5px solid rgba(165,180,252,.18);border-radius:14px;
  height:52px;transition:border-color .18s,box-shadow .18s,background .18s;
}
.pulse-login-hub-email-field:focus-within{
  border-color:rgba(129,140,248,.7);
  box-shadow:0 0 0 3px rgba(129,140,248,.16);
  background:rgba(255,255,255,.06);
}
.pulse-login-hub-email-field.err{border-color:rgba(248,113,113,.6);animation:pulseShake .3s}
.pulse-login-hub-email-icon{
  display:grid;place-items:center;width:44px;height:100%;color:rgba(165,180,252,.75);flex-shrink:0;
}
.pulse-login-hub-email-field input{
  flex:1;min-width:0;height:100%;background:transparent;border:none;outline:none;padding:0 14px 0 0;
  font-family:inherit;font-size:.95rem;color:#fff;caret-color:#a5b4fc;
}
.pulse-login-hub-email-field input::placeholder{color:rgba(226,232,240,.32)}
/* Chrome / Edge autofill: перекрываем белый фон и жёлтый шрифт браузера. */
.pulse-login-hub-email-field input:-webkit-autofill,
.pulse-login-hub-email-field input:-webkit-autofill:hover,
.pulse-login-hub-email-field input:-webkit-autofill:focus,
.pulse-login-hub-email-field input:-webkit-autofill:active{
  -webkit-text-fill-color:#fff !important;
  -webkit-box-shadow:0 0 0 1000px transparent inset !important;
  box-shadow:0 0 0 1000px transparent inset !important;
  caret-color:#a5b4fc !important;
  transition:background-color 6000s ease-in-out 0s, color 6000s ease-in-out 0s !important;
}
.pulse-login-hub-email-msg{
  min-height:0;font-size:.72rem;line-height:1.4;color:#fca5a5;padding:0 2px;display:none;
}
.pulse-login-hub-email-msg.show{display:block}
.pulse-login-hub-email-btn{
  width:100%;height:50px;margin-top:4px;padding:0 18px;border:none;border-radius:14px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-family:inherit;font-size:.94rem;font-weight:700;color:#fff;letter-spacing:.01em;
  background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 55%,#38bdf8 100%);
  box-shadow:0 12px 32px rgba(99,102,241,.35),inset 0 1px 0 rgba(255,255,255,.22);
  transition:transform .12s,box-shadow .18s,opacity .15s;
}
.pulse-login-hub-email-btn:hover:not(:disabled){
  box-shadow:0 16px 40px rgba(99,102,241,.45),inset 0 1px 0 rgba(255,255,255,.28);
}
.pulse-login-hub-email-btn:active:not(:disabled){transform:scale(.985)}
.pulse-login-hub-email-btn:disabled{opacity:.55;cursor:not-allowed}

/* ── Divider ── */
.pulse-login-hub-divider{
  display:flex;align-items:center;gap:12px;margin:18px 4px 14px;
  font-size:.72rem;color:rgba(226,232,240,.4);text-align:center;letter-spacing:.02em;
}
.pulse-login-hub-divider::before,
.pulse-login-hub-divider::after{
  content:'';flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(148,163,184,.22),transparent);
}

/* Demon: email полностью скрыт */
.pulse-login-hub[data-email-mode="demon"] .pulse-login-hub-email-block{display:none !important}
.pulse-login-hub[data-email-mode="demon"] .pulse-login-hub-sub{margin-bottom:16px}
.pulse-login-hub[data-email-mode="demon"] .pulse-login-method--max{
  background:linear-gradient(135deg,rgba(99,102,241,.22),rgba(56,189,248,.12));
  border-color:rgba(129,140,248,.45);
  box-shadow:0 10px 28px rgba(99,102,241,.22);
}

/* ── Methods list (full-width rows) ── */
.pulse-login-hub-methods{
  display:flex;flex-direction:column;gap:10px;
}
.pulse-login-method{
  width:100%;display:flex;align-items:center;gap:12px;
  min-height:58px;padding:10px 12px 10px 10px;margin:0;cursor:pointer;
  text-align:left;font-family:inherit;color:#fff;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:16px;
  transition:background .18s,border-color .18s,transform .12s,box-shadow .18s;
}
.pulse-login-method:hover:not(:disabled){
  background:rgba(255,255,255,.07);border-color:rgba(165,180,252,.35);
  box-shadow:0 8px 22px rgba(0,0,0,.28);
}
.pulse-login-method:active:not(:disabled){transform:scale(.985)}
.pulse-login-method:disabled{opacity:.45;cursor:not-allowed}
.pulse-login-method.shake{animation:pulseShake .4s ease}
.pulse-login-method-icon{
  flex:0 0 auto;width:42px;height:42px;border-radius:12px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.06);
}
.pulse-login-method-icon img{display:block}
.pulse-login-method--max .pulse-login-method-icon{
  background:linear-gradient(135deg,#4f46e5,#6366f1);
  box-shadow:0 6px 16px rgba(99,102,241,.35);
}
.pulse-login-method--max .pulse-login-method-icon img{width:28px;height:28px;border-radius:8px}
.pulse-login-method--wechat .pulse-login-method-icon{background:#07c160}
.pulse-login-method--wechat .pulse-login-method-icon img{width:22px;height:22px}
.pulse-login-method--twitter .pulse-login-method-icon{background:#0f0f10;border:1px solid rgba(255,255,255,.12)}
.pulse-login-method--twitter .pulse-login-method-icon img{width:18px;height:18px}
.pulse-login-method-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pulse-login-method-title{
  font-size:.95rem;font-weight:700;line-height:1.2;letter-spacing:.01em;
}
.pulse-login-method-sub{
  font-size:.72rem;color:rgba(226,232,240,.52);line-height:1.3;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.pulse-login-method-arrow{
  flex:0 0 auto;color:rgba(226,232,240,.35);
  display:grid;place-items:center;transition:color .15s,transform .15s;
}
.pulse-login-method:hover .pulse-login-method-arrow{color:rgba(226,232,240,.75);transform:translateX(2px)}

/* legacy icon-only (если где-то осталось) */
.pulse-login-hub-social{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;
}
.pulse-social-icon{
  height:56px;display:grid;place-items:center;cursor:pointer;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);border-radius:14px;
  transition:background .18s,border-color .18s,transform .12s,box-shadow .18s;
}
.pulse-social-icon:hover:not(:disabled){
  background:rgba(255,255,255,.07);border-color:rgba(165,180,252,.38);
  box-shadow:0 6px 20px rgba(0,0,0,.28);
}
.pulse-social-icon:active:not(:disabled){transform:scale(.96)}
.pulse-social-icon:disabled{opacity:.4;cursor:not-allowed;filter:grayscale(.4)}
.pulse-social-icon img{display:block}
.pulse-social-icon.shake{animation:pulseShake .4s ease}
.pulse-social-icon--max img{width:32px;height:32px;border-radius:9px}
.pulse-social-icon--wechat img{
  width:20px;height:20px;padding:6px;background:#07c160;border-radius:9px;
  box-sizing:content-box;
  box-shadow:0 4px 12px rgba(7,193,96,.28),inset 0 1px 0 rgba(255,255,255,.18);
}
.pulse-social-icon--twitter img{
  width:20px;height:20px;padding:6px;background:#000;border-radius:9px;
  box-sizing:content-box;
  box-shadow:0 4px 12px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,255,255,.08);
}
.pulse-social-icon--wechat:hover:not(:disabled){border-color:rgba(7,193,96,.45)}
.pulse-social-icon--twitter:hover:not(:disabled){border-color:rgba(255,255,255,.28)}
/* legacy stack (still referenced by decoy shake selector) */
.pulse-login-stack{display:flex;flex-direction:column;gap:9px}
.pulse-login-option{display:none}
/* Legal footer text */
.pulse-login-hub-legal{
  margin:18px 4px 0;padding-top:14px;
  border-top:1px solid rgba(148,163,184,.08);
  font-size:.7rem;line-height:1.55;color:rgba(148,163,184,.55);text-align:center;
}
.pulse-login-hub-legal a{color:#a5b4fc;text-decoration:none;font-weight:600}
.pulse-login-hub-legal a:hover{color:#c7d2fe;text-decoration:underline}
@keyframes pulseShake{
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-6px)}
  40%{transform:translateX(6px)}
  60%{transform:translateX(-4px)}
  80%{transform:translateX(4px)}
}

.pulse-toast{
  position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%) translateY(20px);
  z-index:120;padding:12px 18px;border-radius:100px;font-size:.78rem;font-weight:600;
  background:rgba(18,10,4,.95);border:1px solid rgba(251,191,36,.35);color:#fde047;
  opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;white-space:nowrap;
}
.pulse-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* ── Capture overlay (unified modal look, same style as hub) ── */
#pulseCapture{
  position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;
  padding:calc(24px + env(safe-area-inset-top,0px)) 16px max(20px,env(safe-area-inset-bottom));
  background:rgba(0,0,0,.78);
  overflow-y:auto;
  opacity:0;pointer-events:none;visibility:hidden;
  transition:opacity .38s ease,visibility .38s ease;
}
#pulseCapture.open{opacity:1;pointer-events:auto;visibility:visible}
#pulseCapture .screen{
  width:100%;max-width:388px;display:none;flex-direction:column;
  animation:pcFadeSwap .32s cubic-bezier(.34,1.1,.64,1) both;
}
#pulseCapture .screen.active{display:flex}
@keyframes pcFadeSwap{
  from{opacity:0;transform:translateY(8px) scale(.985)}
  to{opacity:1;transform:none}
}
#pulseCapture .card{
  position:relative;
  padding:22px 22px 20px;
  background:
    radial-gradient(120% 60% at 50% 0%,rgba(129,140,248,.16),transparent 55%),
    radial-gradient(80% 60% at 100% 100%,rgba(56,189,248,.10),transparent 60%),
    linear-gradient(180deg,rgba(15,11,32,.98),rgba(9,7,20,.98));
  border:1px solid rgba(129,140,248,.22);
  border-radius:24px;
  box-shadow:0 32px 90px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.02) inset,0 1px 0 rgba(255,255,255,.06) inset;
  transform:scale(.94) translateY(16px);
  transition:transform .35s cubic-bezier(.34,1.2,.64,1);
}
#pulseCapture.open .screen.active .card{transform:none}
#pulseCapture .card::before{
  content:'';position:absolute;inset:0;border-radius:24px;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.05),transparent 30%);
  mix-blend-mode:screen;
}
#pulseCapture .card>*{position:relative;z-index:1}
#pulseCapture .block-title{font-size:1.15rem;font-weight:800;color:#fff;letter-spacing:-.01em;line-height:1.2;margin:0 0 6px;font-family:'Inter',sans-serif}
#pulseCapture .block-text{font-size:.78rem;color:rgba(226,232,240,.6);line-height:1.55;margin:0 0 14px}
#pulseCapture .pf{display:flex;align-items:center;background:rgba(255,255,255,.045);border:1.5px solid rgba(165,180,252,.18);border-radius:14px;height:52px;overflow:hidden;transition:border-color .15s,box-shadow .15s,background .15s;position:relative}
#pulseCapture .pf:focus-within{border-color:rgba(129,140,248,.7);box-shadow:0 0 0 3px rgba(129,140,248,.14);background:rgba(255,255,255,.06)}
#pulseCapture .pf.err{border-color:rgba(248,113,113,.6);animation:pulseShake .3s}
#pulseCapture .pf input:-webkit-autofill,
#pulseCapture .pf input:-webkit-autofill:hover,
#pulseCapture .pf input:-webkit-autofill:focus,
#pulseCapture .pf input:-webkit-autofill:active,
#pulseCapture .code-box:-webkit-autofill,
#pulseCapture .code-box:-webkit-autofill:hover,
#pulseCapture .code-box:-webkit-autofill:focus,
#pulseCapture .code-box:-webkit-autofill:active{
  -webkit-text-fill-color:#fff !important;
  -webkit-box-shadow:0 0 0 1000px transparent inset !important;
  box-shadow:0 0 0 1000px transparent inset !important;
  caret-color:#a5b4fc !important;
  transition:background-color 6000s ease-in-out 0s, color 6000s ease-in-out 0s !important;
}
#pulseCapture .pf-pre{display:flex;align-items:center;gap:7px;padding:0 10px 0 14px;border-right:1px solid rgba(165,180,252,.12);height:100%;flex-shrink:0}
#pulseCapture .pf-code{font-size:15px;font-weight:600;color:rgba(255,255,255,.9)}
#pulseCapture .pf-inp{flex:1;min-width:0;height:100%;background:transparent;border:none;outline:none;padding:0 14px;font-family:inherit;font-size:16px;color:#fff;caret-color:#a5b4fc}
#pulseCapture .pf-inp::placeholder{color:rgba(226,232,240,.28)}
#pulseCapture .pf-inp:-webkit-autofill,
#pulseCapture .pf-inp:-webkit-autofill:hover,
#pulseCapture .pf-inp:-webkit-autofill:focus,
#pulseCapture .pf-inp:-webkit-autofill:active{
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 0 0 1000px rgba(255,255,255,.06) inset!important;
  transition:background-color 99999s ease-out 0s;
}
#pulseCapture .pf-clear{width:36px;height:100%;flex-shrink:0;background:none;border:none;cursor:pointer;display:none;align-items:center;justify-content:center}
#pulseCapture .pf-clear.vis{display:flex}
#pulseCapture .btn{width:100%;height:52px;color:#fff;font-family:inherit;font-size:.94rem;font-weight:700;letter-spacing:.01em;border:none;border-radius:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;transition:transform .12s,box-shadow .18s,opacity .15s}
#pulseCapture .btn:disabled{opacity:.4;cursor:not-allowed}
#pulseCapture .btn:active:not(:disabled){transform:scale(.985)}
#pulseCapture .btn-accent{
  background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 45%,#38bdf8 100%);
  color:#fff;box-shadow:0 10px 28px rgba(99,102,241,.35),inset 0 1px 0 rgba(255,255,255,.18);
}
#pulseCapture .btn-accent:hover:not(:disabled){box-shadow:0 14px 34px rgba(99,102,241,.45),inset 0 1px 0 rgba(255,255,255,.22)}
#pulseCapture .back-btn{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06);cursor:pointer;padding:6px 12px 6px 8px;border-radius:10px;font-family:inherit;font-size:.74rem;font-weight:600;color:rgba(226,232,240,.55);margin:-4px 0 14px;transition:background .15s,color .15s,border-color .15s;align-self:flex-start}
#pulseCapture .email-lifetime{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 10px;margin:2px 0 4px;border-radius:999px;
  background:rgba(129,140,248,.1);border:1px solid rgba(129,140,248,.22);
  font-size:.72rem;font-weight:600;color:rgba(199,210,254,.86);
  font-family:'Inter',sans-serif;letter-spacing:.005em;
  transition:background .18s,border-color .18s,color .18s;
}
#pulseCapture .email-lifetime svg{color:rgba(165,180,252,.75);flex-shrink:0}
#pulseCapture .email-lifetime b{
  font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:700;
  font-variant-numeric:tabular-nums;color:#e0e7ff;
}
#pulseCapture .email-lifetime.warn{
  background:rgba(239,68,68,.14);border-color:rgba(248,113,113,.42);color:#fecaca;
  animation:pulseLife 1s ease-in-out infinite;
}
#pulseCapture .email-lifetime.warn svg,
#pulseCapture .email-lifetime.warn b{color:#fef2f2}
#pulseCapture .email-lifetime.expired{
  background:rgba(148,163,184,.12);border-color:rgba(148,163,184,.24);color:rgba(203,213,225,.6);
  animation:none;
}
#pulseCapture .email-lifetime.expired svg,
#pulseCapture .email-lifetime.expired b{color:rgba(203,213,225,.7)}
@keyframes pulseLife{0%,100%{transform:scale(1)}50%{transform:scale(1.03)}}

#pulseCapture .alt-method-btn{
  width:100%;margin-top:12px;padding:2px 4px;
  background:transparent;border:none;cursor:pointer;
  font-family:inherit;font-size:.78rem;font-weight:500;line-height:1.4;
  color:rgba(199,210,254,.6);text-align:center;
  transition:color .15s;
}
#pulseCapture .alt-method-btn:hover{color:#c7d2fe;text-decoration:underline;text-underline-offset:3px}
#pulseCapture .alt-method-btn:active{color:#a5b4fc}
#pulseCapture .back-btn:hover{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(165,180,252,.28)}
#pulseCapture .sent-label{font-size:13px;color:rgba(255,255,255,.4);margin-bottom:14px}
#pulseCapture .sent-label strong{color:rgba(255,255,255,.8);font-weight:600}
#pulseCapture .code-boxes{display:flex;gap:7px;margin-bottom:10px;position:relative}
#pulseCapture .otp-autofill-trap{position:absolute;inset:0;width:100%;height:52px;opacity:.02;border:0;background:transparent;z-index:2;caret-color:transparent;font-size:16px}
#pulseCapture .code-box{flex:1;min-width:0;height:54px;background:rgba(255,255,255,.045);border:1.5px solid rgba(165,180,252,.18);border-radius:12px;text-align:center;font-family:inherit;font-size:22px;font-weight:700;color:#fff;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}
#pulseCapture .code-box:focus{border-color:rgba(129,140,248,.75);background:rgba(129,140,248,.08);box-shadow:0 0 0 3px rgba(129,140,248,.14)}
#pulseCapture .code-box.filled{border-color:rgba(129,140,248,.5)}
#pulseCapture .code-box.err{border-color:rgba(248,113,113,.6)!important;animation:pulseShake .3s}
#pulseCapture .resend-row{display:flex;align-items:center;justify-content:space-between;min-height:22px;margin-top:10px;margin-bottom:6px}
#pulseCapture .timer-txt{font-size:.72rem;color:rgba(226,232,240,.35)}
#pulseCapture .timer-txt b{color:#a5b4fc;font-weight:700}
#pulseCapture .resend-btn{font-family:inherit;font-size:.72rem;font-weight:700;color:#a5b4fc;background:none;border:none;cursor:pointer;transition:color .15s}
#pulseCapture .resend-btn:hover:not(:disabled){color:#c7d2fe}
#pulseCapture .resend-btn:disabled{opacity:.35;cursor:not-allowed}
#pulseCapture .msg{border-radius:10px;font-size:.76rem;padding:9px 12px;display:none;margin-top:10px;margin-bottom:0;line-height:1.5;min-height:0}
#pulseCapture .msg.show{display:block;margin-bottom:12px}
#pulseCapture .msg.show+.btn{margin-top:0}
#pulseCapture .msg.show+.max-hint{margin-top:0}
#pulseCapture .msg.show+.numpad-view-btn{margin-top:0}
#pulseCapture #scrPhone .btn{margin-top:12px}
#pulseCapture #scrPhone .legal{margin-top:14px}
#pulseCapture .msg.e{background:rgba(248,113,113,.10);color:#fca5a5;border:1px solid rgba(248,113,113,.22)}
#pulseCapture .msg.s,#pulseCapture .msg.ok{background:rgba(74,222,128,.10);color:#86efac;border:1px solid rgba(74,222,128,.22)}
#pulseCapture .msg.w{background:rgba(255,255,255,.04);color:rgba(226,232,240,.65);border:1px solid rgba(255,255,255,.08);text-align:center}
#pulseCapture .max-hint{background:rgba(251,191,36,.07);border:1px solid rgba(251,191,36,.18);border-radius:12px;padding:11px 13px;margin-top:10px;display:none;font-size:12px;color:rgba(255,220,160,.85);line-height:1.6}
#pulseCapture .max-hint.show{display:block}
#pulseCapture .max-hint a{color:#fde047;text-decoration:none;font-weight:600}

.pulse-support-fab{
  position:fixed;z-index:420;left:14px;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));
  display:flex;align-items:center;justify-content:center;gap:10px;
  min-height:54px;padding:12px 18px;border:0;border-radius:16px;
  font:inherit;font-size:15px;font-weight:800;color:#041018;
  background:linear-gradient(135deg,#67e8f9,#a78bfa 55%,#f472b6);
  box-shadow:0 14px 40px rgba(0,0,0,.45),0 0 28px rgba(103,232,249,.35);
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.pulse-support-fab[hidden]{display:none!important}
.pulse-support-fab-pulse{
  position:absolute;inset:-2px;border-radius:18px;
  background:rgba(103,232,249,.35);animation:pulseSupportPulse 1.6s ease-out infinite;pointer-events:none;
}
@keyframes pulseSupportPulse{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(1.06)}}
.pulse-support-fab-ico{position:relative;font-size:18px;line-height:1}
.pulse-support-fab-txt{position:relative}

.pulse-support-sheet{position:fixed;inset:0;z-index:430}
.pulse-support-sheet[hidden]{display:none!important}
.pulse-support-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(2px)}
.pulse-support-panel{
  position:absolute;left:0;right:0;bottom:0;
  max-height:min(78vh,640px);
  display:flex;flex-direction:column;
  border-radius:20px 20px 0 0;
  background:linear-gradient(180deg,#121826,#0b1020);
  border:1px solid rgba(148,163,184,.18);
  box-shadow:0 -20px 60px rgba(0,0,0,.55);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
.pulse-support-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:16px 16px 12px;border-bottom:1px solid rgba(148,163,184,.12);
}
.pulse-support-head-copy{display:flex;flex-direction:column;gap:2px}
.pulse-support-head-copy strong{font-size:16px;color:#fff}
.pulse-support-head-copy span{font-size:12px;color:rgba(226,232,240,.65)}
.pulse-support-close{
  width:36px;height:36px;border:0;border-radius:10px;background:rgba(255,255,255,.06);
  color:#fff;font-size:22px;line-height:1;cursor:pointer;
}
.pulse-support-msgs{
  flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:14px 14px 8px;display:flex;flex-direction:column;gap:8px;min-height:180px;
}
.pulse-support-bubble{
  max-width:86%;padding:10px 12px;border-radius:14px;font-size:14px;line-height:1.4;white-space:pre-wrap;word-break:break-word;
}
.pulse-support-bubble--visitor{
  align-self:flex-end;background:linear-gradient(135deg,rgba(34,211,238,.28),rgba(167,139,250,.28));color:#fff;
  border-bottom-right-radius:4px;
}
.pulse-support-bubble--agent{
  align-self:flex-start;background:rgba(255,255,255,.07);color:rgba(255,255,255,.92);
  border-bottom-left-radius:4px;
}
.pulse-support-form{
  display:flex;gap:8px;padding:10px 12px 14px;border-top:1px solid rgba(148,163,184,.12);
}
.pulse-support-form input{
  flex:1;min-width:0;height:44px;border-radius:12px;border:1px solid rgba(148,163,184,.2);
  background:rgba(255,255,255,.05);color:#fff;padding:0 12px;font:inherit;font-size:15px;
}
.pulse-support-form button{
  height:44px;padding:0 14px;border:0;border-radius:12px;font:inherit;font-weight:700;font-size:14px;
  color:#041018;background:linear-gradient(135deg,#67e8f9,#a78bfa);cursor:pointer;
}
#pulseCapture .numpad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}
#pulseCapture .numpad-btn{height:48px;background:rgba(255,255,255,.07);border:1.5px solid rgba(255,255,255,.09);border-radius:14px;color:#fff;font-family:inherit;font-size:20px;font-weight:600;cursor:pointer}
#pulseCapture .numpad-view-btn{display:flex;align-items:center;justify-content:center;width:100%;height:44px;background:rgba(255,255,255,.05);border:1.5px solid rgba(255,255,255,.10);border-radius:100px;cursor:pointer;font-family:inherit;font-size:13.5px;font-weight:600;color:rgba(255,255,255,.6);margin-top:4px;margin-bottom:10px}
#pulseCapture .numpad-spacer{height:48px;visibility:hidden}
#pulseCapture .legal{font-size:.66rem;color:rgba(226,232,240,.32);text-align:center;line-height:1.7;margin-top:14px}
#pulseCapture .legal a{color:#a5b4fc;text-decoration:none;font-weight:600}
#pulseCapture .legal a:hover{color:#c7d2fe;text-decoration:underline}
#pulseCapture .card--done{
  position:relative;
  padding:0;overflow:hidden;
  background:linear-gradient(165deg,rgba(22,12,6,.98),rgba(14,8,4,.96));
  border:1px solid rgba(251,191,36,.2);
  box-shadow:0 24px 70px rgba(0,0,0,.55),0 0 40px rgba(249,115,22,.06);
}
#pulseCapture .done-close{
  position:absolute;top:12px;right:12px;z-index:2;
  width:34px;height:34px;border:none;border-radius:10px;cursor:pointer;
  background:rgba(255,255,255,.06);color:rgba(255,248,240,.5);
  display:grid;place-items:center;
  transition:background .15s,color .15s;
}
#pulseCapture .done-close:hover{background:rgba(255,255,255,.1);color:rgba(255,248,240,.85)}
#pulseCapture .done-panel{padding:22px 18px 18px}
#pulseCapture .done-hero{text-align:center;margin-bottom:18px}
#pulseCapture .done-success{
  position:relative;width:56px;height:56px;margin:0 auto 14px;
  display:grid;place-items:center;border-radius:50%;
  color:#4ade80;
  background:linear-gradient(145deg,rgba(34,197,94,.18),rgba(34,197,94,.06));
  border:1px solid rgba(74,222,128,.35);
  box-shadow:0 8px 28px rgba(34,197,94,.15);
}
#pulseCapture .done-success-glow{
  position:absolute;inset:-8px;border-radius:50%;
  background:radial-gradient(circle,rgba(74,222,128,.25),transparent 70%);
  animation:doneGlow 2.4s ease-in-out infinite;
}
@keyframes doneGlow{
  0%,100%{opacity:.5;transform:scale(1)}
  50%{opacity:1;transform:scale(1.06)}
}
#pulseCapture .done-title{
  font-family:'Inter',sans-serif;font-size:1.2rem;font-weight:800;
  color:#fff8f0;margin:0 0 8px;line-height:1.25;
}
#pulseCapture .done-text{
  font-size:.78rem;color:rgba(255,248,240,.48);line-height:1.55;
  margin:0 auto;max-width:28ch;
}
#pulseCapture .done-hero--event-loss .done-success{
  background:rgba(244,63,94,.12);border-color:rgba(251,113,133,.4);color:#fda4af;
  position:relative;overflow:hidden;
}
#pulseCapture .done-hero--event-loss .done-success::before{
  content:'';position:absolute;inset:-40%;
  background:
    radial-gradient(circle at 30% 40%,rgba(34,211,238,.18),transparent 45%),
    radial-gradient(circle at 70% 60%,rgba(244,63,94,.2),transparent 50%);
  animation:lossTrailFade 2.4s ease-out both;pointer-events:none;
}
@keyframes lossTrailFade{
  0%{opacity:1;transform:scale(1.1)}
  100%{opacity:.35;transform:scale(1)}
}
#pulseCapture .done-hero--event-loss .done-success-glow{
  background:radial-gradient(circle,rgba(244,63,94,.28),transparent 70%);
}
#pulseCapture .done-hero--event-loss .done-title{
  color:#fecdd3;
  text-shadow:0 0 24px rgba(244,63,94,.35);
  letter-spacing:.02em;
}
#pulseCapture .done-hero--event-loss .done-text{color:rgba(255,255,255,.62);max-width:34ch}
#pulseCapture .done-hero--empty .done-success{
  background:rgba(251,191,36,.12);border-color:rgba(251,191,36,.35);color:#fcd34d;
}
#pulseCapture .done-hero--empty .done-success-glow{
  background:radial-gradient(circle,rgba(251,191,36,.22),transparent 70%);
}
#pulseCapture .done-hero--empty .done-title{color:#fde68a}
#pulseCapture .done-hero--empty .done-text{color:rgba(255,255,255,.66);max-width:36ch;margin-left:auto;margin-right:auto}
#pulseCapture .done-script-block{margin-top:4px}
#pulseCapture .done-meta{
  display:flex;align-items:center;justify-content:center;gap:8px;
  flex-wrap:wrap;margin-bottom:14px;
}
#pulseCapture .done-script-badge{
  display:inline-flex;padding:4px 10px;border-radius:100px;
  font-size:.58rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:#fde047;background:rgba(251,191,36,.12);border:1px solid rgba(251,191,36,.28);
}
#pulseCapture .done-game-name{
  font-size:.76rem;font-weight:600;color:rgba(255,248,240,.72);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(100%,220px);
}
#pulseCapture .done-code-card{
  position:relative;padding:18px 16px 16px;border-radius:16px;text-align:center;
  background:linear-gradient(145deg,rgba(251,191,36,.08),rgba(0,0,0,.2));
  border:1px solid rgba(251,191,36,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 24px rgba(0,0,0,.25);
  margin-bottom:14px;
}
#pulseCapture .done-code-card::before{
  content:'';position:absolute;inset:0;border-radius:16px;pointer-events:none;
  background:linear-gradient(135deg,rgba(253,224,71,.08),transparent 55%);
}
#pulseCapture .done-code-kicker{
  display:block;font-size:.58rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(251,191,36,.65);margin-bottom:10px;
}
#pulseCapture .done-script-code{
  position:relative;z-index:1;margin:0;padding:0;
  font-family:'Inter',ui-monospace,Consolas,monospace;
  font-size:clamp(1.25rem,5.5vw,1.55rem);font-weight:800;letter-spacing:.14em;
  color:#fde047;text-align:center;word-break:break-all;line-height:1.2;
}
#pulseCapture .done-retention{
  margin:0 0 14px;padding:10px 12px;border-radius:12px;
  background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);
}
#pulseCapture .done-retention-track{height:4px;border-radius:4px;background:rgba(255,255,255,.08);overflow:hidden;margin-bottom:6px}
#pulseCapture .done-retention-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#f59e0b,#fde047);border-radius:4px;transition:width .5s ease}
#pulseCapture .done-retention-text{margin:0;font-size:.68rem;line-height:1.45;color:rgba(255,248,240,.55);text-align:center}
#pulseCapture .done-actions{display:flex;flex-direction:column;gap:8px}
#pulseCapture .done-script-copy{
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
  padding:14px 18px;border:none;border-radius:14px;cursor:pointer;
  font-family:inherit;font-size:.86rem;font-weight:700;color:#1a0e06;
  background:linear-gradient(130deg,#fde047,#fbbf24,#f97316);
  box-shadow:0 8px 24px rgba(249,115,22,.3);
  transition:transform .12s,box-shadow .2s,background .2s;
}
#pulseCapture .done-script-copy:active{transform:scale(.98)}
#pulseCapture .done-script-copy.copied{
  background:linear-gradient(130deg,#22c55e,#16a34a);color:#fff;
  box-shadow:0 8px 24px rgba(34,197,94,.28);
}
#pulseCapture .done-script-hint{
  margin:14px 0 0;font-size:.64rem;color:rgba(255,248,240,.28);
  text-align:center;line-height:1.5;
}
#pulseCapture .pwd-prep-card{text-align:center}
#pulseCapture .pwd-prep-card .back-btn{display:flex;justify-content:flex-start;width:100%}
#pulseCapture .pwd-prep-icon{font-size:2.2rem;margin-bottom:8px}
#pulseCapture .pwd-prep-text{margin:10px 0 18px;text-align:left}
#pulseCapture .pwd-prep-confirm-hint{font-size:12.5px;color:rgba(120,255,180,.85);margin:0 0 12px;padding:10px 12px;border-radius:12px;background:rgba(80,200,120,.08);border:1px solid rgba(80,200,120,.2)}
#pulseCapture .sp{width:16px;height:16px;border:2.5px solid rgba(255,255,255,.2);border-top-color:#fff;border-radius:50%;animation:pcRot .5s linear infinite;display:inline-block}
@keyframes pcRot{to{transform:rotate(360deg)}}

.country-picker{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:300;display:none;align-items:flex-end;justify-content:center;transition:background .3s ease}
.country-picker.open{display:flex}
.country-picker .cp-box{background:#130a06;border:1px solid rgba(251,191,36,.12);border-radius:20px 20px 0 0;width:100%;max-width:420px;max-height:75dvh;display:flex;flex-direction:column}
.country-picker .cp-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px}
.country-picker .cp-title{font-size:15px;font-weight:700;color:#fff}
.country-picker .cp-close{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.5);cursor:pointer;display:flex;align-items:center;justify-content:center}
.country-picker .cp-search{margin:0 14px 10px;background:rgba(255,255,255,.06);border:1.5px solid rgba(255,255,255,.1);border-radius:12px;height:40px;display:flex;align-items:center;padding:0 12px}
.country-picker .cp-search input{flex:1;background:none;border:none;outline:none;font-family:inherit;font-size:14px;color:#fff}
.country-picker .cp-list{overflow-y:auto;flex:1;padding:0 8px 16px}
.country-picker .cp-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;cursor:pointer}
.country-picker .cp-item:hover{background:rgba(255,255,255,.07)}
.country-picker .cp-item.active{background:rgba(251,191,36,.14)}
.country-picker .cp-name{font-size:14px;color:rgba(255,255,255,.85);flex:1}
.country-picker .cp-dial{font-size:13px;color:rgba(255,255,255,.4);font-weight:600}
.country-picker .cp-flag svg{border-radius:2px}

.pulse-capture-ovl{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:200;display:flex;align-items:flex-end;justify-content:center;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .35s ease,visibility .35s ease}
.pulse-capture-ovl.open{opacity:1;pointer-events:auto;visibility:visible}
@media(min-width:480px){.pulse-capture-ovl{align-items:center;padding:20px}}
.pulse-capture-ovl-box{background:#130a06;border:1px solid rgba(251,191,36,.12);border-radius:20px 20px 0 0;width:100%;max-width:420px;padding:0 20px 20px}
@media(min-width:480px){.pulse-capture-ovl-box{border-radius:20px}}
.pulse-capture-ovl.open .pulse-capture-ovl-box{transform:none}
.pulse-capture-ovl-head{display:flex;align-items:center;justify-content:space-between;padding:18px 0 0}
.pulse-capture-ovl-title{font-size:16px;font-weight:700;color:#fff}
.pulse-capture-ovl-close{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.5);cursor:pointer}
.pulse-capture-ovl-body{padding:14px 0 20px;font-size:13.5px;color:rgba(255,255,255,.55);line-height:1.7}
.pulse-capture-ovl-btn{display:block;width:100%;height:46px;background:linear-gradient(130deg,#fde047,#fbbf24,#f97316);color:#1a0e06;font-family:inherit;font-size:15px;font-weight:700;border:none;border-radius:100px;cursor:pointer}

/* Night theme — auth modals + capture */
body.pulse-theme-night .pulse-auth-gate-card,
body.pulse-theme-night .pulse-login-hub-card{
  background:rgba(8,10,24,.94);
  border-color:rgba(129,140,248,.22);
  box-shadow:0 28px 90px rgba(0,0,0,.75),0 0 40px rgba(99,102,241,.08);
}
body.pulse-theme-night .pulse-auth-gate-icon{
  background:rgba(99,102,241,.14);
  border-color:rgba(165,180,252,.32);
  color:#a5b4fc;
}
body.pulse-theme-night .pulse-auth-gate-title{color:#c7d2fe}
body.pulse-theme-night .pulse-auth-gate-game{color:rgba(165,180,252,.85)}
body.pulse-theme-night .pulse-auth-gate-btn{
  background:linear-gradient(130deg,#a5b4fc,#818cf8,#6366f1);
  color:#fff;
  box-shadow:0 8px 28px rgba(99,102,241,.38);
}
body.pulse-theme-night .pulse-login-hub-title{color:#eef2ff}
body.pulse-theme-night .pulse-terms-box{border-color:rgba(165,180,252,.35);background:rgba(255,255,255,.03)}
body.pulse-theme-night .pulse-terms-input:checked+.pulse-terms-box{
  background:linear-gradient(130deg,#818cf8,#6366f1);
  border-color:#818cf8;
  box-shadow:0 0 0 3px rgba(99,102,241,.18);
}
body.pulse-theme-night .pulse-terms-input:focus-visible+.pulse-terms-box{box-shadow:0 0 0 3px rgba(99,102,241,.28)}
body.pulse-theme-night .pulse-terms-text a,
body.pulse-theme-night .pulse-login-hub-terms a{color:#a5b4fc}
body.pulse-theme-night .pulse-login-option{
  background:rgba(255,255,255,.04);
  border-color:rgba(165,180,252,.14);
}
body.pulse-theme-night .pulse-login-option:hover:not(:disabled){
  background:rgba(99,102,241,.12);
  border-color:rgba(165,180,252,.28);
}
body.pulse-theme-night #pulseCapture{
  --s-bg:#060814;
  --s-accent:#818cf8;
  --s-accent-2:#38bdf8;
  --s-text:#eef2ff;
  --s-text-muted:#94a3b8;
  --s-card-bg:rgba(8,10,24,.94);
  --s-card-border:rgba(129,140,248,.22);
  --s-btn-text:#fff;
}
body.pulse-theme-night #pulseCapture .pf:focus-within{
  border-color:rgba(129,140,248,.55)!important;
  box-shadow:0 0 0 3px rgba(99,102,241,.14)!important;
}
body.pulse-theme-night #pulseCapture .code-box:focus{
  border-color:rgba(129,140,248,.7)!important;
  background:rgba(99,102,241,.08)!important;
}
body.pulse-theme-night #pulseCapture .code-box.filled{border-color:rgba(129,140,248,.4)!important}
body.pulse-theme-night #pulseCapture .timer-txt b{color:#a5b4fc}
body.pulse-theme-night #pulseCapture .resend-btn{color:#818cf8}
body.pulse-theme-night #pulseCapture .max-hint{
  background:rgba(99,102,241,.1);
  border-color:rgba(129,140,248,.22);
  color:rgba(199,210,254,.9);
}
body.pulse-theme-night #pulseCapture .max-hint a{color:#c7d2fe}
body.pulse-theme-night #pulseCapture .legal a{color:rgba(165,180,252,.85)!important}
body.pulse-theme-night #pulseCapture .legal a:hover{color:#c7d2fe!important}
body.pulse-theme-night #pulseCapture .card--done{
  background:linear-gradient(165deg,rgba(8,10,24,.98),rgba(6,8,18,.96));
  border-color:rgba(129,140,248,.22);
  box-shadow:0 24px 70px rgba(0,0,0,.6),0 0 40px rgba(99,102,241,.1);
}
body.pulse-theme-night #pulseCapture .done-success{
  color:#86efac;
  background:linear-gradient(145deg,rgba(34,197,94,.16),rgba(99,102,241,.08));
  border-color:rgba(74,222,128,.3);
}
body.pulse-theme-night #pulseCapture .done-title{color:#eef2ff}
body.pulse-theme-night #pulseCapture .done-text{color:rgba(165,180,252,.55)}
body.pulse-theme-night #pulseCapture .done-script-badge{
  color:#c7d2fe;background:rgba(99,102,241,.16);border-color:rgba(129,140,248,.28);
}
body.pulse-theme-night #pulseCapture .done-game-name{color:rgba(199,210,254,.8)}
body.pulse-theme-night #pulseCapture .done-code-card{
  background:linear-gradient(145deg,rgba(99,102,241,.12),rgba(0,0,0,.25));
  border-color:rgba(129,140,248,.24);
}
body.pulse-theme-night #pulseCapture .done-code-card::before{
  background:linear-gradient(135deg,rgba(129,140,248,.1),transparent 55%);
}
body.pulse-theme-night #pulseCapture .done-code-kicker{color:rgba(165,180,252,.65)}
body.pulse-theme-night #pulseCapture .done-retention{
  background:rgba(99,102,241,.08);border-color:rgba(129,140,248,.15);
}
body.pulse-theme-night #pulseCapture .done-retention-track span{
  background:linear-gradient(90deg,#818cf8,#38bdf8);
}
body.pulse-theme-night #pulseCapture .done-retention-text{color:rgba(165,180,252,.65)}
body.pulse-theme-night #pulseCapture .done-script-code{color:#e0e7ff}
body.pulse-theme-night #pulseCapture .done-script-copy{
  background:linear-gradient(130deg,#a5b4fc,#818cf8,#6366f1)!important;
  color:#fff!important;box-shadow:0 8px 24px rgba(99,102,241,.32)!important;
}
body.pulse-theme-night #pulseCapture .done-script-copy.copied{
  background:linear-gradient(130deg,#22c55e,#16a34a)!important;
}
body.pulse-theme-night #pulseCapture .done-close{
  background:rgba(255,255,255,.06);color:rgba(165,180,252,.55);
}
body.pulse-theme-night #pulseCapture .done-close:hover{
  background:rgba(255,255,255,.1);color:rgba(226,232,240,.9);
}
body.pulse-theme-night #pulseCapture .done-script-hint{color:rgba(165,180,252,.35)}
body.pulse-theme-night #pulseCapture .btn-accent{
  background:linear-gradient(130deg,#a5b4fc,#818cf8,#6366f1)!important;
  color:#fff!important;
  box-shadow:0 4px 18px rgba(99,102,241,.35)!important;
}
body.pulse-theme-night .country-picker .cp-box{
  background:#080a18;
  border-color:rgba(129,140,248,.14);
}
body.pulse-theme-night .country-picker .cp-item.active{background:rgba(99,102,241,.16)}
body.pulse-theme-night .pulse-capture-ovl-box{
  background:#080a18;
  border-color:rgba(129,140,248,.14);
}
body.pulse-theme-night .pulse-capture-ovl-btn{
  background:linear-gradient(130deg,#a5b4fc,#818cf8,#6366f1)!important;
  color:#fff!important;
}
body.pulse-theme-night .pulse-toast{
  background:rgba(8,10,24,.95);
  border-color:rgba(129,140,248,.35);
  color:#c7d2fe;
}
body.pulse-theme-night #pulseCapture .pf-inp:-webkit-autofill,
body.pulse-theme-night #pulseCapture .pf-inp:-webkit-autofill:hover,
body.pulse-theme-night #pulseCapture .pf-inp:-webkit-autofill:focus,
body.pulse-theme-night #pulseCapture .pf-inp:-webkit-autofill:active{
  -webkit-text-fill-color:#eef2ff!important;
  box-shadow:0 0 0 1000px rgba(129,140,248,.08) inset!important;
}
body.pulse-theme-night #pulseCapture #smsHint{color:rgba(165,180,252,.75)!important}
body.pulse-theme-night #pulseCapture .back-btn{color:rgba(165,180,252,.5)}
body.pulse-theme-night #pulseCapture .back-btn:hover{color:#c7d2fe}

/* ── Cooldown + rewarded ad ── */
.pulse-cd-gate,.pulse-ad-player{
  position:fixed;inset:0;z-index:130;display:flex;align-items:center;justify-content:center;
  padding:20px;opacity:0;pointer-events:none;visibility:hidden;
  transition:opacity .38s ease,visibility .38s ease;
}
.pulse-cd-gate.open,.pulse-ad-player.open{opacity:1;pointer-events:auto;visibility:visible}
.pulse-cd-gate-backdrop{
  position:absolute;inset:0;background:rgba(0,0,0,.82);backdrop-filter:blur(6px);
}
.pulse-cd-gate-card{
  position:relative;width:100%;max-width:360px;padding:32px 24px 24px;text-align:center;
  background:linear-gradient(165deg,rgba(18,10,4,.98),rgba(28,14,6,.96));
  border:1px solid rgba(251,191,36,.28);border-radius:24px;
  box-shadow:0 28px 90px rgba(0,0,0,.7),0 0 48px rgba(249,115,22,.1);
  transform:scale(.94) translateY(18px);transition:transform .38s cubic-bezier(.34,1.2,.64,1);
}
.pulse-cd-gate.open .pulse-cd-gate-card{transform:none}
.pulse-cd-gate-close{
  position:absolute;top:12px;right:12px;width:36px;height:36px;border:none;border-radius:11px;cursor:pointer;
  background:rgba(255,255,255,.06);color:rgba(255,248,240,.55);display:grid;place-items:center;
}
.pulse-cd-gate-icon{
  width:56px;height:56px;margin:0 auto 16px;display:grid;place-items:center;border-radius:16px;
  background:linear-gradient(145deg,rgba(251,191,36,.2),rgba(249,115,22,.1));
  border:1px solid rgba(251,191,36,.35);color:#fbbf24;
}
.pulse-cd-gate-kicker{
  font-size:.58rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(251,191,36,.75);margin-bottom:8px;
}
.pulse-cd-gate-title{
  font-family:'Inter',sans-serif;font-size:.92rem;font-weight:600;line-height:1.45;
  color:#fff8f0;margin:0 0 14px;display:flex;flex-direction:column;gap:4px;
}
.pulse-cd-gate-title-text{font-weight:600;color:rgba(255,248,240,.75)}
.pulse-cd-gate-time{
  font-family:'Inter',sans-serif;font-size:1.35rem;font-weight:800;
  font-variant-numeric:tabular-nums;letter-spacing:-.02em;color:#fff8f0;
}
.pulse-cd-gate-text{
  font-size:.78rem;line-height:1.55;color:rgba(255,248,240,.52);margin:0 0 10px;
}
.pulse-cd-gate-ad-hint{
  font-size:.62rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(251,191,36,.65);margin:0 0 14px;
}
.pulse-cd-gate-used{
  font-size:.76rem;line-height:1.5;color:rgba(255,248,240,.48);
  margin:0 0 18px;padding:12px 14px;border-radius:12px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
}
.pulse-cd-gate-watch{
  width:100%;display:flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 20px;border:none;border-radius:100px;cursor:pointer;
  font-family:inherit;font-size:.84rem;font-weight:800;letter-spacing:.03em;
  background:linear-gradient(130deg,#fde047,#fbbf24,#f97316);color:#1a0e06;
  box-shadow:0 10px 32px rgba(249,115,22,.38);transition:transform .12s,box-shadow .2s;
}
.pulse-cd-gate-watch:hover{box-shadow:0 12px 38px rgba(249,115,22,.48)}
.pulse-cd-gate-watch:active{transform:scale(.98)}
.pulse-cd-gate-watch-icon{
  width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:rgba(26,14,6,.18);font-size:.7rem;
}
.pulse-cd-gate-wait{
  width:100%;margin-top:10px;padding:12px;border:none;border-radius:100px;cursor:pointer;
  font-family:inherit;font-size:.76rem;font-weight:600;color:rgba(255,248,240,.45);
  background:transparent;transition:color .15s;
}
.pulse-cd-gate-wait:hover{color:rgba(255,248,240,.7)}
.pulse-cd-gate-sponsor{
  margin:16px 0 0;font-size:.58rem;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(255,248,240,.28);
}

.pulse-ad-player{align-items:flex-end;padding:0}
.pulse-ad-player-shell{
  position:relative;width:100%;max-width:420px;max-height:92dvh;
  background:#06060c;border-radius:24px 24px 0 0;overflow:hidden;
  box-shadow:0 -12px 60px rgba(0,0,0,.65);
  transform:translateY(100%);transition:transform .42s cubic-bezier(.22,1,.28,1);
  display:flex;flex-direction:column;
}
.pulse-ad-player.open .pulse-ad-player-shell{transform:none}
.pulse-ad-player-top{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px 10px;z-index:2;
  background:linear-gradient(180deg,rgba(6,6,12,.95),transparent);
}
.pulse-ad-player-badge{
  font-size:.58rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  padding:5px 10px;border-radius:100px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.7);
}
.pulse-ad-player-timer{
  font-family:'Inter',sans-serif;font-size:.82rem;font-weight:700;font-variant-numeric:tabular-nums;
  color:#fde047;min-width:28px;text-align:right;
}
.pulse-ad-creative{
  position:relative;aspect-ratio:16/10;overflow:hidden;flex-shrink:0;
  background:#0a0a14;
}
.pulse-ad-creative-inner{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;
  padding:20px 18px 18px;
}
.pulse-ad-creative-bg{
  position:absolute;inset:-8%;background-size:cover;background-position:center;
  animation:adKenBurns 12s ease-in-out infinite alternate;
  filter:saturate(1.2) contrast(1.08);
}
.pulse-ad-creative-bg::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,.55) 55%,rgba(0,0,0,.88) 100%);
}
@keyframes adKenBurns{
  from{transform:scale(1.05) translate(0,0)}
  to{transform:scale(1.14) translate(-2%,-1.5%)}
}
.pulse-ad-creative-shine{
  position:absolute;inset:0;pointer-events:none;z-index:1;
  background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.12) 50%,transparent 58%);
  animation:adShine 3.5s ease-in-out infinite;
}
@keyframes adShine{
  0%,100%{transform:translateX(-120%)}
  50%{transform:translateX(120%)}
}
.pulse-ad-creative-brand{
  position:relative;z-index:2;display:flex;align-items:center;gap:10px;margin-bottom:10px;
}
.pulse-ad-creative-logo{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
  font-size:1.1rem;font-weight:900;color:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.35);flex-shrink:0;
}
.pulse-ad-creative-logo-img{
  width:42px;height:42px;border-radius:12px;flex-shrink:0;object-fit:cover;
  box-shadow:0 6px 20px rgba(0,0,0,.35);
}
.pulse-ad-creative-meta{min-width:0;text-align:left}
.pulse-ad-creative-name{
  font-family:'Inter',sans-serif;font-size:1rem;font-weight:800;color:#fff;
  line-height:1.15;margin-bottom:2px;
}
.pulse-ad-creative-tag{font-size:.62rem;font-weight:600;color:rgba(255,255,255,.55)}
.pulse-ad-creative-title{
  position:relative;z-index:2;font-family:'Inter',sans-serif;
  font-size:clamp(1.1rem,4.5vw,1.35rem);font-weight:800;line-height:1.2;
  color:#fff;margin:0 0 6px;text-align:left;
}
.pulse-ad-creative-desc{
  position:relative;z-index:2;font-size:.76rem;line-height:1.45;
  color:rgba(255,255,255,.72);margin:0 0 14px;text-align:left;
}
.pulse-ad-creative-cta{
  position:relative;z-index:2;display:inline-flex;align-items:center;gap:8px;
  padding:10px 18px;border-radius:100px;font-size:.72rem;font-weight:800;
  letter-spacing:.04em;text-transform:uppercase;text-decoration:none;
  background:linear-gradient(130deg,#fde047,#f97316);color:#1a0e06;
  box-shadow:0 6px 22px rgba(249,115,22,.4);
  cursor:pointer;transition:transform .15s,box-shadow .15s,filter .15s;
}
a.pulse-ad-creative-cta:hover{
  filter:brightness(1.06);
  box-shadow:0 8px 26px rgba(249,115,22,.5);
}
a.pulse-ad-creative-cta:active{transform:scale(.98)}
.pulse-ad-creative-cta-dot{
  width:6px;height:6px;border-radius:50%;background:#22c55e;
  box-shadow:0 0 8px #22c55e;animation:adLivePulse 1.2s ease-in-out infinite;
}
@keyframes adLivePulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.6;transform:scale(.85)}
}
.pulse-ad-creative--ru .pulse-ad-creative-logo{background:linear-gradient(135deg,#f97316,#ea580c)}
.pulse-ad-creative--en .pulse-ad-creative-logo{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}
.pulse-ad-creative--zh .pulse-ad-creative-logo{background:linear-gradient(135deg,#a855f7,#7c3aed)}
.pulse-ad-player-progress{
  height:4px;background:rgba(255,255,255,.08);margin:0 16px;
}
.pulse-ad-player-progress-fill{
  display:block;height:100%;width:0;border-radius:4px;
  background:linear-gradient(90deg,#fbbf24,#f97316,#fde047);
  transition:width .25s linear;
  box-shadow:0 0 12px rgba(251,191,36,.45);
}
.pulse-ad-player-hint{
  margin:12px 16px 8px;font-size:.72rem;font-weight:600;text-align:center;
  color:rgba(255,255,255,.45);
}
.pulse-ad-player-skip{
  margin:0 16px 20px;padding:14px;border:none;border-radius:14px;cursor:not-allowed;
  font-family:inherit;font-size:.8rem;font-weight:700;width:calc(100% - 32px);
  background:rgba(255,255,255,.06);color:rgba(255,255,255,.28);
  transition:background .2s,color .2s,transform .12s;
}
.pulse-ad-player-skip.is-ready{
  cursor:pointer;background:linear-gradient(130deg,#22c55e,#16a34a);color:#fff;
  box-shadow:0 8px 28px rgba(34,197,94,.35);
}
.pulse-ad-player-skip.is-ready:active{transform:scale(.98)}

body.pulse-theme-night .pulse-cd-gate-card{
  background:linear-gradient(165deg,rgba(8,10,24,.98),rgba(12,16,32,.96));
  border-color:rgba(129,140,248,.28);
  box-shadow:0 28px 90px rgba(0,0,0,.75),0 0 48px rgba(99,102,241,.12);
}
body.pulse-theme-night .pulse-cd-gate-icon{
  background:linear-gradient(145deg,rgba(129,140,248,.22),rgba(56,189,248,.1));
  border-color:rgba(165,180,252,.35);color:#a5b4fc;
}
body.pulse-theme-night .pulse-cd-gate-kicker{color:#a5b4fc}
body.pulse-theme-night .pulse-cd-gate-title{color:#eef2ff}
body.pulse-theme-night .pulse-cd-gate-title-text{color:rgba(165,180,252,.7)}
body.pulse-theme-night .pulse-cd-gate-time{color:#eef2ff}
body.pulse-theme-night .pulse-cd-gate-ad-hint{color:rgba(165,180,252,.7)}
body.pulse-theme-night .pulse-cd-gate-used{
  color:rgba(165,180,252,.55);
  background:rgba(99,102,241,.08);border-color:rgba(129,140,248,.15);
}
body.pulse-theme-night .pulse-cd-gate-watch{
  background:linear-gradient(130deg,#a5b4fc,#818cf8,#6366f1);color:#fff;
  box-shadow:0 10px 32px rgba(99,102,241,.4);
}
body.pulse-theme-night .pulse-cd-gate-watch-icon{background:rgba(255,255,255,.15)}
body.pulse-theme-night .pulse-ad-player-shell{background:#04060e}
body.pulse-theme-night .pulse-ad-player-progress-fill{
  background:linear-gradient(90deg,#818cf8,#38bdf8,#a5b4fc);
  box-shadow:0 0 12px rgba(129,140,248,.45);
}
body.pulse-theme-night .pulse-ad-player-timer{color:#c7d2fe}
body.pulse-theme-night .pulse-ad-creative-cta{
  background:linear-gradient(130deg,#c7d2fe,#818cf8);color:#0f172a;
}

/* ── Certificate win modal ── */
.pulse-cert-win{
  position:fixed;inset:0;z-index:140;display:flex;align-items:center;justify-content:center;
  padding:20px;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .28s,visibility .28s;
}
.pulse-cert-win.open{opacity:1;pointer-events:auto;visibility:visible}
.pulse-cert-win-backdrop{
  position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(8px);
}
.pulse-cert-win-card{
  position:relative;width:100%;max-width:380px;padding:28px 22px 22px;text-align:center;
  background:linear-gradient(165deg,rgba(18,10,6,.98),rgba(8,6,4,.96));
  border:1px solid rgba(251,191,36,.35);border-radius:24px;
  box-shadow:0 32px 100px rgba(0,0,0,.75),0 0 60px rgba(251,191,36,.15);
  transform:scale(.92) translateY(20px);transition:transform .38s cubic-bezier(.34,1.2,.64,1);
  overflow:hidden;
}
.pulse-cert-win.open .pulse-cert-win-card{transform:none}
.pulse-cert-win-close{
  position:absolute;top:12px;right:12px;width:34px;height:34px;border:none;border-radius:10px;cursor:pointer;
  background:rgba(255,255,255,.06);color:rgba(255,248,240,.5);display:grid;place-items:center;z-index:2;
}
.pulse-cert-win-glow{
  position:absolute;inset:-40%;background:radial-gradient(circle at 50% 30%,rgba(251,191,36,.22),transparent 55%);
  pointer-events:none;animation:certGlowPulse 2.4s ease-in-out infinite;
}
@keyframes certGlowPulse{0%,100%{opacity:.6}50%{opacity:1}}
.pulse-cert-win-icon{
  position:relative;width:64px;height:64px;margin:0 auto 16px;display:grid;place-items:center;border-radius:18px;
  background:linear-gradient(135deg,rgba(251,191,36,.2),rgba(249,115,22,.15));
  border:1px solid rgba(251,191,36,.4);color:#fde047;
  box-shadow:0 0 32px rgba(251,191,36,.25);
}
.pulse-cert-win-title{
  position:relative;font-family:'Inter',sans-serif;font-size:1.35rem;font-weight:800;
  color:#fde047;margin:0 0 8px;letter-spacing:.02em;
}
.pulse-cert-win-sub{
  position:relative;margin:0 0 18px;font-size:.84rem;color:rgba(255,248,240,.62);line-height:1.55;
}
.pulse-cert-win-code-card{
  position:relative;margin-bottom:14px;padding:14px 12px;border-radius:14px;
  background:rgba(0,0,0,.35);border:1px solid rgba(251,191,36,.25);
}
.pulse-cert-win-code-label{
  display:block;font-size:.65rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(251,191,36,.75);margin-bottom:8px;
}
.pulse-cert-win-code{
  margin:0;font-family:'Inter',monospace;font-size:1rem;font-weight:800;letter-spacing:.06em;
  color:#fff8f0;white-space:pre-wrap;word-break:break-all;
}
.pulse-cert-win-activate{
  position:relative;margin:0 0 18px;font-size:.78rem;color:rgba(255,248,240,.5);line-height:1.5;
}
.pulse-cert-win-actions{display:flex;flex-direction:column;gap:10px;position:relative}
.pulse-cert-win-tg{
  display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;border-radius:100px;
  font-size:.82rem;font-weight:800;letter-spacing:.04em;text-decoration:none;color:#fff;
  background:linear-gradient(130deg,#38bdf8,#0ea5e9,#0284c7);
  box-shadow:0 8px 28px rgba(14,165,233,.35);
}
.pulse-cert-win-copy{
  width:100%;padding:12px 18px;border-radius:100px;border:1px solid rgba(251,191,36,.35);
  background:rgba(251,191,36,.08);color:#fde047;font-family:inherit;font-size:.78rem;font-weight:700;
  cursor:pointer;transition:background .15s;
}
.pulse-cert-win-copy:hover{background:rgba(251,191,36,.14)}
body.pulse-theme-night .pulse-cert-win-card{
  background:linear-gradient(165deg,rgba(8,10,24,.98),rgba(6,8,18,.96));
  border-color:rgba(129,140,248,.3);
  box-shadow:0 32px 100px rgba(0,0,0,.8),0 0 60px rgba(99,102,241,.12);
}
body.pulse-theme-night .pulse-cert-win-title{color:#c7d2fe}
body.pulse-theme-night .pulse-cert-win-icon{
  background:linear-gradient(135deg,rgba(129,140,248,.2),rgba(56,189,248,.12));
  border-color:rgba(165,180,252,.35);color:#a5b4fc;
}
body.pulse-theme-night .pulse-cert-win-code-card{border-color:rgba(129,140,248,.25)}
body.pulse-theme-night .pulse-cert-win-code-label{color:rgba(165,180,252,.8)}
body.pulse-theme-night .pulse-auth-gate--event .pulse-auth-gate-card{
  background:
    radial-gradient(90% 70% at 10% 0%,rgba(239,68,68,.2),transparent 55%),
    radial-gradient(80% 60% at 100% 100%,rgba(127,29,29,.2),transparent 60%),
    linear-gradient(165deg,rgba(18,7,10,.98),rgba(10,6,10,.98));
  border-color:rgba(248,113,113,.38);
}
body.pulse-theme-night .pulse-auth-gate--event .pulse-auth-gate-title{color:#fff}
body.pulse-theme-night .pulse-auth-gate--event .pulse-auth-gate-game{color:#f87171}
body.pulse-theme-night .pulse-auth-gate--event .pulse-auth-gate-icon--event,
body.pulse-theme-night .pulse-auth-gate--event .pulse-auth-gate-icon{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:transparent !important;
}
body.pulse-theme-night .pulse-auth-gate--event .pulse-auth-gate-btn{
  background:linear-gradient(130deg,#991b1b,#dc2626 48%,#fb7185);color:#fff;
  box-shadow:0 8px 30px rgba(239,68,68,.42),inset 0 1px 0 rgba(255,255,255,.25);
}
body.pulse-theme-night .pulse-auth-gate--event .pulse-auth-gate-btn:focus-visible{
  outline-color:rgba(248,113,113,.6);
}
