/* Register.gy registration-status notice, dialog and cards (works in light and dark themes). */
.rgy-reg-bar { background: linear-gradient(90deg, #1d2a14, #2a2410); color: #f6edd2; border-bottom: 1px solid rgba(240,194,74,.35); font: 500 .92rem/1.45 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; position: relative; z-index: 101; }
.rgy-reg-bar-in { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.rgy-reg-bar p { margin: 0; flex: 1; }
.rgy-reg-bar strong { color: #ffd76a; }
.rgy-reg-dot { width: 9px; height: 9px; border-radius: 50%; background: #f0c24a; box-shadow: 0 0 0 4px rgba(240,194,74,.18); flex: none; animation: rgyRegPulse 2.4s ease-in-out infinite; }
@keyframes rgyRegPulse { 50% { box-shadow: 0 0 0 7px rgba(240,194,74,.05); } }
.rgy-reg-open, .rgy-reg-form button, .rgy-reg-btn { flex: none; border: 0; border-radius: 999px; background: #f0c24a; color: #1b1606; font: 700 .9rem/1 Inter, system-ui, sans-serif; padding: 10px 16px; cursor: pointer; text-decoration: none; display: inline-block; }
.rgy-reg-open:hover, .rgy-reg-form button:hover, .rgy-reg-btn:hover { filter: brightness(1.06); }
@media (max-width: 640px) { .rgy-reg-bar-in { flex-wrap: wrap; } .rgy-reg-bar p { flex-basis: calc(100% - 24px); } .rgy-reg-open { margin-left: 21px; } }
@media (prefers-reduced-motion: reduce) { .rgy-reg-dot { animation: none; } }
body.rgy-reg-paused .aff-pop { display: none !important; }

.rgy-reg-dlg { margin: auto; inset: 0; height: fit-content; box-sizing: border-box; max-height: calc(100vh - 32px); overflow-y: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 26px 22px 18px; width: min(420px, calc(100vw - 32px)); background: #0b100d; color: #eef3ef; font: 16px/1.5 Inter, system-ui, sans-serif; box-shadow: 0 40px 90px -30px rgba(0,0,0,.85); }
.rgy-reg-dlg::backdrop { background: rgba(3,6,4,.6); backdrop-filter: blur(3px); }
.rgy-reg-dlg h2 { margin: 0 0 6px; font-size: 1.3rem; }
.rgy-reg-dlg > p { margin: 0 0 8px; color: #b9c6bd; font-size: .93rem; }
.rgy-reg-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: .7; }

.rgy-reg-form label { display: block; margin: 10px 0 0; font-size: .86rem; color: inherit; opacity: .92; }
.rgy-reg-form label span { opacity: .65; }
.rgy-reg-form input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 11px 13px; border-radius: 12px; border: 1px solid rgba(128,140,132,.45); background: transparent; color: inherit; font-size: 1rem; }
.rgy-reg-form input:focus { outline: 2px solid #3ddc77; outline-offset: 1px; }
.rgy-reg-form button { width: 100%; margin-top: 14px; padding: 13px 16px; background: #3ddc77; color: #04110a; }
.rgy-reg-form button:disabled { opacity: .6; cursor: default; }
.rgy-reg-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.rgy-reg-out { margin: 10px 0 0; font-size: .9rem; min-height: 1px; }
.rgy-reg-out.is-ok { color: #3ddc77; font-weight: 600; }
.rgy-reg-out.is-err { color: #ff9b7a; }

.rgy-reg-page { max-width: 560px; margin: 24px auto; padding: 28px 24px; border-radius: 22px; border: 1px solid rgba(128,140,132,.3); background: rgba(128,140,132,.06); }
.rgy-reg-page h2 { margin: 6px 0 10px; }
.rgy-reg-badge { display: inline-block; margin: 0; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: rgba(61,220,119,.14); color: #1f9d55; }
.rgy-reg-badge.is-paused { background: rgba(240,194,74,.18); color: #a37800; }
.rgy-reg-form.is-inline { margin-top: 8px; }
.rgy-reg-note { display: block; margin-top: 8px; font-size: .9rem; opacity: .85; }
.rgy-reg-note button { margin-left: 6px; border: 0; border-radius: 999px; background: #f0c24a; color: #1b1606; font-weight: 700; padding: 6px 12px; cursor: pointer; }

/* Light theme (site toggle or device setting) */
:root[data-theme="light"] .rgy-reg-dlg { background: #fff; color: #0b1710; border-color: #dde5df; box-shadow: 0 40px 80px -30px rgba(11,23,16,.35); }
:root[data-theme="light"] .rgy-reg-dlg > p { color: #3e5046; }
:root[data-theme="light"] .rgy-reg-form button { background: #15843d; color: #fff; }
:root[data-theme="light"] .rgy-reg-out.is-ok { color: #0f6a30; }
:root[data-theme="light"] .rgy-reg-out.is-err { color: #b23a12; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .rgy-reg-dlg { background: #fff; color: #0b1710; border-color: #dde5df; box-shadow: 0 40px 80px -30px rgba(11,23,16,.35); }
  :root:not([data-theme="dark"]) .rgy-reg-dlg > p { color: #3e5046; }
  :root:not([data-theme="dark"]) .rgy-reg-form button { background: #15843d; color: #fff; }
  :root:not([data-theme="dark"]) .rgy-reg-out.is-ok { color: #0f6a30; }
  :root:not([data-theme="dark"]) .rgy-reg-out.is-err { color: #b23a12; }
}
