/* Shared cards follow the selected menu colour, with red as the default. */
:root{--wx-card:#260b19;--wx-card-top:#421226;--wx-card-edge:#9d3656;--wx-card-accent:#ff456e;--wx-card-text:#ffeaf1;--wx-card-muted:#e1b6c5;--wx-card-button:#d71e4a}
html[data-wn-theme=blue]{--wx-card:#0c1b31;--wx-card-top:#172f50;--wx-card-edge:#375c8b;--wx-card-accent:#75b5ff;--wx-card-text:#edf5ff;--wx-card-muted:#b7cce5;--wx-card-button:#286cbe}
#wz-error .wz-err-dim{background:rgba(12,2,8,.72);backdrop-filter:blur(8px)}
#wz-error .wz-err-modal{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-width:520px;max-height:calc(100dvh - 32px);overflow:auto;background:var(--wx-card);border:1px solid var(--wx-card-edge);border-radius:24px;box-shadow:0 24px 80px #0009,0 0 32px color-mix(in srgb,var(--wx-card-accent) 12%,transparent);color:var(--wx-card-text)}
#wz-error .wz-err-head{padding:24px 24px 20px;background:linear-gradient(150deg,var(--wx-card-top),var(--wx-card));border-bottom:1px solid var(--wx-card-edge);gap:14px;justify-content:flex-start}
#wz-error .wz-err-head h3{font-size:23px;line-height:1.25;text-align:start;color:var(--wx-card-text);margin:0}
#wz-error .wz-err-ico{flex:0 0 44px;width:44px;height:44px;border:1px solid var(--wx-card-accent);border-radius:14px;background:var(--wx-card-top);box-shadow:none;color:var(--wx-card-accent)}
#wz-error .wz-err-ico svg{width:25px;height:25px;stroke:var(--wx-card-accent)}
#wz-error .wz-err-body{padding:22px 24px 12px;color:var(--wx-card-muted);font-weight:500;font-size:15px;line-height:1.6}
#wz-error .wz-err-body p{color:var(--wx-card-text);font-weight:700;margin:0 0 10px}
#wz-error .wz-err-tips{padding-inline-start:20px;margin:0 0 20px}
#wz-error .wz-err-tips li{margin:7px 0;line-height:1.55}
#wz-error .wz-err-code{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#0003;border:1px solid var(--wx-card-edge);border-radius:12px;color:var(--wx-card-muted)}
#wz-error .wz-err-code .lbl{font-size:12px;font-weight:600;color:var(--wx-card-muted)}
#wz-error .wz-err-code .val{background:var(--wx-card-top);color:var(--wx-card-text);border:0;border-radius:8px;font:700 13px/1.2 monospace;padding:8px 10px}
#wz-error .wz-err-actions{padding:12px 24px 24px}
#wz-error #wzErrRetry{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px;border:1px solid var(--wx-card-accent);border-radius:12px;background:var(--wx-card-button);box-shadow:0 5px 16px #0003;color:#fff;font-size:17px;text-decoration:none;cursor:pointer}
#wz-error #wzErrRetry:hover{filter:brightness(1.12)}
#wz-error #wzErrRetry:focus-visible{outline:3px solid var(--wx-card-text);outline-offset:3px}
body.wn-ui .home-auth,body.wn-ui .home-auth-inner{background:var(--wx-card);border-color:var(--wx-card-edge);color:var(--wx-card-text)}
#stepRegister{padding:20px;box-sizing:border-box;border:1px solid var(--wx-card-edge);border-radius:18px;background:linear-gradient(155deg,var(--wx-card-top),var(--wx-card));gap:14px}
#stepRegister .wx-register-title{font-size:22px;line-height:1.25;color:var(--wx-card-text);margin:0;text-align:center}
#stepRegister .wx-register-intro{font-size:14px;line-height:1.55;color:var(--wx-card-muted);margin:0 0 4px;text-align:center}
#stepRegister .ha-field{background:#0003;border:1px solid var(--wx-card-edge);color:var(--wx-card-text);min-width:0;width:100%;box-sizing:border-box}
#stepRegister .ha-accept{align-items:flex-start;line-height:1.5;color:var(--wx-card-muted);font-weight:500}
#stepRegister .ha-accept input{accent-color:var(--wx-card-accent);flex:0 0 18px;margin-top:2px}
#stepRegister a{color:var(--wx-card-text);text-decoration:underline;text-underline-offset:3px}
#stepRegister .ha-btn.primary{background:var(--wx-card-button);border-color:var(--wx-card-accent);color:#fff;min-height:48px}
#turnstile-container{display:flex;justify-content:center;min-height:65px;max-width:100%}
@media(max-width:420px){#wz-error .wz-err-head{padding:20px 18px 16px}#wz-error .wz-err-head h3{font-size:20px}#wz-error .wz-err-body{padding:18px 18px 10px}#wz-error .wz-err-actions{padding:10px 18px 20px}#stepRegister{padding:14px}.home-auth-inner{padding:12px!important}}
