.reel-admin-cover{width:70px;height:95px;object-fit:cover;border-radius:10px;display:block;margin:8px 0}.reel-editor-dialog{width:min(650px,94vw);max-height:92dvh;overflow:auto}.reel-editor-dialog label{display:block;margin:14px 0}.reel-editor-dialog input:not([type=checkbox]),.reel-editor-dialog select,.reel-editor-dialog textarea{width:100%}.reel-editor-video,.reel-preview-dialog video{display:block;width:100%;max-height:45dvh;background:#171322;border-radius:12px}.reel-editor-video:not([src]){display:none}.reel-preview-dialog{width:min(480px,94vw)}.reel-preview-dialog>button{float:left;font-size:24px}#edit-current-image{margin-inline-start:12px}.reels-section{max-width:1400px;margin:40px auto;padding:30px clamp(16px,5vw,70px)}.reel-cards{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(180px,230px);gap:18px;overflow-x:auto;padding:8px 2px 20px;scroll-snap-type:x proximity}.reel-card{position:relative;padding:0 0 16px;background:#fff;color:#211b32;border:1px solid #e2daec;border-radius:18px;overflow:hidden;text-align:start;scroll-snap-align:start;cursor:pointer}.reel-card img,.reel-placeholder{width:100%;aspect-ratio:9/13;object-fit:cover;display:block;background:#211b32;color:white}.reel-placeholder{display:grid;place-items:center}.reel-card strong,.reel-card small{display:block;padding:8px 14px 0}.reel-play{position:absolute;top:35%;left:calc(50% - 24px);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ffffffdf;color:#5b3691;font-size:22px}.reels-empty{padding:25px;border:1px dashed #d3c6e6;border-radius:16px;color:#665b77}#reel-viewer{width:min(480px,96vw);max-height:96dvh;padding:0;border:0;border-radius:20px;background:#171322;color:#fff;overflow-y:auto}#reel-viewer::backdrop{background:#100c1ce8}#reel-viewer video{display:block;width:100%;max-height:58dvh;aspect-ratio:9/16;background:#000;object-fit:contain}.reel-view-top{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;position:sticky;top:0;background:#171322;z-index:2}.reel-view-top button{background:#ffffff20;color:#fff;border:0;border-radius:50%;width:40px;height:40px;font-size:27px;cursor:pointer}.reel-caption{padding:16px 20px}.reel-caption h2{font-size:21px}.reel-caption p{line-height:1.7;font-size:13px;white-space:pre-wrap}.reel-controls{display:flex;gap:8px;margin-top:15px}.reel-controls button{flex:1;background:#332344;color:white;border:1px solid #69517e;border-radius:10px;padding:10px;cursor:pointer}.reel-controls button:disabled{opacity:.4;cursor:default}#reel-viewer .buy-button{width:100%;padding:12px}.reel-status{font-size:12px;min-height:1em}@media(max-width:700px){.reel-cards{grid-auto-columns:65%}.reel-editor-dialog .dialog-footer{flex-wrap:wrap}.reels-section{padding:22px 16px}}
.reel-product-picker{border:1px solid #d8cfdf;border-radius:10px;padding:14px;margin-block:18px}.reel-product-picker summary{cursor:pointer;font-weight:700}.reel-product-picker select{width:100%;min-height:180px}.reel-product-picker option{padding:9px}.reel-frame-tools{padding:15px;background:#f2edf8;border-radius:12px;margin-block:15px}.reel-frame-tools input{width:100%}.reel-frame-tools output{display:block;direction:ltr;text-align:center}.reel-frame-tools button{width:100%;margin-top:12px}
.reel-feed{height:100%;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-y}.reel-feed::-webkit-scrollbar{display:none}.reel-slide{height:100%;position:relative;scroll-snap-align:start;scroll-snap-stop:always;display:flex;flex-direction:column;overflow:hidden;background:#08070c}.reel-position{position:absolute;top:18px;right:20px;z-index:2;text-shadow:0 1px 5px #000}.reel-close-floating{position:absolute;top:10px;left:12px;z-index:5;width:42px;height:42px;border:1px solid #ffffff55;border-radius:50%;background:#0009;color:#fff;font-size:28px;cursor:pointer}body:has(#reel-viewer[open]){overflow:hidden}#reel-viewer{width:min(480px,100vw);height:94dvh;max-height:94dvh;overflow:hidden;padding:0}#reel-viewer .reel-slide video{min-height:0;flex:1;width:100%;height:0;max-height:none;object-fit:contain;aspect-ratio:auto}#reel-viewer .reel-caption{flex-shrink:0;padding:10px 16px;background:#171322}#reel-viewer .reel-caption h2{font-size:16px;margin:0 0 5px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}#reel-viewer .reel-caption details{font-size:12px;margin:4px 0}#reel-viewer .reel-caption details p{max-height:80px;overflow:auto}#reel-viewer .reel-controls{margin-top:8px}#reel-viewer .reel-status:empty{display:none}#reel-viewer .reel-status{margin:4px 0}#reel-viewer .buy-button{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#reel-viewer .reel-controls button{padding:8px}
@media(max-width:700px){.reel-cards{grid-auto-columns:140px;gap:10px}.reel-card img,.reel-placeholder{height:180px;aspect-ratio:auto}.reel-card{border-radius:12px;padding-bottom:10px;min-width:0}.reel-card strong,.reel-card small{padding:6px 10px 0;font-size:12px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.reel-play{width:36px;height:36px;left:calc(50% - 18px);top:70px;font-size:16px}#reel-viewer{inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}#reel-viewer .reel-caption{padding-bottom:max(10px,env(safe-area-inset-bottom))}}
