/* Small and touch-friendly authentication layer over the existing WordPlanet UI. */
body.wpMemberGate > :not(#wpMemberAuth):not(script) { display:none !important; }
#wpMemberAuth,#wpMemberLock { position:fixed; z-index:999999; inset:0; background:#f5f0ff; display:flex; align-items:center; justify-content:center; padding:20px; overflow:auto; box-sizing:border-box; font-family:system-ui,-apple-system,"PingFang SC",sans-serif; color:#34294f; }
#wpMemberAuth[hidden],#wpMemberLock[hidden] { display:none !important; }
#wpMemberLock {background:#2a1c47a6;backdrop-filter:blur(5px)}
.wpmCard { width:min(100%,410px);box-sizing:border-box;border-radius:25px;background:white;box-shadow:0 10px 48px #4b237320;padding:26px 24px;text-align:center }
.wpmIcon { font-size:42px;line-height:1.3 }
.wpmCard h1,.wpmCard h2 {font-size:25px;line-height:1.4;margin:8px 0 5px;color:#392856;}
.wpmCard h2 {font-size:21px}
.wpmSub {font-size:14px;color:#766888;margin:4px 0 22px}
.wpmCard label {display:block;text-align:left;color:#493d62;font-size:14px;font-weight:650;margin:14px 0 0}
.wpmCard input {width:100%;box-sizing:border-box;margin-top:7px;height:46px;border:1px solid #d7cdec;border-radius:12px;font-size:16px;padding:10px 12px;color:#34294f;background:#fff}
.wpmCard input:focus {outline:2px solid #ae83e7;border-color:#a77ee9}
.wpmTabs {display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#f5f0ff;border-radius:13px;padding:5px}
.wpmTabs button {border:0;padding:10px 8px;background:transparent;border-radius:9px;font-size:15px;color:#776889}
.wpmTabs button.selected {background:#fff;color:#6340af;box-shadow:0 1px 8px #4d328220;font-weight:700}
.wpmButton,.wpmOutline {min-height:45px;width:100%;font-size:15px;border-radius:12px;margin-top:14px;padding:10px 12px;font-weight:700;cursor:pointer}
.wpmButton {border:0;color:#fff;background:#7855c5}
.wpmButton:disabled {opacity:.6}
.wpmOutline {border:1px solid #d0bdea;color:#6248a2;background:#fff}
.wpmError {color:#b8234c;font-size:13px;min-height:18px;line-height:1.5}
.wpmNote {font-size:12px;line-height:1.8;color:#877a98;margin:18px 0 0}
#wpMemberLock .wpmCard p {line-height:1.8;font-size:14px}
#wpmAccountPanel {margin:8px 0;padding:10px;border:1px solid #e3dbf2;border-radius:10px;}
#wpmAccountPanel p {line-height:1.7}
@media (max-width:400px) {.wpmCard{padding:22px 17px}.wpmCard h1{font-size:22px}}
