/* Only the current opening exists; no hidden full-catalogue copies. */
body .book>.spread.is-active{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;transform:none!important}
body .book{transform:none!important}
.op-window-status{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);z-index:99999;background:#211b0d;color:#ffe370;padding:10px 18px;border-radius:12px}
#op-window-dialog{background:#19160e;color:#fff4cf;border:1px solid #deb83d;border-radius:18px;max-width:650px;width:85vw;max-height:80vh;padding:24px}#op-window-dialog::backdrop{background:#0009}#op-window-dialog input{width:100%;padding:12px}#op-window-dialog a{display:block;color:#ffdc67;padding:10px}#op-window-dialog button{padding:10px;margin:8px}

/* Lateral controls belong to the paginated reader, independently of Turn.js. */
.op-window-edge-nav{display:none}
@media(min-width:769px){
 .magazine-shell .book-wrap>.op-window-edge-nav{display:block;position:absolute;inset:0;z-index:240;pointer-events:none}
 .op-window-edge-nav>.op-window-edge{position:absolute;top:50%;transform:translateY(-50%);width:30px;height:54px;display:flex;align-items:center;justify-content:center;margin:0;padding:0;pointer-events:auto;border:1px solid #e8bd30;background:linear-gradient(#29230f,#090908,#171305);color:#ffdc46;font:900 36px/1 Georgia,serif;box-shadow:0 5px 14px #0006;cursor:pointer;touch-action:manipulation}
 .op-window-edge-nav>.op-window-edge-prev{left:0;border-radius:0 13px 13px 0}
 .op-window-edge-nav>.op-window-edge-next{right:0;border-radius:13px 0 0 13px}
 .op-window-edge-nav>.op-window-edge:focus-visible{outline:2px solid #ffe67d;outline-offset:3px}
 .op-window-edge-nav>.op-window-edge:hover:not(:disabled){filter:brightness(1.25)}
 .op-window-edge-nav>.op-window-edge:disabled{opacity:.4;cursor:default}
}


/* Same compact glass panel and list presentation as active campaigns. */
#op-window-dialog{position:fixed;inset:74px 22px auto auto;margin:0;box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-width:420px;max-height:calc(100vh - 100px);padding:18px;border:1px solid rgba(229,188,45,.55);border-radius:24px;background:rgba(13,13,9,.96);color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.48);backdrop-filter:blur(20px);z-index:99995;overflow:auto;font-family:inherit}
#op-window-dialog:not([open]){display:none}#op-window-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}#op-window-dialog h2{margin:0;font-size:20px;line-height:1.1;font-weight:950;letter-spacing:-.02em;color:#fff}
#op-window-dialog p{margin:0 0 14px;color:rgba(255,255,255,.78);font-size:13px;line-height:1.35}
#op-window-dialog button{border:1px solid rgba(229,188,45,.45);border-radius:12px;background:#e5bc2d;color:#111;font-weight:900;padding:10px 14px;cursor:pointer;margin:0}
#op-window-dialog header button{width:34px;height:34px;min-width:34px;padding:0;border-radius:50%;font-size:22px;line-height:1}
#op-window-dialog form{display:flex;gap:8px;margin:16px 0}#op-window-dialog input{box-sizing:border-box;flex:1;min-width:0;background:#211b12;color:#fff;border:1px solid #9c7d3c;border-radius:10px;font:inherit;padding:10px 12px;width:100%}
#op-window-dialog .op-window-collections{display:grid;grid-template-columns:1fr;gap:10px;max-height:55vh;overflow:auto;padding-right:2px}
#op-window-dialog a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:0;border:1px solid rgba(229,188,45,.35);border-radius:17px;background:rgba(255,255,255,.07);color:#fff;text-decoration:none;font-size:14px;line-height:1.25}
#op-window-dialog .op-window-collections span{order:2;font-size:11px;color:rgba(255,255,255,.74)}#op-window-dialog a:hover{background:#e5bc2d;color:#111;border-color:#111}#op-window-dialog :focus-visible{outline:2px solid #ffe175;outline-offset:2px}
.op-merchant-filter-campaign summary{cursor:pointer;list-style-position:inside;padding:12px 14px;border:1px solid #9c7d3c;border-radius:17px;background:rgba(229,188,45,.12);color:#ffe175;font-weight:900}
.op-merchant-filter-campaign:not([open])>:not(summary){display:none!important}.op-merchant-filter-campaign[open] .op-merchant-filter-list{display:grid;gap:8px;max-height:32vh;overflow:auto;margin-top:8px}.op-merchant-no-results[hidden]{display:none!important}
@media(max-width:760px){#op-window-dialog{left:12px;right:12px;top:72px;width:auto;max-width:none}}
