/* Isolated floating explainer; existing storefront styles remain unchanged. */
#afo-video-widget{--afw-ink:#0e1726;--afw-gold:#b7954d;--afw-obstacle:0px;position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(max(20px,env(safe-area-inset-bottom)) + var(--afw-obstacle));width:270px;z-index:1100;color:var(--afw-ink);font-family:var(--sans,Arial,sans-serif);transition:bottom .18s ease,opacity .2s ease,transform .2s ease}
#afo-video-widget[hidden],#afo-video-widget [hidden]{display:none!important}
#afo-video-widget .afw-launch{display:flex;align-items:center;gap:12px;width:100%;min-height:88px;padding:10px 13px 10px 10px;border:1px solid rgba(183,149,77,.48);border-radius:18px;background:#fbf8ef;color:var(--afw-ink);box-shadow:0 7px 26px rgba(14,23,38,.18);text-align:left;font:inherit;cursor:pointer;appearance:none;overflow:hidden}
#afo-video-widget .afw-preview-box{position:relative;display:block;flex:none;width:112px;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#0e1726}
#afo-video-widget .afw-preview{width:100%;height:100%;display:block;object-fit:contain;pointer-events:none}
#afo-video-widget .afw-play{position:absolute;inset:0;display:grid;place-items:center;background:rgba(14,23,38,.12);pointer-events:none}
#afo-video-widget .afw-play svg{width:30px;height:30px;padding:8px;border-radius:50%;color:#0e1726;background:#e8ce91;box-sizing:content-box;box-shadow:0 2px 9px rgba(0,0,0,.16)}
#afo-video-widget .afw-label{display:block;min-width:0}
#afo-video-widget .afw-title{display:block;font-size:13px;font-weight:700;line-height:1.3;letter-spacing:0}
#afo-video-widget .afw-duration{display:block;margin-top:4px;color:#5b626d;font-size:11px;font-weight:500;line-height:1.4}
#afo-video-widget .afw-dismiss{position:absolute;right:-9px;top:-23px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--afw-ink);cursor:pointer;appearance:none}
#afo-video-widget .afw-dismiss svg{width:14px;height:14px;padding:5px;background:#fff;border:1px solid #dfdccf;border-radius:50%;box-sizing:content-box;box-shadow:0 2px 5px rgba(14,23,38,.1)}
#afo-video-widget button:focus-visible{outline:3px solid var(--afw-gold);outline-offset:3px}
#afo-video-player{position:fixed;inset:0;width:min(860px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);height:fit-content;min-height:0;margin:auto;padding:0;border:1px solid rgba(183,149,77,.45);border-radius:18px;overflow:hidden;background:#fbf8ef;color:#0e1726;box-shadow:0 18px 70px rgba(0,0,0,.35);font-family:var(--sans,Arial,sans-serif);z-index:2147480000}
#afo-video-player:not([open]){display:none}
#afo-video-player::backdrop{background:rgba(8,13,22,.78);backdrop-filter:blur(4px)}
#afo-video-player .afw-modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px 8px 20px;background:#fbf8ef}
#afo-video-player .afw-modal-title{margin:0;font-family:var(--sans,Arial,sans-serif);font-size:16px;font-weight:700;line-height:1.4;letter-spacing:0}
#afo-video-player .afw-modal-close{flex:none;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#0e1726;cursor:pointer;padding:0}
#afo-video-player .afw-modal-close svg{width:21px;height:21px}
#afo-video-player .afw-modal-close:focus-visible{outline:3px solid #b7954d;outline-offset:-3px}
#afo-video-player .afw-full{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:calc(100dvh - 110px);background:#0e1726;object-fit:contain}
@media(max-width:620px){
 #afo-video-widget{right:max(12px,env(safe-area-inset-right));bottom:calc(max(12px,env(safe-area-inset-bottom)) + var(--afw-obstacle));width:224px}
 #afo-video-widget .afw-launch{min-height:76px;padding:8px;gap:9px;border-radius:15px}
 #afo-video-widget .afw-preview-box{width:96px;border-radius:8px}
 #afo-video-widget .afw-title{font-size:12px}
 #afo-video-widget .afw-duration{font-size:10px}
 #afo-video-widget .afw-play svg{width:22px;height:22px;padding:7px}
 #afo-video-player{width:calc(100vw - 20px);border-radius:14px}
 #afo-video-player .afw-modal-head{padding:6px 8px 6px 14px}
 #afo-video-player .afw-modal-title{font-size:14px}
}
@media(prefers-reduced-motion:reduce){#afo-video-widget{transition:none}}
