/* Welcome popup — first visit only (localStorage mca-welcome-v32) */
.wl-root{position:fixed;inset:0;z-index:200000;display:flex;align-items:center;justify-content:center;padding:1rem;border:0;margin:0;width:100%;max-width:none;height:100%;max-height:none;background:transparent;box-sizing:border-box}
.wl-root::backdrop{background:rgba(74,46,53,.38)}
body.wl-lock .book-pair{visibility:hidden !important}
.wl-root[hidden]{display:none !important}
.wl-back{position:absolute;inset:0;background:rgba(74,46,53,.38);border:0;padding:0;cursor:pointer}
.wl-card{position:relative;z-index:1;width:min(26rem,100%);max-height:min(92vh,52rem);overflow:auto;background:#FBF5EE;color:#4A2E35;border:1px solid rgba(184,145,58,.45);border-radius:1.4rem;box-shadow:0 18px 50px rgba(74,46,53,.22);padding:1.35rem 1.2rem 1.4rem;text-align:center;background-image:url("../images/welcome/roses.webp"),url("../images/welcome/roses.webp");background-repeat:no-repeat;background-size:7.2rem auto,6.4rem auto;background-position:top .4rem right .3rem,bottom .3rem left .2rem}
.wl-x{position:absolute;top:.55rem;left:.55rem;width:2.4rem;height:2.4rem;border:0;border-radius:50%;background:rgba(255,255,255,.75);color:#4A2E35;font-size:1.35rem;line-height:1;cursor:pointer}
.wl-x:hover,.wl-x:focus{background:#fff;outline:2px solid #B8913A}
.wl-logo{width:4.2rem;height:4.2rem;margin:.2rem auto .7rem;border-radius:50%;border:2px solid #B8913A;padding:.18rem;background:#fff;display:grid;place-items:center}
.wl-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.wl-hello{font-weight:700;font-size:1.12rem;line-height:1.9;margin:0 0 .35rem;color:#4A2E35}
.wl-sub{margin:0 0 1rem;color:#4A2E35;opacity:.9;line-height:1.85;font-size:.98rem}
.wl-gift{display:block;margin:0 auto 1rem;text-decoration:none;color:inherit;border-radius:1rem;overflow:hidden;border:1px solid rgba(184,145,58,.4);background:#fff;max-width:18rem}
.wl-gift img{display:block;width:100%;height:auto}
.wl-gift span{display:block;padding:.45rem .7rem .6rem;font-size:.82rem;color:#B8913A;font-weight:700}
.wl-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem;margin:0 0 1.15rem}
.wl-actions a{font-size:.82rem;font-weight:700;color:#4A2E35;border-bottom:1px solid rgba(184,145,58,.7);text-decoration:none;padding-bottom:1px}
.wl-actions a:hover{color:#B8913A}
.wl-actions a+a::before{content:"·";display:inline-block;margin-inline-end:.55rem;color:#B8913A;border:0;text-decoration:none}
.wl-q{margin:0 0 .7rem;font-weight:700;font-size:1rem;line-height:1.8}
.wl-opts{display:grid;gap:.45rem;margin:0 0 .7rem;text-align:right}
.wl-opts label{display:flex;align-items:center;gap:.55rem;background:rgba(255,255,255,.7);border:1px solid rgba(184,145,58,.28);border-radius:.8rem;padding:.55rem .7rem;cursor:pointer;font-size:.95rem}
.wl-opts label:has(input:checked),.wl-opts label:hover{border-color:#B8913A;background:#fff}
.wl-opts input{accent-color:#B8913A;width:1.05rem;height:1.05rem;flex:0 0 auto}
.wl-other,.wl-mail{width:100%;margin:0 0 .7rem;border:1px solid rgba(184,145,58,.35);border-radius:.8rem;background:#fff;color:#4A2E35;padding:.65rem .75rem;font:inherit;font-size:.92rem}
.wl-other[hidden]{display:none !important}
.wl-mail-lab{display:block;text-align:right;font-size:.82rem;margin:0 0 .35rem;color:#4A2E35}
.wl-err{color:#8a2f3a;font-size:.82rem;margin:0 0 .55rem;min-height:1.1em}
.wl-err[hidden]{display:none !important}
.wl-submit{appearance:none;border:0;border-radius:999px;background:#B8913A;color:#fff;font:700 .95rem inherit;padding:.7rem 1.5rem;cursor:pointer;min-height:2.7rem}
.wl-submit:hover{filter:brightness(.96)}
.wl-skip{display:block;margin:.7rem auto 0;background:none;border:0;color:#4A2E35;opacity:.8;font:inherit;font-size:.86rem;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.wl-thanks{margin:0;line-height:1.9;font-size:1.02rem}
@media (max-width:420px){
  .wl-card{padding:1.05rem .95rem 1.35rem;background-size:5.2rem auto,4.8rem auto}
  .wl-gift{max-width:10.4rem}
}
@media (prefers-reduced-motion:reduce){
  .wl-root,.wl-card{transition:none}
}
body.wl-lock{overflow:hidden}

body.wl-lock .ann-bar,
body.wl-lock .wa-float,
body.wl-lock .nav,
body.wl-lock .menu-btn{visibility:hidden}
