.msp{max-width:760px;margin:0 auto;font-family:inherit}
.msp-title-box,.msp-banner-box,.msp-video-box{display:block;width:100%;border:1px solid rgba(255,255,255,.18);background:rgba(4,20,48,.65);box-shadow:0 10px 24px rgba(0,0,0,.16)}
.msp-title-box{margin:8px 0 10px;padding:10px 14px;border-radius:4px}
.msp-title{text-align:center;font-size:1.4rem;line-height:1.25;margin:0}
.msp-banner-box{margin:0 0 10px;padding:0;border-radius:4px;overflow:hidden}
.msp-banner{display:block;width:100%;max-height:210px;object-fit:cover;border-radius:0}
.msp-video-box{margin:8px 0 14px;padding:10px 14px;border-radius:4px;text-align:center;color:inherit;text-decoration:none!important;font-weight:700}
.msp h3{font-size:1rem;margin:13px 0 6px}
.msp-list{border:1px solid #ddd;border-radius:4px;overflow:hidden;background:rgba(0,0,0,.08)}
.msp-row{display:flex;align-items:center;gap:8px;padding:7px 9px;min-height:52px;border-bottom:1px solid #e6e6e6}
.msp-row:last-child{border-bottom:0}
.msp-thumb{width:42px;height:42px;flex:0 0 42px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);border-radius:4px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.msp-thumb img{width:42px!important;height:42px!important;object-fit:cover;border-radius:0;margin:0!important}
.msp-name{flex:1;min-width:0;font-size:13px;line-height:1.3;font-weight:600}
.msp-price{flex:0 0 auto;white-space:nowrap;font-size:13px;font-weight:700}
.msp-price del{font-size:10px}
.msp-buy,.msp-unavailable{display:inline-flex!important;align-items:center;justify-content:center;font-size:12px!important;padding:7px 9px!important;min-width:51px;border-radius:4px;text-decoration:none!important;white-space:nowrap;line-height:1.2}
.msp-buy{background:#1377dd;color:white!important}
.msp-unavailable{background:#eee;color:#555}
.msp-other-row{border-radius:4px}
.msp-overlay[hidden]{display:none!important}
.msp-overlay{position:fixed;inset:0;background:#0009;z-index:999999;display:flex;align-items:center;justify-content:center;padding:15px}
.msp-modal{width:min(430px,100%);padding:18px;background:#fff;color:#222;border-radius:12px;box-shadow:0 20px 70px #0004}
.msp-modal h3{margin:0 0 12px}
.msp-note{white-space:pre-wrap;line-height:1.5}
.msp-actions{display:flex;justify-content:end;gap:8px;margin-top:16px}
.msp-actions a,.msp-actions button{padding:10px;border-radius:6px;border:1px solid #ddd;font-size:13px;cursor:pointer}
.msp-confirm{background:#1377dd;color:#fff!important;text-decoration:none}
@media(max-width:420px){.msp-row{gap:5px;padding:6px}.msp-thumb,.msp-thumb img{width:34px!important;height:34px!important}.msp-thumb{flex-basis:34px}.msp-name,.msp-price{font-size:11px}.msp-buy,.msp-unavailable{font-size:11px!important;padding:6px!important;min-width:44px}}

.msp-video-overlay[hidden]{display:none!important}.msp-video-overlay{position:fixed;inset:0;background:#000c;z-index:999999;display:flex;align-items:center;justify-content:center;padding:16px}.msp-video-panel{position:relative;width:min(800px,100%);background:#111;border-radius:10px;padding:35px 8px 8px}.msp-video-panel iframe{width:100%;height:auto;aspect-ratio:16/9;border:0}.msp-video-close{position:absolute;right:6px;top:4px;color:#fff;background:transparent;border:0;font-size:28px;cursor:pointer}

.msp-standalone{max-width:950px;margin:20px auto;padding:0 12px;min-height:60vh}

html.msp-video-open{overflow:hidden}
.msp-video-overlay{background:rgba(1,9,24,.82);padding:12px;backdrop-filter:blur(3px)}
.msp-video-panel{width:min(370px,100%);max-height:calc(100dvh - 28px);padding:14px 14px 12px;background:#071d3d;border:1px solid #9d8135;border-radius:17px;box-shadow:0 25px 75px #000a;display:flex;flex-direction:column;gap:12px}
.msp-video-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#ffd04a;font-size:17px}
.msp-video-close{position:static;flex:none;width:35px;height:35px;background:#05152d;border:0;border-radius:50%;font-size:24px;line-height:1;color:#fff}
.msp-video-frame{min-height:0;display:flex;justify-content:center;overflow:hidden;border-radius:10px;background:#08152d}
.msp-video-frame iframe{display:block;width:100%;max-width:330px;height:min(58dvh,565px);aspect-ratio:9/16;border:0}
.msp-video-bottom-close{width:100%;min-height:38px;border:1px solid #c6a64a;border-radius:8px;background:#0b2548;color:#ffd04a;font-weight:700;cursor:pointer}
@media(max-height:600px){.msp-video-frame iframe{height:48dvh}.msp-video-panel{gap:7px;padding:9px}}


/* v1.0.6: restore the site's native sidebars and original grid. */
.msp-modal{background:#071d3d!important;color:#f2f6ff!important;border:1px solid #b69442;border-radius:5px;max-height:calc(100dvh - 30px);overflow:auto;padding:12px}
.msp-modal #msp-modal-title{border:1px solid #ad8f44;background:#112c50;color:#ffd34d;padding:11px;margin:0 0 10px;border-radius:3px;font-size:16px}
.msp-modal .msp-note{background:#102849;border:1px solid #3e5877;border-radius:3px;padding:12px;white-space:pre-wrap;color:#f6f8fd;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.msp-modal .msp-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.msp-modal .msp-actions button,.msp-modal .msp-actions a{min-width:0;width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:3px;text-align:center;padding:8px 6px;font-weight:700}
.msp-modal .msp-cancel{background:#102849;color:#ffd34d;border:1px solid #b69442}
.msp-modal .msp-confirm{background:#146ac5;color:#fff!important;border:1px solid #418fe4}
.msp-unavailable-wrap{display:flex;flex-direction:column;gap:4px;align-items:flex-end;flex-shrink:0}
.msp-opening{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end;color:#ffd34d;font-size:11px;line-height:1.2}
.msp-opening .msp-countdown{font-variant-numeric:tabular-nums;white-space:nowrap}
.msp-video-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#08152d;color:#f5f5fa;text-align:center;font-size:13px;padding:10px;z-index:2}
.msp-video-loading[hidden]{display:none!important}
.msp-video-frame{position:relative}
.msp-spinner{display:block;width:32px;height:32px;border:3px solid #60738d;border-top-color:#ffd34d;border-radius:50%;animation:msp-spin 0.8s linear infinite}
@keyframes msp-spin{to{transform:rotate(360deg)}}
.msp-video-retry{background:#146ac5;color:#fff;border:1px solid #5fa3eb;border-radius:3px;padding:7px 12px;cursor:pointer}
@media(max-width:440px){.msp-unavailable-wrap{max-width:115px}.msp-opening{font-size:10px}.msp-modal{padding:10px}}

/* v1.0.7: use full available content column without hiding site sidebars */
.msp-standalone{width:100%;max-width:100%;box-sizing:border-box;padding:0 10px;margin:12px auto}
.msp-standalone .msp{width:100%;max-width:100%;box-sizing:border-box}
.msp-video-info{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#102b50;border:1px solid #33577f;padding:8px 10px;margin:8px 0 12px;border-radius:5px;font-size:12px}
.msp-video-trigger{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;background:#ed2547;color:#fff!important;border:1px solid #f8ca54;border-radius:5px;text-decoration:none!important;font-weight:700;white-space:nowrap}
.msp-page-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;border:1px solid #33577f;background:#102b50;border-radius:5px;padding:7px 10px;margin-bottom:8px;font-size:12px}
.msp-schedule-info{font-size:11px;color:#ffd34d;line-height:1.4;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.msp-unavailable-wrap .msp-schedule-info{max-width:210px;justify-content:flex-end;text-align:right}
.msp-schedule-info .msp-countdown{font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;background:#08213f;border:1px solid #355d89;padding:3px 6px;border-radius:3px}
@media(max-width:550px){.msp-video-info{gap:6px}.msp-video-trigger{font-size:11px;padding:7px 8px}.msp-unavailable-wrap .msp-schedule-info{max-width:130px}}

/* v1.0.9: phone lookup step stays on the same Smart Page. */
.msp-checkout[hidden],.msp-checkout-result[hidden]{display:none!important}.msp-checkout{margin:14px 0;padding:15px;border:1px solid #375578;border-radius:7px;background:#10294c;color:#fff;scroll-margin-top:100px;display:flex;flex-direction:column;gap:9px}.msp-checkout-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.msp-checkout-cancel{border:1px solid #54739b;background:#081b35;color:#fff;padding:6px 10px;border-radius:4px;cursor:pointer}.msp-checkout-product{padding:8px;border:1px solid #365778;background:#091e3c;border-radius:4px}.msp-checkout-input{display:flex;border:1px solid #537499;border-radius:5px;overflow:hidden;background:#051a35}.msp-checkout-input span{padding:11px;color:#ffc744;border-right:1px solid #537499}.msp-checkout-input input{flex:1;min-width:0;border:0;background:transparent;color:white;padding:10px;font-size:15px}.msp-checkout small{color:#c1d5ef}.msp-checkout-next{border:0;border-radius:5px;background:#ffc844;color:#06172c;padding:11px;cursor:pointer;font-weight:700}.msp-checkout-next:disabled{opacity:.65;cursor:wait}.msp-checkout-result{padding:10px;border:1px solid #527296;background:#0b2140;border-radius:4px}.msp-checkout-status{min-height:1em;margin:0;color:#ffe29b}

/* v1.0.10: native MuqPro User Access flow inside Smart Pages */
.msp-auth-stage[hidden],.msp-auth-back[hidden]{display:none!important}
.msp-auth-stage{display:flex;flex-direction:column;gap:9px}
.msp-auth-stage>button,.msp-auth-back{border:1px solid #557ca5;border-radius:4px;padding:10px;background:#102c51;color:#fff;cursor:pointer;font-weight:600}
.msp-auth-stage>button:disabled{opacity:.6;cursor:wait}
.msp-auth-stage input{width:100%;min-width:0;background:#061b36;border:1px solid #557ca5;color:#fff;border-radius:4px;padding:11px}
.msp-auth-stage .msp-checkout-next{background:#ffc844;color:#06172c;border:0;display:block;text-align:center;text-decoration:none!important}
.msp-auth-stage label{font-weight:600;font-size:13px}
.msp-auth-stage p{margin:2px 0;font-size:13px}

/* ID check mirrors Shop Core verified/invalid states */
.msp-player-entry{position:relative}.msp-player-entry .msp-player-id{padding-inline-end:38px}
.msp-id-mark{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);font-size:22px;font-weight:800}
.msp-checkout[data-player-state="verified"] .msp-id-mark{color:#31cf82}
.msp-checkout[data-player-state="invalid"] .msp-id-mark,.msp-checkout[data-player-state="restricted"] .msp-id-mark{color:#ff6972}
.msp-checkout[data-player-state="verified"] .msp-player-entry input{border-color:#31cf82}
.msp-checkout[data-player-state="invalid"] .msp-player-entry input,.msp-checkout[data-player-state="restricted"] .msp-player-entry input{border-color:#ff6972}
.msp-player-feedback{color:#ff9da3;border:1px solid #b94e5a;border-radius:4px;padding:9px;white-space:pre-wrap}
.msp-player-result{border:1px solid #277e63;border-radius:4px;padding:10px;background:#0d3040}
.msp-player-name{display:block;color:#d9fff0;padding:7px;border:1px solid #326a59;border-radius:4px;margin-top:5px}
.msp-player-suggestions{border:1px solid #557ca5;border-radius:4px;background:#0a2445;max-height:200px;overflow:auto}
.msp-player-suggestion-row{display:flex;gap:4px;border-bottom:1px solid #345475}
.msp-player-suggestion-row button{background:transparent;color:white;border:0;padding:9px;cursor:pointer}
.msp-player-suggestion-row .msp-player-pick{flex:1;text-align:start}
.msp-player-suggestion-row button:hover{background:#21456c}
.msp-player-suggestion-row .msp-player-remove{color:#ffa5a5}
.msp-auth-stage .msp-change-player{border:1px solid #587da1;background:#102c51;color:white}
.msp-auth-stage .msp-player-result[hidden],.msp-auth-stage .msp-player-suggestions[hidden],.msp-auth-stage .msp-change-player[hidden],.msp-auth-stage .msp-player-feedback[hidden],.msp-auth-stage .msp-verify-player[hidden]{display:none!important}

.msp-native-checkout{margin:14px 0;padding:14px;border:1px solid #345577;border-radius:8px;background:#102849;color:#fff}.msp-native-checkout .woocommerce{width:100%}.msp-native-checkout input,.msp-native-checkout select{max-width:100%}

/* WaafiPay pre-request confirmation: no cart mutation or API call until confirmed. */
.msp-prepay[hidden]{display:none!important}.msp-prepay{position:fixed;inset:0;z-index:999998;display:flex;align-items:center;justify-content:center;padding:15px}.msp-prepay-shade{position:absolute;inset:0;background:rgba(0,9,25,.83);backdrop-filter:blur(3px)}.msp-prepay-dialog{position:relative;width:min(355px,100%);max-height:94dvh;overflow:auto;padding:14px 12px;background:#0b2446;border:1px solid #a9883c;border-radius:12px;color:#f4f5fa;text-align:center;box-shadow:0 24px 60px #0008}.msp-prepay-icon{border:2px solid #f2bd43;color:#f2bd43;border-radius:50%;width:42px;height:42px;line-height:38px;font-size:23px;font-weight:800;margin:0 auto}.msp-prepay-dialog h2{color:#f9bc35;font-size:15px;margin:10px 0}.msp-prepay-dialog p{font-size:12px;line-height:1.5;margin:9px 0}.msp-prepay-phone,.msp-prepay-amount{padding:11px 8px;border:1px solid #1b8fa5;border-radius:8px;background:#09203e;font-size:14px;font-weight:800}.msp-prepay-phone{color:#29d6df}.msp-prepay-dialog h4{font-size:13px;color:#ffd457;margin:12px 0 7px}.msp-prepay-steps{margin:12px 0;padding:11px;border:1px solid #315474;border-radius:8px;text-align:start;font-size:13px}.msp-prepay-steps strong{color:#f1c34a}.msp-prepay-steps ol{padding-inline-start:18px}.msp-prepay-steps li{margin:6px 0}.msp-prepay-continue,.msp-prepay-back{display:block;width:100%;padding:12px 8px;margin-top:7px;font-weight:800;border-radius:7px;cursor:pointer}.msp-prepay-continue{background:#e9b94c;color:#061933;border:0}.msp-prepay-back{background:transparent;color:#f6c44b;border:1px solid #927c47}html.msp-prepay-open{overflow:hidden}

/* v1.0.22: iPhone Safari auto-zoom prevention on all auth inputs.
   Scope is Smart Pages only; native User Access layout is untouched. */
@media (max-width: 760px) {
  .msp-checkout .msp-auth-stage input,
  .msp-checkout .msp-checkout-input input {
    font-size: 16px !important;
    line-height: 1.35;
    scroll-margin-block: 16px 100px;
    -webkit-text-size-adjust: 100%;
  }
  .msp-checkout .msp-auth-stage[data-stage="password"] {
    scroll-margin-top: 16px;
  }
}

/* v1.0.27: MuqPro gold pricing, including WooCommerce price markup. */
.msp .msp-price,.msp .msp-price ins,.msp .msp-price bdi,.msp .msp-price .woocommerce-Price-amount{color:#ffd04a!important}
.msp .msp-price del,.msp .msp-price del bdi{color:#aab6c6!important}
