/* V1.1 FIX4: TikTok opt-in video preview + clipboard poster workflow.
   No iframe is created before an explicit user click. */
.vwm-video-card .video-poster{isolation:isolate}
.vwm-video-card .video-poster .vwm-tiktok-inline-launch{
 position:absolute;z-index:7;right:9px;bottom:9px;border:1px solid #ebffff9c;
 background:#eaf8f5f5;color:#225563;box-shadow:0 3px 12px #112b3240;
 border-radius:9px;padding:7px 10px;font-size:12px;font-weight:800;cursor:pointer;
 max-width:calc(100% - 18px);white-space:normal
}
.vwm-video-card .video-poster .vwm-tiktok-inline-launch:hover,
.vwm-video-card .video-poster .vwm-tiktok-inline-launch:focus-visible{background:#fff;outline:2px solid #64bfc0;outline-offset:2px}
.vwm-video-card .video-poster:has(.vwm-tiktok-inline-launch) .vwm-fallback-prompt{bottom:52px}
.vwm-video-card .video-poster:has(.vwm-tiktok-stage:not([hidden])){
 aspect-ratio:auto!important;min-height:300px;background:#15252d
}
.vwm-video-card .video-poster .vwm-tiktok-stage[hidden]{display:none!important}
.vwm-video-card .video-poster .vwm-tiktok-stage:not([hidden]){
 display:flex;flex-direction:column;width:100%;height:auto;position:relative;
 color:#fff;border-radius:12px;overflow:hidden;z-index:11
}
.vwm-video-card .video-poster .vwm-tiktok-stage:not([hidden]) ~ .poster-play{display:none}
.vwm-video-card .video-poster.vwm-is-tiktok-previewing>img,
.vwm-video-card .video-poster.vwm-is-tiktok-previewing>.poster-fallback,
.vwm-video-card .video-poster.vwm-is-tiktok-previewing>.platform-tag,
.vwm-video-card .video-poster.vwm-is-tiktok-previewing>.broken-tag,
.vwm-video-card .video-poster.vwm-is-tiktok-previewing>.vwm-fallback-prompt,
.vwm-video-card .video-poster.vwm-is-tiktok-previewing>.poster-play,
.vwm-video-card .video-poster.vwm-is-tiktok-previewing>.vwm-tiktok-inline-launch{display:none!important}
.vwm-tiktok-stage-top{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;gap:8px;background:#20323a}
.vwm-tiktok-stage-top strong{font-size:12px;color:#fff}
.vwm-tiktok-stage-top button{border:1px solid #66818b;background:#2c4751;color:#fff;border-radius:7px;cursor:pointer;padding:5px 9px;font-size:12px;min-height:30px}
.vwm-tiktok-stage-frame{width:100%;aspect-ratio:9/16;background:#111;min-height:180px}
.vwm-tiktok-stage-frame iframe{display:block;width:100%;height:100%;border:0}
.vwm-tiktok-stage-footer{font-size:11px;color:#d6e2e4;line-height:1.6;padding:8px 10px;background:#20323a}
.vwm-tiktok-stage-footer a{color:#b9f0ed;text-decoration:underline}
.vwm-cover-paste-panel{border-radius:14px;background:#f0f7f6;border:1px solid #b9d8d4;padding:17px;display:grid;gap:11px}
.vwm-cover-paste-title{display:flex;gap:10px;align-items:center;justify-content:space-between;color:#315960}
.vwm-cover-paste-title strong{font-size:16px}
.vwm-cover-paste-title span{background:#d4eae6;color:#426c6a;font-size:11px;border-radius:20px;padding:4px 9px}
.vwm-cover-paste-panel p{margin:0;font-size:13px;color:#547277;line-height:1.8}
.vwm-cover-paste-panel kbd{font:inherit;font-weight:800;border:1px solid #a7c5c6;background:#fff;border-radius:4px;padding:2px 5px}
.vwm-paste-zone{border:2px dashed #8bbfc2;border-radius:12px;background:#fff;min-height:130px;padding:17px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;cursor:text;text-align:center;color:#3b7477}
.vwm-paste-zone:focus-visible{outline:3px solid #61acbb;outline-offset:2px}
.vwm-paste-zone small{font-size:12px;color:#748d90}
.vwm-paste-zone img:not([hidden]){max-width:min(100%,340px);max-height:250px;object-fit:contain;border-radius:8px;border:1px solid #dceaea}
.vwm-paste-icon{font-size:34px;color:#6c9a9b}
.vwm-paste-status{font-size:12px!important}
@media(max-width:620px){
 .vwm-video-card .video-poster .vwm-tiktok-inline-launch{font-size:11px;padding:6px 7px;right:5px;bottom:5px}
 .vwm-tiktok-stage-top strong{font-size:11px}
 .vwm-video-card .video-poster:has(.vwm-tiktok-stage:not([hidden])){min-height:230px}
 .vwm-cover-paste-panel{padding:13px}
}
