:root{
  --bg:#f7f4fc;
  --panel:#ffffff;
  --line:#e8e2f0;
  --ink:#15121a;
  --muted:#716b7d;
  --purple:#704fff;
  --purple-dark:#5531dc;
  --lav:#f1edff;
  --green:#34c759;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:Inter,Arial,sans-serif}
button,input,textarea{font:inherit}
button{cursor:pointer}
.app-shell{display:grid;grid-template-columns:370px minmax(0,1fr);min-height:100vh}
.sidebar{height:100vh;overflow:auto;padding:0 14px 28px;border-right:1px solid var(--line);background:var(--bg)}
.brand{margin:0 -14px 16px;padding:22px 18px 25px;display:flex;gap:12px;align-items:center;color:#fff;background:linear-gradient(135deg,#704fff 0%,#9d4eff 52%,#ec53b4 100%)}
.mark{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:#fff;color:var(--purple);font-weight:900;letter-spacing:-1px}
.brand h1{margin:0;font-size:21px}
.brand p{margin:3px 0 0;font-size:12px;color:rgba(255,255,255,.88)}
.status{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#faf8ff}
.status strong,.status small{display:block}
.status strong{font-size:13px}
.status small{margin-top:2px;font-size:11px;color:var(--muted)}
.dot{width:10px;height:10px;border-radius:50%;background:var(--green)}
.card{margin-bottom:11px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.eyebrow{margin-bottom:4px;font-size:10px;font-weight:850;letter-spacing:.12em;color:var(--purple)}
.card h2{margin:0 0 12px;font-size:15px}
.platform-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.platform{min-height:40px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#4e4858;font-size:12px;font-weight:750;text-align:center}
.platform:hover,.platform.active{border-color:#b9a9ff;background:var(--lav);color:var(--purple-dark)}
.extension-link{display:block;margin-top:10px;padding-top:10px;border-top:1px solid #eee9f3;color:var(--purple-dark);font-size:11px;font-weight:750;text-decoration:none;line-height:1.45}
.extension-link:hover{text-decoration:underline}
.segmented{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}
.segmented button{min-height:36px;padding:8px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--muted);font-size:11px;font-weight:750}
.segmented button.active{border-color:#b7a5ff;background:var(--lav);color:var(--purple-dark)}
.field{margin:0 0 11px}.field:last-child{margin-bottom:0}
.field label{display:flex;justify-content:space-between;gap:8px;margin-bottom:5px;font-size:11px;font-weight:750}
.field label span{font-weight:500;color:var(--muted)}
.field input,.field textarea,.field select{width:100%;padding:9px 10px;border:1px solid #ddd7e8;border-radius:7px;background:#fff;color:var(--ink);outline:none;font-size:12px}
.field input:focus,.field textarea:focus,.field select:focus{border-color:#a994ff;box-shadow:0 0 0 3px rgba(112,79,255,.08)}
.field textarea{min-height:72px;resize:vertical;line-height:1.4}
.upload{display:grid;grid-template-columns:46px 1fr;gap:9px;align-items:center}
.upload-preview{width:46px;height:46px;border-radius:9px;object-fit:cover;background:linear-gradient(135deg,#ddd5ff,#f8ceea);border:1px solid var(--line)}
.upload button,.secondary,.primary,.ghost{border:0;border-radius:7px;font-weight:800}
.upload button,.secondary{min-height:38px;padding:8px 11px;background:var(--lav);color:var(--purple-dark)}
.primary{min-height:40px;padding:9px 12px;background:var(--purple);color:#fff}
.full{width:100%}.full+.full{margin-top:8px}
.helper{display:block;margin-top:9px;color:var(--muted);font-size:10px;line-height:1.4}
.checkbox-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:12px}
.checkbox-row label{margin:0}
.switch{width:42px;height:23px;padding:2px;border:0;border-radius:20px;background:#d8d2e4}
.switch span{display:block;width:19px;height:19px;border-radius:50%;background:#fff;transition:.18s}
.switch.on{background:var(--purple)}.switch.on span{transform:translateX(19px)}
.workspace{height:100vh;min-width:0;display:grid;grid-template-rows:auto 1fr;background:radial-gradient(circle at 50% 20%,#fbfaff 0,#ece8f5 68%)}
.workspace-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 18px;border-bottom:1px solid var(--line);background:#fff}
.workspace-top strong,.workspace-top small{display:block}
.workspace-top strong{font-size:14px}.workspace-top small{margin-top:2px;color:var(--muted);font-size:11px}
.top-actions{display:flex;align-items:center;gap:10px}
.ghost{min-height:32px;padding:6px 10px;background:#f7f4fc;color:#5d5668}
.beta{padding:7px 9px;border-radius:999px;background:var(--lav);color:var(--purple-dark);font-size:10px;font-weight:850}
.stage{overflow:auto;display:grid;place-items:center;padding:45px 30px}
.preview-wrap{display:inline-block;filter:drop-shadow(0 18px 40px rgba(48,34,83,.14))}

.social-card{width:390px;background:#fff;color:#111;border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.07)}
.post-head{display:flex;align-items:center;gap:10px;padding:12px 14px}
.avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;background:linear-gradient(135deg,#6e50ff,#ef56b3)}
.account{min-width:0;flex:1}.account strong,.account small{display:block}.account strong{font-size:13px}.account small{margin-top:2px;color:#777;font-size:11px}
.verified{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:4px;border-radius:50%;background:#1d9bf0;color:#fff;font-size:10px;font-weight:800;line-height:1;vertical-align:0}
.dots{font-size:18px;letter-spacing:1px}
.post-media{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:linear-gradient(135deg,#c7bcff,#f4b9dd)}
.actions{display:flex;justify-content:space-between;align-items:center;min-height:54px;padding:14px 18px 14px;border-top:1px solid #f0eef2;background:#fff}.actions .left{display:flex;align-items:center;gap:22px}

.ig-link-block{background:#fff;border-top:1px solid #f0eef2}
.ig-link-cta{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#1597e5;color:#fff;font-size:13px;font-weight:800}
.ig-link-arrow{font-size:34px;line-height:1;font-weight:300;margin-top:-2px}
.ig-link-dots{height:24px;display:flex;align-items:center;justify-content:center;gap:6px;background:#fff}
.ig-link-dots i{display:block;width:7px;height:7px;border-radius:50%;background:#999}.ig-link-dots i.active{background:#5667ff}.ig-link-dots i.small{width:5px;height:5px}.ig-link-dots i.tiny{width:3px;height:3px}
.ui-icon{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;color:currentColor}
.ui-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.ui-icon svg path,.ui-icon svg circle,.ui-icon svg rect{fill:none}
.ui-icon.mini{width:12px;height:12px;color:#777}.ui-icon.mini svg{width:12px;height:12px;stroke-width:1.7}
.ig-asset{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex:0 0 auto}.ig-asset img{display:block;max-width:100%;max-height:100%}.ig-asset.white img{filter:brightness(0) invert(1)}.ig-asset.mini{width:12px;height:12px}.ig-asset.story-icon{width:24px;height:24px}.ig-asset.story-more{margin-left:auto;width:22px;height:22px}
.post-copy{padding:0 14px 14px;font-size:12px;line-height:1.45}.post-copy .likes{font-weight:750;margin-bottom:6px}.post-copy strong{font-weight:800}
.comments{margin-top:5px;color:#777}
.ig-comments-expanded{margin-top:7px;padding-top:7px;border-top:1px solid #f1f1f1}.ig-comment{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:4px 0;line-height:1.35}.empty-comment{color:#999}

.instagram-story{position:relative;width:390px;height:780px;border-radius:18px;overflow:hidden;background:#111;color:#fff}
.instagram-story .post-media{width:100%;height:100%;aspect-ratio:auto}
.story-overlay{position:absolute;inset:0;padding:12px;background:linear-gradient(to bottom,rgba(0,0,0,.45),transparent 25%,transparent 72%,rgba(0,0,0,.45))}
.story-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:10px}.story-bars i{height:2px;border-radius:2px;background:rgba(255,255,255,.55)}.story-bars i:first-child{background:#fff}
.story-head{display:flex;align-items:flex-start;gap:8px}.story-head .avatar{width:32px;height:32px}.story-head strong{font-size:12px}.story-account{display:grid;gap:2px;min-width:0}.story-account strong{display:block;line-height:1.15}.story-promotion-label{font-size:12px;opacity:.95}.story-time{font-size:11px;opacity:.75;margin-top:2px}.story-more{margin-left:auto;letter-spacing:1px}
.story-bottom{position:absolute;left:14px;right:14px;bottom:15px;display:flex;align-items:center;gap:12px}.reply-pill{flex:1;padding:11px 14px;border:1px solid rgba(255,255,255,.7);border-radius:22px;font-size:11px}
.story-icon{width:25px;height:25px;color:#fff}.story-icon svg{width:25px;height:25px;stroke:#fff}.overlay-icon{color:#fff;width:27px;height:27px}.overlay-icon svg{width:27px;height:27px;stroke:#fff;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;fill:none}.overlay-icon svg path{fill:none}
.story-cta-wrap{position:absolute;left:14px;right:14px;bottom:15px;display:grid;justify-items:center;gap:10px}.story-cta-chevron{font-size:22px;line-height:1;color:#fff;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.3)}.story-cta-row{width:100%;display:flex;align-items:center;gap:14px}.story-cta-pill{flex:1;display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:999px;background:#fff;color:#707070;font-size:13px;font-weight:700}.story-home-indicator{width:141px;height:5px;border-radius:999px;background:#fff;opacity:.95}

.tiktok-card{position:relative;width:390px;height:780px;border-radius:18px;overflow:hidden;background:#080808;color:#fff}
.tiktok-card .post-media{width:100%;height:100%;aspect-ratio:auto;display:block;object-fit:cover;object-position:center}
.tt-gradient{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.18),transparent 36%,transparent 60%,rgba(0,0,0,.58) 84%,rgba(0,0,0,.86))}
.tt-top-shell{position:absolute;top:14px;left:12px;right:12px;display:grid;grid-template-columns:28px 1fr 30px;align-items:center;z-index:2}
.tt-menu{width:20px;display:grid;gap:4px}.tt-menu span{display:block;height:2px;background:#fff;border-radius:999px}.tt-menu span:nth-child(1){width:20px}.tt-menu span:nth-child(2){width:20px}.tt-menu span:nth-child(3){width:20px}
.tt-tabs{justify-self:center;display:flex;align-items:center;gap:16px;font-size:14px;font-weight:600;color:rgba(255,255,255,.7)}.tt-tabs .active{color:#fff;position:relative}.tt-tabs .active::after{content:'';position:absolute;left:50%;transform:translateX(-50%);bottom:-10px;width:24px;height:2.5px;border-radius:999px;background:#fff}.tt-dot{width:8px;height:8px;border-radius:50%;background:#ff335a;display:inline-block;margin-left:-10px;transform:translateY(-8px)}
.tt-search-btn{justify-self:end;width:24px;height:24px}
.tt-asset{display:inline-flex;align-items:center;justify-content:center}.tt-asset img{width:100%;height:100%;display:block}.tt-asset.white img{filter:brightness(0) invert(1)}
.tt-side-rail{position:absolute;right:10px;bottom:96px;display:grid;gap:12px;justify-items:center;z-index:2}.tt-avatar-stack{position:relative}.tt-side-rail .avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #fff}.tt-avatar-plus{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);width:20px;height:20px;border-radius:50%;background:#ff335a;color:#fff;display:grid;place-items:center;font-weight:800;font-size:16px;line-height:1}.tt-side-item{display:grid;justify-items:center;gap:4px}.tt-side-item .tt-asset{width:28px;height:28px}.tt-side-item small{font-size:9px;font-weight:700;letter-spacing:.1px;text-shadow:0 1px 2px rgba(0,0,0,.35)}.tt-record-thumb{width:42px;height:42px;border-radius:50%;padding:2px;background:conic-gradient(#25f4ee, #fff, #fe2c55, #25f4ee)}.tt-record-thumb .avatar{width:100%;height:100%;border:2px solid #111}
.tt-copy-block{position:absolute;left:12px;right:78px;bottom:88px;z-index:2;font-size:12px;line-height:1.35}.tt-author-row{display:flex;align-items:center;gap:4px;margin-bottom:2px;font-weight:700}.tt-author-row strong{font-size:13px}.tt-handle-line{font-weight:600;margin-bottom:8px}.tt-caption-copy{font-size:12px;line-height:1.38;max-width:240px}.tt-sound-line{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tt-sound-note{font-size:14px;line-height:1}
.tt-bottom-nav{position:absolute;left:0;right:0;bottom:0;height:60px;background:#000;display:grid;grid-template-columns:1fr 1fr 74px 1fr 1fr;align-items:center;padding:5px 6px 7px;z-index:3}.tt-nav-item{display:grid;justify-items:center;gap:3px;color:#fff;font-size:10px;font-weight:500}.tt-nav-item .tt-asset{width:26px;height:26px}.tt-nav-item.active{font-weight:700}.tt-nav-center{display:grid;place-items:center}.tt-plus-pill{position:relative;display:block;width:48px;height:30px}.tt-plus-pill-left,.tt-plus-pill-right{position:absolute;top:2px;bottom:2px;width:24px;border-radius:8px}.tt-plus-pill-left{left:2px;background:#25f4ee}.tt-plus-pill-right{right:2px;background:#fe2c55}.tt-plus-pill-core{position:absolute;inset:0;margin:auto;width:40px;height:26px;border-radius:8px;background:#fff;display:grid;place-items:center}.tt-plus-pill-core .tt-asset{width:16px;height:16px}.tt-inbox-icon{font-size:20px;line-height:1;color:#fff;transform:translateY(-1px)}
.tt-no-interface .tt-copy-block{bottom:24px}.tt-no-interface .tt-side-rail{bottom:120px}

.linkedin-card,.facebook-card,.x-card{width:390px;border-radius:8px}.linkedin-card .post-media,.facebook-card .post-media{aspect-ratio:1.25/1}.copy-top{padding-top:0}.linkedin-card{background:#fff;border-radius:0;box-shadow:none}.li-post-shell{background:#fff}.li-post-head{display:flex;gap:10px;align-items:flex-start;padding:12px 14px 8px}.li-account{flex:1;min-width:0}.li-name-line{display:flex;align-items:center;gap:4px}.li-account strong{font-size:13px;font-weight:700;color:#191919}.li-account small{display:block;color:#666;font-size:11px;line-height:1.25}.li-account .inline-globe{display:inline-flex;vertical-align:middle;width:12px;height:12px}.li-account .inline-globe img{width:12px;height:12px;opacity:.75}.li-follow-btn{appearance:none;border:0;background:transparent;color:#0a66c2;font-weight:700;font-size:14px;padding:4px 2px;cursor:default}.li-more{font-size:22px;line-height:1;color:#666;margin-left:6px}.li-copy{padding:0 14px 12px;font-size:13px;line-height:1.45;color:#1f1f1f}.li-copy p{margin:0 0 10px}.li-copy p:last-child{margin-bottom:0}.li-stats,.fb-stats{display:flex;justify-content:space-between;align-items:center;padding:8px 14px;border-bottom:1px solid #eee;color:#70757a;font-size:10px}.li-stat-left{display:flex;align-items:center;gap:5px}.li-reactions{display:flex;align-items:center}.li-asset{display:inline-flex;align-items:center;justify-content:center}.li-asset img{display:block;width:16px;height:16px}.li-reactions .li-asset + .li-asset{margin-left:-4px}.li-like-count{font-size:11px;color:#666}.li-actions,.fb-actions{display:grid;grid-template-columns:repeat(4,1fr);padding:4px 8px;font-size:10px;font-weight:700;color:#666;text-align:center}.fb-actions{grid-template-columns:repeat(3,1fr)}.li-actions div,.fb-actions div{padding:8px 3px}.li-actions div{display:flex;align-items:center;justify-content:center;gap:6px;color:#666;font-size:12px;font-weight:600}.li-actions .li-asset img{width:18px;height:18px;opacity:.85}.li-verified img{width:14px;height:14px}.li-app-header{display:flex;align-items:center;gap:12px;padding:8px 12px;background:#fff;border-bottom:1px solid #e5e2dd}.li-header-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover}.li-search-bar{flex:1;display:flex;align-items:center;gap:8px;height:40px;padding:0 14px;background:#eef3f8;border-radius:4px;color:#666;font-size:17px;font-weight:600}.li-search-bar .li-asset img{width:19px;height:19px;opacity:.72}.li-message-badge{width:34px;height:34px;display:grid;place-items:center;color:#666}.li-message-badge .ui-icon{width:22px;height:22px;color:#666}.li-feed-scroll{background:#f3f2ef;overflow:hidden}.app-feed-linkedin .social-card{border-top:1px solid #e5e2dd;border-bottom:1px solid #e5e2dd}.linkedin-placeholder-card{margin-top:10px;background:#fff}.li-placeholder-head{display:flex;align-items:flex-start;gap:10px;padding:12px 14px 10px;background:#fff}.li-placeholder-logo{width:54px;height:54px;background:#e2e5ea}.li-placeholder-copy{display:grid;gap:6px;flex:1;padding-top:2px}.li-placeholder-copy .line{background:#e2e5ea}.li-placeholder-copy .line.short{width:120px}.li-placeholder-copy .line.tiny{width:82px}.li-placeholder-copy-block{padding:0 14px 12px;display:grid;gap:8px}.li-placeholder-copy-block .line{background:#e2e5ea;height:10px}.li-placeholder-copy-block .line.long{width:100%}.li-placeholder-copy-block .line.mid{width:72%}.li-placeholder-media{height:180px;background:#e2e5ea}.li-placeholder-stats{height:34px;border-top:1px solid #efebe5;border-bottom:1px solid #efebe5;background:#fff}.li-placeholder-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:12px 14px 14px}.li-placeholder-actions span{height:12px;border-radius:999px;background:#e2e5ea}.li-placeholder-more{opacity:.45}.linkedin-nav{justify-content:space-between;padding:8px 2px 10px;background:#fff;border-top:1px solid #d9d9d9}.li-nav-item{flex:1;display:grid;justify-items:center;gap:2px;color:#666;font-size:10px}.li-nav-item .ui-icon{width:22px;height:22px;color:#666}.li-nav-item.active,.li-nav-item.active .ui-icon{color:#111}
.x-card{padding:12px;overflow:visible}.x-card .post-head{padding:0}.x-body{margin-left:48px;margin-top:-2px}.x-body .post-copy{padding:0;font-size:12px}.x-body .post-media{margin-top:10px;border-radius:14px;aspect-ratio:1.35/1}.x-actions{display:flex;justify-content:space-between;margin-top:10px;color:#6c737c;font-size:10px}

.app-feed{width:390px;height:780px;border-radius:20px;overflow:hidden;background:#fff;border:0;display:grid;grid-template-rows:auto 1fr auto}
.app-feed-facebook,.app-feed-x{grid-template-rows:auto 1fr auto}
.app-top-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#fff;border-bottom:1px solid #eee}
.top-right-icons{display:flex;align-items:center;gap:14px}
.top-right-icons .ui-icon{color:#111}
.ig-wordmark{display:block;width:103px;height:26px;object-fit:contain}
.fb-mark{font-size:24px;font-weight:900;color:#1877f2;letter-spacing:-.03em;text-transform:lowercase}
.x-brand{font-size:18px;font-weight:800}
.story-row{display:flex;gap:16px;padding:12px 12px 10px;overflow:hidden;background:#fff;border-bottom:1px solid #ececec}
.story-chip{width:74px;display:grid;justify-items:center;gap:8px;font-size:11px;color:#444;text-align:center}
.story-ring{width:70px;height:70px;padding:4px;border-radius:50%;background:linear-gradient(135deg,#ffcb00,#ff007f,#7b2cff);display:grid;place-items:center}
.story-ring img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid #fff}
.story-chip.active .story-ring{background:#d8d8d8}
.story-chip span:last-child{display:block;max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.feed-scroll{background:#f7f7f7;overflow:hidden}
.has-light-bg{background:#f1f2f6}
.app-feed .social-card{width:100%;border-radius:0;box-shadow:none;border-bottom:1px solid #ececec}
.app-feed .facebook-card,.app-feed .x-card{border-bottom:0}
.app-feed .x-card{padding:0;background:#fff}
.app-feed .x-card .post-head{padding:12px 14px 0}
.app-feed .x-body{margin-left:62px;padding:0 14px 14px 0}
.placeholder-post{padding:12px 14px 16px;background:#fff;border-top:1px solid #ececec}
.placeholder-head{display:flex;gap:10px;align-items:center;margin-bottom:12px}.placeholder-avatar{width:36px;height:36px;border-radius:50%;background:#d9dce1}.placeholder-lines{display:grid;gap:6px;flex:1}.line{display:block;height:9px;border-radius:999px;background:#e2e5ea}.line.short{width:120px}.line.tiny{width:72px}.placeholder-label{margin:0 0 10px 46px;font-size:11px;color:#8b8f97}.placeholder-post .placeholder-label:empty{display:none}.placeholder-square{width:100%;aspect-ratio:1/1;border-radius:12px;background:#e2e5ea}
.app-bottom-nav{display:flex;align-items:center;justify-content:space-around;padding:10px 14px 12px;background:#fff;border-top:1px solid #ececec}
.app-bottom-nav .ui-icon{color:#111;width:26px;height:26px}.app-bottom-nav .ui-icon svg{width:26px;height:26px}
.nav-avatar{width:28px;height:28px;border-radius:50%;overflow:hidden;border:1px solid #111;display:grid;place-items:center}.nav-avatar img{width:100%;height:100%;object-fit:cover}
.facebook-nav,.x-nav{justify-content:space-between;padding-inline:22px}
.facebook-top-bar .top-right-icons,.x-top-bar .top-right-icons{gap:12px}
.x-top-bar .ui-icon:first-child{width:24px;height:24px}


.instagram-reel{width:390px;height:780px;border-radius:20px;overflow:hidden;background:#fff;border:0;display:grid;grid-template-rows:1fr auto}
.reel-stage{position:relative;overflow:hidden;background:#d9d9d9}
.reel-media{position:absolute;inset:0;width:100%;height:100%;display:block;background-color:#ddd;background-size:cover;background-position:center center;background-repeat:no-repeat}
.reel-gradient{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.06),transparent 35%,transparent 55%,rgba(0,0,0,.52) 100%)}
.reel-side{position:absolute;right:12px;bottom:92px;display:grid;gap:18px;justify-items:center;color:#fff;z-index:2}
.reel-action{display:grid;justify-items:center;gap:3px;font-size:12px;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.reel-action .ig-asset{width:27px;height:27px}.reel-action small{font-size:10px;line-height:1.05;font-weight:600}.reel-action-plane{gap:0}.reel-action-more{font-size:16px;line-height:1;letter-spacing:1px;margin-top:-4px}
.reel-bottom{position:absolute;left:12px;right:56px;bottom:18px;color:#fff;z-index:2}
.reel-account-row{display:flex;align-items:center;gap:10px}.reel-avatar{width:36px;height:36px}.reel-account-row strong{font-size:14px;line-height:1.15;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.reel-follow{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 14px;border:1px solid rgba(255,255,255,.8);border-radius:10px;font-size:13px;font-weight:700;background:rgba(255,255,255,.08);backdrop-filter:blur(2px)}
.reel-promotion-label{margin:7px 0 6px 46px;font-size:12px;font-weight:600;opacity:.95;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.reel-caption{margin:7px 0 0 46px;font-size:12px;line-height:1.35;text-shadow:0 1px 2px rgba(0,0,0,.35);display:-webkit-box;-webkit-line-clamp:var(--reel-caption-lines,2);-webkit-box-orient:vertical;overflow:hidden}
.reel-nav{background:#fff;border-top:1px solid #ececec}

.phone-export{position:relative;padding:12px;border-radius:44px;background:#0b0b0b;display:inline-block;box-shadow:0 18px 50px rgba(0,0,0,.24)}
.phone-export .phone-screen{position:relative;overflow:hidden;width:390px;height:780px;border-radius:34px;background:#fff}.phone-export .phone-screen-content{position:absolute;transform-origin:center center}.phone-export .phone-notch{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:94px;height:24px;z-index:3;border-radius:0 0 14px 14px;background:#0b0b0b}

@media(max-width:900px){.app-shell{grid-template-columns:320px minmax(0,1fr)}.sidebar{font-size:95%}.stage{place-items:start center;padding:28px 18px}}
@media(max-width:720px){.app-shell{display:block}.sidebar{height:auto;border-right:0}.workspace{height:auto;min-height:80vh}.workspace-top{position:sticky;top:0;z-index:5}.stage{min-height:700px}.social-card,.linkedin-card,.facebook-card,.x-card,.instagram-story,.tiktok-card,.app-feed{max-width:92vw}}


/* Facebook */
.app-feed-facebook-full{width:390px;height:780px;border-radius:18px;overflow:hidden;background:#f0f2f5;display:grid;grid-template-rows:auto 1fr}
.fb-app-topbar{background:#fff;border-bottom:1px solid #d9dde3}
.fb-top-row{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 8px;gap:10px}.fb-logo-text{font-size:28px;line-height:1;font-weight:800;color:#1877f2;letter-spacing:-.03em}.fb-top-actions{display:flex;align-items:center;gap:10px}.fb-circle-btn,.fb-search-icon{width:42px;height:42px;border-radius:50%;background:#eef0f3;display:grid;place-items:center;color:#111}.fb-search-icon{padding:8px}.fb-search-icon svg{stroke-width:2.2}.fb-burger{display:grid;gap:5px}.fb-burger i{display:block;width:18px;height:3px;border-radius:999px;background:#111}
.fb-nav-row{display:grid;grid-template-columns:repeat(6,1fr);align-items:end;padding:0 0}.fb-topnav-item{position:relative;display:grid;justify-items:center;padding:12px 0 12px;color:#6a6f75;border-top:1px solid #eceef1;border-left:1px solid #eceef1}.fb-topnav-item:first-child{border-left:0}.fb-topnav-item .ui-icon{width:24px;height:24px;color:inherit}.fb-topnav-item.active{color:#1877f2}.fb-topnav-item.active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:999px;background:#1877f2}.fb-topnav-item.has-badge b,.fb-topnav-item.has-badge-large b{position:absolute;right:10px;top:8px;background:#e41e3f;color:#fff;font-size:9px;min-width:16px;height:16px;padding:0 4px;display:grid;place-items:center;border-radius:999px}.fb-topnav-item.has-badge-large b{right:auto;left:20px;top:6px}
.fb-feed-scroll{overflow:hidden;background:#f0f2f5}.fb-feed-tight{padding-top:0}
.facebook-card{background:#fff;border-radius:0;box-shadow:none}.fb-post-head{display:flex;align-items:flex-start;gap:10px;padding:12px 12px 8px}.fb-account{flex:1}.fb-name-line{display:flex;align-items:center;gap:4px}.fb-account strong{font-size:12px;font-weight:700;color:#111}.fb-account small{display:block;color:#70757a;font-size:11px}.fb-head-actions{display:flex;align-items:center;gap:16px;color:#666;font-size:24px;line-height:1}.fb-copy{padding:0 12px 10px;font-size:14px;line-height:1.35;color:#111}.fb-reactions{display:flex;align-items:center}.fb-reaction{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;font-size:10px;box-shadow:0 0 0 1.5px #fff}.fb-reaction + .fb-reaction{margin-left:-3px}.fb-engagement-row{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;color:#666;font-size:11px}.fb-engage-metrics{display:flex;align-items:center;gap:20px}.fb-engage-item{display:flex;align-items:center;gap:6px;color:#666}.fb-engage-item .ui-icon{width:22px;height:22px;color:#6d7076}.fb-engage-item .ui-icon svg{stroke-width:1.8}.fb-engage-item small{font-size:12px;font-weight:500;color:#5f6368}.fb-engage-reactions{display:flex;align-items:center}
.facebook-ghost-card{background:#fff;margin-top:8px;padding:12px 12px 16px}.fb-ghost-head{display:flex;align-items:flex-start;gap:10px}.fb-ghost-avatar{width:38px;height:38px;border-radius:50%;background:#dde2e8}.fb-ghost-lines{display:grid;gap:6px;flex:1;padding-top:4px}.fb-ghost-lines span,.fb-ghost-copy span,.fb-ghost-media{background:#dde2e8}.fb-ghost-lines .long{width:120px;height:10px}.fb-ghost-lines .short{width:80px;height:8px}.fb-ghost-more{font-size:22px;color:#bcc2ca}.fb-ghost-copy{display:grid;gap:8px;padding:12px 0}.fb-ghost-copy span{height:10px}.fb-ghost-copy .mid{width:70%}.fb-ghost-media{height:160px;border-radius:10px}
.facebook-story-screen,.facebook-reel-screen{position:relative;width:390px;height:780px;border-radius:18px;overflow:hidden;background:#000;color:#fff}.facebook-story-screen .post-media,.facebook-reel-screen .post-media{width:100%;height:100%;object-fit:cover;display:block}.fb-story-overlay,.fb-reel-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.45),rgba(0,0,0,.1) 25%,transparent 50%,rgba(0,0,0,.45))}.fb-story-status{position:absolute;left:12px;right:12px;top:10px;display:flex;justify-content:space-between;font-size:11px;font-weight:700;z-index:2}.fb-story-bars{position:absolute;top:32px;left:12px;right:12px;z-index:2}.fb-story-head{position:absolute;top:46px;left:12px;right:12px;display:flex;align-items:center;gap:10px;z-index:2}.fb-story-head .avatar{width:34px;height:34px;border-radius:50%;border:2px solid #fff}.fb-story-account{display:grid;gap:2px}.fb-story-account strong{font-size:13px}.fb-story-account small{font-size:11px;color:rgba(255,255,255,.9)}.fb-story-icons{margin-left:auto;font-size:24px;line-height:1}.fb-story-sidebuttons{position:absolute;right:14px;top:250px;display:grid;gap:10px;z-index:2}.fb-story-sidebtn{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);font-size:19px;color:#111}.fb-story-bottom{position:absolute;left:12px;right:12px;bottom:24px;display:flex;align-items:center;gap:10px;z-index:2}.fb-story-reply{flex:1;height:42px;border-radius:999px;background:rgba(34,34,34,.85);border:1px solid rgba(255,255,255,.08);display:flex;align-items:center;padding:0 16px;color:#e8e8e8;font-size:15px}.fb-story-reacts{display:flex;align-items:center;gap:8px}.fb-story-reacts span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff;font-size:20px;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.fb-reel-top{position:absolute;top:16px;left:14px;right:14px;display:flex;justify-content:space-between;align-items:center;z-index:2;font-size:17px;font-weight:700}.fb-reel-side{position:absolute;right:10px;bottom:96px;display:grid;gap:14px;justify-items:center;z-index:2}.fb-reel-user{position:relative}.fb-reel-user .avatar{width:46px;height:46px;border-radius:50%;border:2px solid #fff}.fb-reel-user span{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);width:20px;height:20px;border-radius:50%;background:#1877f2;display:grid;place-items:center;font-weight:800}.fb-reel-action{display:grid;justify-items:center;gap:4px}.fb-reel-action .ui-icon{width:30px;height:30px;color:#fff}.fb-reel-action .ui-icon svg{stroke:#fff}.fb-reel-action small{font-size:10px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.35)}.fb-reel-bottomcopy{position:absolute;left:12px;right:80px;bottom:88px;z-index:2}.fb-reel-author{display:flex;align-items:center;gap:10px;margin-bottom:8px}.fb-reel-author strong{font-size:14px}.fb-reel-author button{height:30px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.85);background:transparent;color:#fff;font-weight:700}.fb-reel-caption{font-size:13px;line-height:1.38}.fb-reel-sound{margin-top:8px;font-size:11px}.fb-reel-nav{position:absolute;left:0;right:0;bottom:0;height:62px;background:#111;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;padding:4px 6px 6px;z-index:3}.fb-nav-item{display:grid;justify-items:center;gap:3px;color:#fff;font-size:10px}.fb-nav-item .ui-icon{width:22px;height:22px;color:#fff}.fb-nav-item.active{font-weight:700}.fb-nav-item .avatar{width:22px;height:22px;border-radius:50%}


/* TikTok fixes v0.4.6 */
.tiktok-card .post-media{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;display:block;object-fit:cover;object-position:center center}
.tt-search-btn{justify-self:end;width:28px;height:28px;display:grid;place-items:center}
.tt-gicon{width:28px;height:28px;color:#fff;display:inline-flex;align-items:center;justify-content:center}
.tt-gicon svg{width:100%;height:100%;stroke:#fff !important;fill:none !important;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tt-side-item .tt-gicon{width:30px;height:30px}
.tt-bottom-nav .tt-gicon{width:24px;height:24px}
.tt-plus-glyph{font-size:24px;line-height:1;color:#111;font-weight:700;transform:translateY(-1px)}


/* Facebook post engagement refinement v0.4.7 */
.fb-engagement-row{padding:10px 12px 12px}
.fb-engage-metrics{gap:26px}
.fb-engage-item{gap:7px;align-items:center}
.fb-mini-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:#6f7378}
.fb-mini-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fb-engage-item small{font-size:12px;font-weight:500;color:#5f6368}
.fb-engage-reactions{margin-left:auto}


/* Facebook visual pass based on supplied mobile screenshot */
.app-feed-facebook-full{background:#e8e8e8;border-radius:0;grid-template-rows:auto 1fr}
.fb-app-topbar{background:#f6f6f6;border-bottom:1px solid #ddd}
.fb-top-row{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 8px;gap:12px}
.fb-brand-group{display:flex;align-items:center;gap:10px;min-width:0}
.fb-logo-text{font-size:21px;line-height:1;font-weight:800;color:#4267b2;letter-spacing:-.03em;text-transform:lowercase}
.fb-top-actions{display:flex;align-items:center;gap:14px}
.fb-ui-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:#111;flex:0 0 auto}
.fb-ui-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fb-top-icon{width:22px;height:22px}
.fb-top-icon-messenger{width:22px;height:22px}
.fb-nav-row{display:grid;grid-template-columns:repeat(6,1fr);align-items:end;padding:0 8px;background:#f6f6f6;border-top:0;border-bottom:1px solid #ddd}
.fb-topnav-item{position:relative;display:grid;justify-items:center;align-items:center;padding:7px 0 9px;color:#171717;border:0}
.fb-topnav-item .fb-ui-icon{width:21px;height:21px;color:inherit}
.fb-topnav-item.active .fb-ui-icon{color:#4f6fbf}
.fb-active-line{position:absolute;left:6px;right:6px;bottom:0;height:2px;border-radius:999px;background:#5a78cf}
.fb-topnav-item.has-badge b{position:absolute;right:8px;top:5px;min-width:14px;height:14px;padding:0 3px;border-radius:999px;background:#d94242;color:#fff;font-size:8px;display:grid;place-items:center;font-weight:700;line-height:1}
.fb-avatar-tab .avatar{width:22px;height:22px;border-radius:50%;display:block}
.fb-feed-scroll{overflow:hidden;background:#dadada}
.fb-feed-tight{padding-top:0}
.facebook-card{background:#fff;border-radius:0;box-shadow:none}
.fb-post-head{display:flex;align-items:flex-start;gap:8px;padding:11px 10px 4px}
.fb-post-head .avatar{width:34px;height:34px;border-radius:50%;object-fit:cover}
.fb-account{flex:1;min-width:0}
.fb-name-line{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.fb-account strong{font-size:11px;font-weight:700;color:#111;line-height:1.2}
.fb-follow-link{font-size:11px;font-weight:700;color:#4267b2}
.fb-meta-line{display:flex;align-items:center;gap:4px;color:#70757a;font-size:11px;line-height:1.2;margin-top:1px}
.fb-meta-globe{width:10px;height:10px;color:#6c6f75}
.fb-head-actions{display:flex;align-items:center;gap:10px;color:#6f6f6f;line-height:1;padding-top:1px}
.fb-head-actions .fb-ui-icon{width:14px;height:14px;color:#767676}
.fb-copy{padding:0 10px 8px;font-size:12px;line-height:1.28;color:#111}
.facebook-card .post-media{display:block;width:100%;aspect-ratio:1.17/1;object-fit:cover;background:#b9b9b9}
.fb-engagement-row{display:flex;align-items:center;justify-content:flex-start;padding:8px 10px 8px;background:#fff;color:#666;font-size:11px;border-top:1px solid #ededed}
.fb-engage-metrics{display:flex;align-items:center;gap:18px;justify-content:flex-start}
.fb-engage-item{display:flex;align-items:center;gap:5px;color:#65686d}
.fb-mini-icon{width:17px;height:17px;color:#63676c}
.fb-mini-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fb-engage-item small{font-size:11px;font-weight:500;color:#5f6368;line-height:1}
.fb-engage-reactions{display:flex;align-items:center;margin-left:auto}
.fb-reactions{display:flex;align-items:center}
.fb-reaction{width:16px;height:16px;display:grid;place-items:center;border-radius:50%;font-size:9px;box-shadow:0 0 0 1px #fff}
.fb-reaction + .fb-reaction{margin-left:-3px}
.fb-post-divider{height:14px;background:#d9d9d9}
.facebook-ghost-card{background:#fff;margin-top:0;padding:10px 10px 12px;border-top:1px solid #d0d0d0}
.fb-ghost-head{display:flex;align-items:flex-start;gap:8px}
.fb-ghost-avatar{width:34px;height:34px;border-radius:50%;background:#dde2e8}
.fb-ghost-lines{display:grid;gap:5px;flex:1;padding-top:4px}.fb-ghost-lines span,.fb-ghost-copy span,.fb-ghost-media,.fb-ghost-actions i,.fb-ghost-actions b{background:#dde2e8}
.fb-ghost-lines .long{width:112px;height:9px}.fb-ghost-lines .short{width:70px;height:7px}.fb-ghost-more{font-size:18px;color:#bcc2ca;line-height:1}
.fb-ghost-copy{display:grid;gap:7px;padding:10px 0}.fb-ghost-copy span{height:9px}.fb-ghost-copy .mid{width:68%}.fb-ghost-media{height:150px;border-radius:0}
.fb-ghost-actions{display:flex;align-items:center;gap:18px;padding-top:10px}
.fb-ghost-actions span{display:flex;align-items:center;gap:5px}.fb-ghost-actions i{width:17px;height:17px;border-radius:4px;display:block}.fb-ghost-actions b{width:14px;height:7px;border-radius:999px;display:block}
.fb-story-icons{display:flex;align-items:center;gap:8px}
.fb-story-icons .fb-ui-icon{width:18px;height:18px;color:#fff}
.fb-story-sidebtn .fb-ui-icon{width:18px;height:18px;color:#111}


/* Exact supplied Facebook icon assets */
.fb-image-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 auto}
.fb-image-icon img{display:block;width:100%;height:100%;object-fit:contain}
.fb-top-icon.fb-image-icon{width:22px;height:22px}
.fb-topnav-item .fb-image-icon{width:21px;height:21px}
.fb-topnav-item.active .fb-image-icon{opacity:.95}
.fb-mini-icon.fb-image-icon{width:17px;height:17px}
.fb-mini-icon.fb-image-icon img{width:100%;height:100%}
/* extra breathing room above the Facebook masthead */
.fb-top-row{padding-top:26px}

.fb-head-icon.fb-image-icon{width:14px;height:14px}
.fb-head-icon.fb-image-icon img{width:100%;height:100%}


/* === Final snagging pass 2026-08-26 === */
/* 1 Instagram story: match Facebook story top breathing room */
.instagram-story .story-overlay{padding:30px 12px 12px}
.instagram-story .story-bars{margin-bottom:10px}
/* 2 supplied Instagram send icon in white */
.ig-asset.story-send-icon,.ig-asset.reel-send-icon{width:27px;height:27px}
.ig-asset.story-send-icon img,.ig-asset.reel-send-icon img{width:100%;height:100%;filter:brightness(0) invert(1)}
/* 3 Instagram reel captions may flow naturally beyond two lines */
.reel-caption{display:block!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;overflow:visible!important;max-height:none!important}

/* 4 + 8 TikTok refined spacing and supplied icon set */
.tt-top-shell-refined{top:30px;left:13px;right:13px;grid-template-columns:36px 1fr 30px;gap:6px}
.tt-live-label{font-size:9px;font-weight:800;line-height:1;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.tt-top-shell-refined .tt-tabs{gap:13px;font-size:12px;white-space:nowrap}
.tt-top-shell-refined .tt-tabs .active::after{bottom:-8px;width:23px;height:2px}
.tt-ui-asset{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.tt-ui-asset img{display:block;width:100%;height:100%;object-fit:contain}
.tt-ui-asset.white img{filter:brightness(0) invert(1)}
.tt-search-asset{width:25px;height:25px}
.tt-side-rail-refined{right:10px;bottom:78px;gap:10px}
.tt-side-rail-refined .tt-avatar-stack{margin-bottom:4px}
.tt-side-icon{width:29px;height:29px}
.tt-side-rail-refined .tt-side-item small{font-size:10px}
.tt-bottom-nav-refined{height:64px;grid-template-columns:1fr 1fr 72px 1fr 1fr;padding:6px 5px 8px}
.tt-bottom-icon{width:24px;height:24px}
.tt-post-icon{width:50px;height:34px}
.tt-post-icon img{filter:none!important}
.tt-shop-icon{width:24px;height:24px;color:#fff;display:inline-flex}
.tt-shop-icon svg{width:100%;height:100%;stroke:#fff;fill:none;stroke-width:1.8}
.tt-copy-block{bottom:76px}

/* 5 LinkedIn masthead logo */
.li-header-logo{width:28px;height:28px;border-radius:6px;object-fit:contain;display:block;flex:0 0 auto}

/* 6 Facebook post separator: lighter, more native break */
.fb-post-divider{height:8px;background:#eef0f3}
.facebook-ghost-card{border-top:1px solid #e5e7eb}

/* 7 X interface option */
.x-asset{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 auto}
.x-asset img{display:block;width:100%;height:100%;object-fit:contain}
.app-feed-x-full{position:relative;width:390px;height:780px;border-radius:20px;overflow:hidden;background:#fff;border:0;display:grid;grid-template-rows:58px 48px 1fr 58px;color:#0f1419}
.x-app-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:10px 12px 6px;background:#fff}
.x-header-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover}
.x-header-logo{width:24px;height:24px;justify-self:center}
.x-subscribe-btn{justify-self:end;border:1px solid #cfd9de;background:#fff;color:#0f1419;border-radius:999px;padding:7px 13px;font-size:12px;font-weight:700}
.x-tabs-row{display:grid;grid-template-columns:1fr 1fr 42px;border-bottom:1px solid #eff3f4;align-items:end;background:#fff}
.x-tabs-row>span{height:48px;display:grid;place-items:center;color:#536471;font-size:13px;font-weight:600;position:relative}
.x-tabs-row>span.active{color:#0f1419;font-weight:700}
.x-tabs-row>span.active::after{content:'';position:absolute;left:35%;right:35%;bottom:0;height:3px;border-radius:999px;background:#1d9bf0}
.x-tabs-row .x-tabs-plus{font-size:22px;font-weight:300}
.x-feed-scroll{overflow:hidden;background:#fff}
.app-feed-x-full .x-card{width:100%;border-radius:0;border:0;box-shadow:none;padding:0;background:#fff}
.x-post-head{display:flex;gap:9px;padding:10px 12px 12px}
.x-post-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.x-post-content{min-width:0;flex:1}
.x-post-name-row{display:flex;align-items:center;gap:4px;color:#536471;font-size:11px;white-space:nowrap;min-width:0}
.x-post-name-row strong{font-size:12px;color:#0f1419;max-width:120px;overflow:hidden;text-overflow:ellipsis}
.x-verified{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#1d9bf0;color:#fff;font-size:9px;font-weight:800}
.x-post-more{margin-left:auto}
.x-post-more .x-asset{width:15px;height:15px}
.x-post-copy{font-size:13px;line-height:1.35;color:#0f1419;margin:3px 0 9px}
.x-post-media{display:block;width:100%;height:405px;object-fit:cover;border-radius:14px;border:1px solid #cfd9de}
.x-post-actions{display:grid;grid-template-columns:repeat(6,auto);align-items:center;justify-content:space-between;margin-top:9px;color:#536471}
.x-post-actions>span{display:flex;align-items:center;gap:4px;font-size:10px}
.x-post-actions .x-asset{width:17px;height:17px}
.x-post-actions small{font-size:9px;color:#536471}
.x-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);align-items:center;justify-items:center;border-top:1px solid #eff3f4;background:#fff;padding:7px 12px 9px}
.x-bottom-nav>.x-asset,.x-nav-notification>.x-asset{width:25px;height:25px}
.x-nav-notification{position:relative;display:inline-flex}
.x-nav-notification b{position:absolute;right:-4px;top:-5px;min-width:14px;height:14px;border-radius:999px;background:#1d9bf0;color:#fff;font-size:8px;display:grid;place-items:center}
.x-compose-fab{position:absolute;right:16px;bottom:72px;width:48px;height:48px;border-radius:50%;background:#1d9bf0;display:grid;place-items:center;box-shadow:0 2px 5px rgba(0,0,0,.15)}
.x-compose-fab .x-asset{width:25px;height:25px}
.x-compose-fab img{filter:brightness(0) invert(1)}


/* Preserve previously approved Facebook story/reel polish */
.app-feed-facebook-full{border-radius:20px!important;overflow:hidden}
.fb-app-topbar{border-top-left-radius:20px;border-top-right-radius:20px;overflow:hidden}
.fb-feed-scroll{border-bottom-left-radius:20px;border-bottom-right-radius:20px;overflow:hidden}
.fb-nav-row{grid-template-columns:repeat(5,1fr)!important}
.fb-avatar-tab{display:none!important}
.fb-story-sidebuttons{display:none!important}
.fb-story-icons{margin-left:auto;display:flex;align-items:center;gap:10px}
.fb-story-white-icon{width:18px;height:18px;color:#fff}.fb-story-white-icon svg{stroke:#fff}
.fb-story-white-asset{width:18px;height:18px}.fb-story-white-asset img{width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1)}
.fb-white-asset{display:inline-flex;align-items:center;justify-content:center}.fb-white-asset img{width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1)}
.facebook-story-screen,.facebook-reel-screen{border-radius:20px;overflow:hidden}
.fb-reel-nav{position:absolute;top:0;left:0;right:0;bottom:auto;height:54px;background:rgba(28,28,28,.9);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;padding:9px 8px 7px;z-index:3;border-bottom:1px solid rgba(255,255,255,.1)}
.fb-nav-item{display:grid;justify-items:center;align-items:center;gap:0;color:#fff}.fb-nav-item .fb-white-asset{width:23px;height:23px}
.fb-nav-item.active::after{content:'';display:block;width:52px;height:3px;border-radius:999px;background:#fff;margin-top:7px}
.fb-reel-top{top:68px;left:14px;right:14px;font-size:16px}
.fb-reel-top-actions{display:flex;align-items:center;gap:15px}.fb-reel-top-actions .fb-white-asset{width:25px;height:25px}.fb-reel-more{width:18px!important;height:18px!important}
.fb-reel-side{right:10px;bottom:86px;gap:12px}.fb-reel-action-icon{width:30px;height:30px}.fb-reel-action small{font-size:10px;min-height:11px}
.fb-reel-bottomcopy{bottom:72px;right:82px}


/* === v0.4.7 polish pass: new snag round === */

/* 1 + 2 Instagram Reel: supplied reshare asset and lower right action stack */
.instagram-reel .reel-side{bottom:24px}

/* 3 TikTok: bring Save and Share into scale with the rest of the right rail */
.tt-side-icon.tt-save-icon,
.tt-side-icon.tt-share-icon{width:25px;height:25px}

/* 4 LinkedIn: supplied current mobile UI icon set */
.li-app-header-mobile{gap:10px;padding:10px 12px}
.li-app-header-mobile .li-header-logo{width:30px;height:30px;border-radius:0}
.li-app-header-mobile .li-search-bar{
  height:38px;
  border:1px solid #aeb3b8;
  border-radius:999px;
  background:#fff;
  padding:0 14px;
  font-size:15px;
  font-weight:400;
  color:#666;
}
.li-app-header-mobile .li-ui-search{width:18px;height:18px}
.li-app-header-mobile .li-ui-search img{width:100%;height:100%;opacity:.8}
.li-app-header-mobile .li-message-badge{width:30px;height:30px}
.li-app-header-mobile .li-ui-message{width:24px;height:24px}
.linkedin-nav-mobile{padding:7px 2px 9px}
.linkedin-nav-mobile .li-nav-item{gap:2px;font-size:9px;color:#666}
.linkedin-nav-mobile .li-bottom-ui{width:24px;height:24px}
.linkedin-nav-mobile .li-nav-item.active .li-bottom-ui img{opacity:1}
.linkedin-nav-mobile .li-bottom-ui img{opacity:.68}
.li-actions .li-action-ui{width:18px;height:18px}
.li-actions .li-action-ui img{width:100%;height:100%;opacity:.78}

/* 5 Facebook Story: status UI removed, existing bars/head positions deliberately unchanged */

/* 6 Facebook Reel: use the freed lower space now the nav sits at the top */
.fb-reel-side{bottom:34px}
.fb-reel-bottomcopy{bottom:26px}

/* 7 X: subdued fake feed post to fill the lower white space */
.x-placeholder-post{
  display:flex;
  gap:9px;
  padding:12px;
  border-top:1px solid #eff3f4;
  background:#fff;
}
.x-placeholder-avatar{width:38px;height:38px;border-radius:50%;background:#e5e9ec;flex:0 0 auto}
.x-placeholder-body{flex:1;min-width:0}
.x-placeholder-name{display:flex;align-items:center;gap:7px;margin:2px 0 8px}
.x-placeholder-name span{width:92px;height:9px;border-radius:999px;background:#e5e9ec}
.x-placeholder-name i{width:46px;height:8px;border-radius:999px;background:#eef1f3}
.x-placeholder-copy-lines{display:grid;gap:6px}
.x-placeholder-copy-lines span{display:block;width:100%;height:9px;border-radius:999px;background:#e5e9ec}
.x-placeholder-copy-lines .short{width:62%}
.x-placeholder-actions{display:flex;justify-content:space-between;margin-top:12px;padding-right:14px}
.x-placeholder-actions span{width:18px;height:8px;border-radius:999px;background:#e5e9ec}

/* 8 X: Subscribe removed; keep logo visually centred */
.x-header-spacer{display:block;width:28px;height:1px;justify-self:end}

/* 9 Facebook: reaction emoji cluster removed; keep metrics comfortably left aligned */
.fb-engagement-row{justify-content:flex-start}
.fb-engage-metrics{width:100%}

/* 10 Facebook: red nav notification badge removed in markup */


/* === v0.4.8 UI polish + export reliability pass === */

/* Tool cards: remove old step numbering cleanly */
.eyebrow{display:none!important}

/* 1 TikTok bottom navigation: larger icons, stronger centre post, closer labels */
.tt-bottom-nav-refined{height:66px;padding:5px 5px 7px}
.tt-bottom-nav-refined .tt-nav-item{gap:1px;font-size:10px}
.tt-bottom-nav-refined .tt-bottom-icon{width:28px;height:28px}
.tt-bottom-nav-refined .tt-shop-icon{width:28px;height:28px}
.tt-bottom-nav-refined .tt-post-icon{width:58px;height:39px}
.tt-bottom-nav-refined .tt-post-icon img{width:100%;height:100%;object-fit:contain}
.tt-ui-asset.white img{filter:none!important}

/* 2 Instagram Reel supplied reshare icon */
.instagram-reel .reel-reshare-icon{width:27px;height:27px}
.instagram-reel .reel-reshare-icon img{width:100%;height:100%;object-fit:contain}

/* 3 + 8 LinkedIn nav scaling */
.linkedin-nav-mobile .li-bottom-ui{width:28px;height:28px}
.linkedin-nav-mobile .li-nav-item{gap:1px;font-size:9px}
.li-app-header-mobile .li-message-badge{width:34px;height:34px}
.li-app-header-mobile .li-ui-message{width:28px;height:28px}

/* 4 Facebook top menu: fractionally larger, no badges */
.fb-topnav-item .fb-image-icon{width:23px;height:23px}
.fb-topnav-item.has-badge b,
.fb-topnav-item.has-badge-large b{display:none!important}

/* 5 Facebook Story account alignment */
.fb-story-account{align-self:center;transform:translateY(-1px)}

/* 6 + 7 X: no notification badge and equal visual icon weight */
.x-nav-notification b{display:none!important}
.x-bottom-nav>.x-asset,
.x-nav-notification>.x-asset{width:27px;height:27px}
.x-bottom-nav .x-nav-visual-boost{width:29px;height:29px}
.x-bottom-nav .x-nav-standard{width:27px;height:27px}

/* 10 X For You indicator: around half of its tab width */
.x-tabs-row>span.active::after{left:25%;right:25%}

/* Export reliability: never let the mobile preview media query shrink cloned cards */
.export-render,
.export-render .social-card,
.export-render .instagram-card,
.export-render .linkedin-card,
.export-render .facebook-card,
.export-render .x-card{
  max-width:none!important;
}
.export-render .social-card,
.export-render .instagram-card,
.export-render .linkedin-card,
.export-render .facebook-card,
.export-render .x-card{
  width:100%!important;
}
.export-render .post-media{
  width:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Instagram dark-context export icons use actual white assets */
.instagram-story .story-more img,
.instagram-story .story-send-icon img,
.instagram-reel .reel-send-icon img,
.instagram-reel .reel-reshare-icon img{
  filter:none!important;
}

/* Facebook dark-context icons use actual white raster assets */
.fb-white-asset img,
.fb-story-white-asset img{
  filter:none!important;
}

/* Story/Reel exports are fixed at the approved 9:18 (1:2) canvas */
.export-render.instagram-story,
.export-render.tiktok-card,
.export-render.facebook-story-screen,
.export-render.facebook-reel-screen{
  width:390px!important;
  height:780px!important;
  max-width:none!important;
  aspect-ratio:1/2!important;
}
.export-render.instagram-story>.post-media,
.export-render.tiktok-card>.post-media,
.export-render.facebook-story-screen>.post-media,
.export-render.facebook-reel-screen>.post-media{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Instagram Reel retains its existing correct media crop but forces white UI */
.export-render.instagram-reel .reel-stage{overflow:hidden!important}
.export-render.instagram-reel .overlay-icon{color:#fff!important}
.export-render.instagram-reel .overlay-icon svg{stroke:#fff!important}
.export-render.instagram-reel .reel-action{color:#fff!important}

/* Facebook Reel UI should stay white over media */
.export-render.facebook-reel-screen .fb-reel-action,
.export-render.facebook-reel-screen .fb-reel-top,
.export-render.facebook-reel-screen .fb-nav-item{color:#fff!important}

/* LinkedIn/Facebook/Instagram feed media fill rather than contain */
.export-render.app-feed .post-media{
  display:block!important;
  width:100%!important;
  object-fit:cover!important;
}


/* === v0.4.9 priority icon pass === */

/* LinkedIn: cropped source art + larger visible glyphs */
.linkedin-nav-mobile .li-bottom-ui{
  width:34px!important;
  height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.linkedin-nav-mobile .li-bottom-ui img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.linkedin-nav-mobile .li-nav-item{
  gap:1px!important;
  font-size:9px!important;
}
.li-app-header-mobile .li-message-badge{
  width:39px!important;
  height:39px!important;
}
.li-app-header-mobile .li-ui-message{
  width:34px!important;
  height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.li-app-header-mobile .li-ui-message img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}

/* TikTok: centre create/post button should be visually dominant */
.tt-bottom-nav-refined .tt-nav-center{
  min-width:72px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.tt-bottom-nav-refined .tt-post-icon{
  width:68px!important;
  height:46px!important;
}
.tt-bottom-nav-refined .tt-post-icon img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}

/* Instagram post: keep new action row balanced */
.instagram-card .actions .left{
  gap:16px;
}
.instagram-card .ig-post-reshare,
.instagram-card .ig-post-send{
  width:26px;
  height:26px;
}
.instagram-nav{
  align-items:center;
}


/* === v0.4.11 LinkedIn icon scale correction === */
/* Matched back toward the supplied LinkedIn mobile reference */
.linkedin-nav-mobile .li-bottom-ui{
  width:28px!important;
  height:28px!important;
}
.linkedin-nav-mobile .li-bottom-ui img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.linkedin-nav-mobile .li-nav-item{
  gap:2px!important;
}
.li-app-header-mobile .li-message-badge{
  width:32px!important;
  height:32px!important;
}
.li-app-header-mobile .li-ui-message{
  width:27px!important;
  height:27px!important;
}


/* === v0.4.12 LinkedIn icon sizing === */
/* 10% smaller than v0.4.11 */
.linkedin-nav-mobile .li-bottom-ui{
  width:25.2px!important;
  height:25.2px!important;
}
.li-app-header-mobile .li-message-badge{
  width:28.8px!important;
  height:28.8px!important;
}
.li-app-header-mobile .li-ui-message{
  width:24.3px!important;
  height:24.3px!important;
}


/* === v0.4.13 icon sizing refinement === */
/* LinkedIn icons 10% smaller again from v0.4.12 */
.linkedin-nav-mobile .li-bottom-ui{
  width:22.68px!important;
  height:22.68px!important;
}
.li-app-header-mobile .li-message-badge{
  width:25.92px!important;
  height:25.92px!important;
}
.li-app-header-mobile .li-ui-message{
  width:21.87px!important;
  height:21.87px!important;
}

/* TikTok centre post/create icon 25% bigger */
.tt-bottom-nav-refined .tt-nav-center{
  min-width:90px!important;
}
.tt-bottom-nav-refined .tt-post-icon{
  width:85px!important;
  height:57.5px!important;
}


/* === v0.4.14 TikTok bottom nav reference-match === */
.tt-bottom-nav-refined{
  height:68px!important;
  padding:5px 8px 7px!important;
}
.tt-bottom-nav-refined .tt-nav-item{
  gap:2px!important;
  font-size:10px!important;
  line-height:1.05!important;
}
.tt-bottom-nav-refined .tt-bottom-icon,
.tt-bottom-nav-refined .tt-shop-icon{
  width:31px!important;
  height:31px!important;
}
.tt-bottom-nav-refined .tt-nav-center{
  min-width:64px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.tt-bottom-nav-refined .tt-post-icon{
  width:58px!important;
  height:39px!important;
}
.tt-bottom-nav-refined .tt-post-icon img,
.tt-bottom-nav-refined .tt-bottom-icon img,
.tt-bottom-nav-refined .tt-shop-icon img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}


/* === v0.4.15 TikTok post button size tweak === */
.tt-bottom-nav-refined .tt-post-icon{
  width:70px!important;
  height:47.07px!important;
}


/* v0.4.16 upload post + video + phone outline */
.upload-preview-video{display:block}
.upload-preview-video::-webkit-media-controls{display:none !important}
.preview-phone{margin:0 auto}
.preview-phone .phone-screen{display:grid;place-items:center;background:#fff}
.preview-phone .phone-screen > [data-mockup-root="true"]{margin:0}
.preview-phone .phone-screen > .app-feed,
.preview-phone .phone-screen > .instagram-story,
.preview-phone .phone-screen > .instagram-reel,
.preview-phone .phone-screen > .tiktok-card,
.preview-phone .phone-screen > .facebook-story-screen,
.preview-phone .phone-screen > .facebook-reel-screen{width:390px;max-width:none}
.preview-phone .phone-screen > .social-card,
.preview-phone .phone-screen > .linkedin-card,
.preview-phone .phone-screen > .facebook-card,
.preview-phone .phone-screen > .x-card{width:390px;max-width:none}
video.post-media, video.x-post-media, video.reel-media{object-fit:cover;object-position:center center;display:block;width:100%;height:100%;background:#000}
.social-card video.post-media,.facebook-card video.post-media,.linkedin-card video.post-media,.x-card video.x-post-media{height:auto}
.instagram-card video.post-media{aspect-ratio:1/1}
.linkedin-card video.post-media,.facebook-card video.post-media{aspect-ratio:1.25/1}
.facebook-card video.post-media{aspect-ratio:1.17/1}
.instagram-story video.post-media,.facebook-story-screen video.post-media,.facebook-reel-screen video.post-media,.tiktok-card video.post-media{position:absolute;inset:0;height:100%;aspect-ratio:auto}
.instagram-reel video.reel-media{position:absolute;inset:0;width:100%;height:100%}
.export-toggle-row{margin-bottom:10px}
#exportVideo.disabled,#exportVideo:disabled{opacity:.45;cursor:not-allowed}
.helper{display:block;line-height:1.35}
.export-render video{background:#000}


/* === v0.4.17 export media root fix === */
/* Instagram Reel images returned to a true cover/background layer. */
.instagram-reel .reel-media{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
.instagram-reel img.reel-media{
  object-fit:cover!important;
  object-position:center center!important;
}

/* TikTok create button is now vector-based, so it cannot be raster-squashed. */
.tt-bottom-nav-refined .tt-post-button{
  width:70px!important;
  height:47.07px!important;
  min-width:70px!important;
  min-height:47.07px!important;
  flex:0 0 70px!important;
  display:block!important;
}
.tt-bottom-nav-refined .tt-post-button svg{
  display:block!important;
  width:70px!important;
  height:47.07px!important;
}

/* Frozen export media uses background-cover rather than html2canvas object-fit. */
.export-render [data-export-frozen-media="true"]{
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}


/* v0.4.18 UX cleanup */
#layoutControls{margin-top:12px}
.inline-layout-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(112,79,255,.16);border-radius:16px;background:rgba(112,79,255,.05)}
.inline-layout-card strong{display:block;font-size:14px;color:var(--ink)}
.inline-layout-card small{display:block;margin-top:2px;color:var(--muted)}
#editorFields{display:grid;gap:12px}
.editor-section{display:grid;gap:10px;padding:0}
.editor-section>h3{margin:0 0 2px;font-size:12px;letter-spacing:.02em;text-transform:uppercase;color:var(--muted)}
.editor-section.section-strong{padding:14px;border:1px solid rgba(112,79,255,.14);border-radius:16px;background:linear-gradient(180deg, rgba(112,79,255,.08), rgba(236,83,180,.04))}
.editor-details{border:1px solid var(--line);border-radius:16px;background:#fff;padding:12px 14px}
.editor-details summary{cursor:pointer;list-style:none;font-weight:700;color:var(--ink)}
.editor-details summary::-webkit-details-marker{display:none}
.editor-details[open] summary{margin-bottom:12px}
.field-upload-primary label{display:flex;align-items:center;justify-content:space-between;gap:10px}
.upload.upload-primary{border-color:rgba(112,79,255,.18);background:rgba(112,79,255,.04)}
.upload-post-button{background:linear-gradient(135deg, var(--primary), var(--accent));color:#fff;border:none;border-radius:14px;padding:10px 14px;font-weight:700;box-shadow:0 10px 24px rgba(112,79,255,.18)}
.upload-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;background:rgba(112,79,255,.08);color:var(--primary);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.export-card .helper{margin-top:10px}
#exportVideo[hidden]{display:none !important}
.card h2 + .helper{margin-top:6px}
@media (max-width: 1200px){
  .upload.upload-primary{grid-template-columns:70px 1fr}
  .upload-post-button{grid-column:1 / -1}
}


/* === v0.4.19 editor declutter === */
.editor-section.section-no-heading{
  gap:10px;
}
.editor-section.section-no-heading > h3{
  display:none!important;
}
.section-strong.section-no-heading{
  padding:12px;
}
.field-upload-clean{
  margin-top:0;
}
.upload-action-stack{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}
.upload-action-stack .upload-post-button{
  flex:1;
}
.upload-action-stack .upload-status-badge{
  flex:0 0 auto;
}
.editor-disclosure{
  padding:0!important;
  overflow:hidden;
}
.editor-disclosure summary{
  min-height:46px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  list-style:none;
}
.editor-disclosure summary::-webkit-details-marker{
  display:none;
}
.editor-disclosure summary::after{
  content:"⌄";
  flex:0 0 auto;
  font-size:18px;
  line-height:1;
  color:var(--muted);
  transform:translateY(-1px);
  transition:transform .18s ease;
}
.editor-disclosure[open] summary::after{
  transform:rotate(180deg) translateY(1px);
}
.editor-disclosure[open] summary{
  margin-bottom:0!important;
  border-bottom:1px solid var(--line);
}
.disclosure-content{
  display:grid;
  gap:10px;
  padding:12px 14px 14px;
}
.editor-disclosure .editor-section{
  padding:0;
}


/* === v0.4.20 cleanup + extension visibility === */

/* Dedicated Chrome extension card */
.extension-promo-card{
  display:grid;
  gap:12px;
  border-color:rgba(112,79,255,.18);
  background:linear-gradient(180deg, rgba(112,79,255,.065), rgba(236,83,180,.025));
}
.extension-promo-head{
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.extension-promo-mark{
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#704fff,#ec53b4);
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:-.03em;
}
.extension-promo-card h2{
  margin:0 0 3px;
}
.extension-promo-card p{
  margin:0;
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
}
.extension-promo-button{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  border-radius:9px;
  background:var(--lav);
  color:var(--purple-dark);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}
.extension-promo-button:hover{
  text-decoration:none;
  filter:brightness(.985);
}

/* Platform-interface card sits directly after layout but is independent of it */
.display-card{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.display-card .inline-layout-card{
  background:#fff;
  border:1px solid var(--line);
}

/* Profile upload now uses the same component treatment as Upload post */
.field-upload-profile .upload-primary{
  border-color:rgba(112,79,255,.14);
  background:linear-gradient(180deg, rgba(112,79,255,.06), rgba(236,83,180,.025));
}
.field-upload-profile .upload-post-button{
  width:100%;
}

/* Phone outline: clean frame, no camera/notch, with subtle side volume controls */
.phone-export .phone-notch{
  display:none!important;
}
.phone-volume-buttons{
  position:absolute;
  left:-4px;
  top:112px;
  z-index:4;
  display:grid;
  gap:12px;
  pointer-events:none;
}
.phone-volume-buttons i{
  display:block;
  width:5px;
  height:42px;
  border-radius:3px 0 0 3px;
  background:#161616;
}
.phone-volume-buttons i + i{
  height:56px;
}
.preview-phone .phone-volume-buttons{
  left:-4px;
}

/* Hidden layout card should collapse completely */
#formatCard[hidden],
#displayCard[hidden]{
  display:none!important;
}



/* === v0.4.22 clean workspace pass === */

/* Version now lives in the top MockUp Buddy brand card */
.brand-copy{min-width:0;}
.brand-version{
  display:inline-block;
  margin-top:7px;
  padding:3px 7px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  color:rgba(255,255,255,.92);
  font-size:9px;
  font-weight:800;
  letter-spacing:.05em;
  line-height:1.2;
}

/* Clean workspace: no white toolbar / live status strip */
.workspace-top,
#liveStatus,
#previewStatus,
.preview-status,
.live-status{
  display:none!important;
}
.workspace{padding-top:0;}
.reset-download{margin-top:4px;}


/* === v0.4.23 upload control parity === */
/* Upload post and Upload profile image now use the exact same shared component. */
.field-upload-primary{
  margin:0;
}
.field-upload-primary .upload-primary{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px;
  border:1px solid rgba(112,79,255,.14);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(112,79,255,.06), rgba(236,83,180,.025));
}
.field-upload-primary .upload-preview{
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:9px;
  object-fit:cover;
}
.field-upload-primary .upload-action-stack{
  flex:1;
  min-width:0;
}
.field-upload-primary .upload-post-button{
  width:100%;
  min-height:36px;
  padding:8px 12px;
  border:1px solid rgba(112,79,255,.16);
  border-radius:12px;
  background:var(--lav);
  color:var(--purple-dark);
  box-shadow:none;
  font-weight:800;
}


/* === v0.4.24 workspace cleanup === */
/* Remove the pre-preview Ready to create status card for a cleaner workspace. */
.ready-card,
.ready-state,
.workspace-status,
.preview-empty-status,
.empty-status{
  display:none!important;
}


/* === v0.4.28 MP4 download link === */
.video-download-link{
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  text-decoration:none;
  cursor:pointer;
}
.video-download-link:hover{text-decoration:none;}
.video-download-link[hidden]{display:none!important;}


/* === v0.4.29 production MP4 flow === */
.video-export-controls{
  display:grid;
  gap:8px;
}
.video-export-controls[hidden]{
  display:none!important;
}


/* === v0.4.31 subscription-ready UI === */
.plan-summary-card{
  background:linear-gradient(180deg,#fff 0%,#fbf9ff 100%);
}
.plan-summary-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.plan-kicker{
  display:block;
  margin-bottom:4px;
  color:var(--muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.plan-name-row{
  display:flex;
  align-items:center;
  gap:7px;
}
.plan-name-row strong{
  font-size:16px;
}
.plan-pill{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:3px 7px;
  border-radius:999px;
  background:#f1edff;
  color:var(--purple-dark);
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
}
.plan-pill[data-plan="premium"]{
  background:#efe8ff;
}
.plan-pill[data-plan="pro"]{
  background:#15121a;
  color:#fff;
}
.plan-link-button{
  padding:0;
  border:0;
  background:transparent;
  color:var(--purple-dark);
  font-size:11px;
  font-weight:800;
}
.usage-list{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.usage-row>div:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:5px;
  font-size:10px;
  color:var(--muted);
}
.usage-row strong{
  color:var(--ink);
  font-size:10px;
}
.usage-track{
  height:5px;
  overflow:hidden;
  border-radius:99px;
  background:#ede8f4;
}
.usage-track span{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#704fff,#ec53b4);
  transition:width .2s ease;
}
.usage-track span.unlimited{
  width:100%!important;
  opacity:.35;
}
.primary.limit-reached{
  background:#15121a;
}
.mp4-locked-panel{
  width:100%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  padding:11px;
  border:1px solid rgba(112,79,255,.16);
  border-radius:10px;
  background:#f8f5ff;
  color:var(--ink);
  text-align:left;
}
.mp4-locked-panel[hidden]{display:none!important;}
.mp4-locked-panel .lock-dot{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:9px;
  background:linear-gradient(135deg,#704fff,#ec53b4);
  color:#fff;
  font-size:9px;
  font-weight:900;
}
.mp4-locked-panel strong,
.mp4-locked-panel small{
  display:block;
}
.mp4-locked-panel strong{
  font-size:11px;
}
.mp4-locked-panel small{
  margin-top:2px;
  color:var(--muted);
  font-size:9px;
}
.lock-arrow{
  color:var(--purple);
  font-weight:900;
}
.pricing-modal[hidden]{
  display:none!important;
}
.pricing-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:24px;
}
.pricing-backdrop{
  position:absolute;
  inset:0;
  background:rgba(20,16,30,.48);
  backdrop-filter:blur(5px);
}
.pricing-dialog{
  position:relative;
  z-index:1;
  width:min(920px,96vw);
  max-height:90vh;
  overflow:auto;
  padding:24px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:20px;
  background:#fff;
  box-shadow:0 30px 90px rgba(31,22,54,.22);
}
.pricing-header{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}
.pricing-header h2{
  margin:0;
  font-size:24px;
}
.pricing-header p{
  max-width:620px;
  margin:7px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}
.pricing-close{
  flex:0 0 34px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#f5f1fa;
  color:var(--ink);
  font-size:22px;
  line-height:1;
}
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.pricing-plan{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:310px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
.pricing-plan.is-current{
  box-shadow:inset 0 0 0 2px rgba(112,79,255,.18);
}
.pricing-featured{
  border-color:#b8a8ff;
  background:linear-gradient(180deg,#faf8ff,#fff);
}
.popular-badge{
  position:absolute;
  top:-10px;
  right:14px;
  padding:5px 9px;
  border-radius:999px;
  background:linear-gradient(135deg,#704fff,#ec53b4);
  color:#fff;
  font-size:9px;
  font-weight:900;
}
.pricing-plan-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.pricing-label{
  color:var(--purple-dark);
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
}
.pricing-plan h3{
  margin:4px 0 0;
  font-size:17px;
}
.pricing-plan-head>strong{
  font-size:20px;
}
.pricing-plan-head strong small{
  font-size:10px;
  color:var(--muted);
}
.pricing-plan ul{
  flex:1;
  display:grid;
  align-content:start;
  gap:10px;
  margin:20px 0;
  padding:0;
  list-style:none;
}
.pricing-plan li{
  position:relative;
  padding-left:18px;
  color:#4e4858;
  font-size:11px;
  line-height:1.4;
}
.pricing-plan li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--purple);
  font-weight:900;
}
.pricing-cta:disabled{
  opacity:.6;
  cursor:default;
}
.pricing-note{
  margin:14px 0 0;
  color:var(--muted);
  font-size:10px;
  text-align:center;
}
body.pricing-open{
  overflow:hidden;
}
@media(max-width:760px){
  .pricing-grid{grid-template-columns:1fr;}
  .pricing-dialog{padding:18px;}
  .pricing-plan{min-height:0;}
}

/* === v0.4.32 Supabase account connection === */
.account-email{display:block;margin-top:4px;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}
.plan-actions{display:flex;align-items:center;gap:10px}
.auth-modal[hidden]{display:none!important}
.auth-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px}
.auth-dialog{position:relative;z-index:1;width:min(430px,94vw);padding:24px;border:1px solid rgba(255,255,255,.7);border-radius:20px;background:#fff;box-shadow:0 30px 90px rgba(31,22,54,.22)}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:18px 0 16px;padding:4px;border-radius:12px;background:#f5f1fa}
.auth-tab{min-height:36px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:800}
.auth-tab.active{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(31,22,54,.08)}
.auth-form{display:grid;gap:12px}
.auth-form label{display:grid;gap:6px;color:var(--ink);font-size:10px;font-weight:800}
.auth-form input{width:100%;min-height:42px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}
.auth-message{min-height:16px;margin:0;color:var(--muted);font-size:10px;line-height:1.4}

/* === v0.4.33 secure usage + account success === */
.account-success{
  display:grid;
  justify-items:center;
  gap:8px;
  padding:8px 4px 2px;
  text-align:center;
}
.account-success[hidden]{display:none!important;}
.account-success-icon{
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  margin-bottom:4px;
  border-radius:18px;
  background:linear-gradient(135deg,#704fff,#ec53b4);
  color:#fff;
  font-size:27px;
  font-weight:900;
  box-shadow:0 14px 32px rgba(112,79,255,.22);
}
.account-success h3{
  margin:0;
  font-size:24px;
  letter-spacing:-.03em;
}
.account-success p{
  max-width:330px;
  margin:0 0 6px;
  color:var(--muted);
  font-size:11px;
  line-height:1.5;
}
.account-success-perk{
  width:100%;
  box-sizing:border-box;
  display:grid;
  gap:2px;
  margin:5px 0 7px;
  padding:12px;
  border:1px solid rgba(112,79,255,.14);
  border-radius:12px;
  background:#f8f5ff;
}
.account-success-perk strong{
  color:var(--purple-dark);
  font-size:13px;
}
.account-success-perk span{
  color:var(--muted);
  font-size:10px;
}
.auth-tabs[hidden],
.auth-form[hidden]{
  display:none!important;
}

/* === v0.4.34 Google sign-in === */
.social-auth-button{
  width:100%;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  font-size:11px;
  font-weight:800;
  box-shadow:0 1px 2px rgba(31,22,54,.04);
}
.social-auth-button:hover{
  border-color:rgba(112,79,255,.24);
  background:#fcfbff;
}
.social-auth-button:disabled{
  opacity:.65;
  cursor:wait;
}
.google-mark{
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
}
.google-mark svg{
  width:18px;
  height:18px;
  display:block;
}
.auth-divider{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:2px 0;
  color:var(--muted);
  font-size:9px;
}
.auth-divider::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:1px;
  background:var(--line);
}
.auth-divider span{
  position:relative;
  padding:0 9px;
  background:#fff;
}
.auth-divider[hidden]{display:none!important;}

/* === v0.4.36 Stripe checkout + Enterprise === */
@media (min-width: 980px){
  .pricing-grid{grid-template-columns:repeat(4,1fr);}
  .pricing-dialog{width:min(1120px,96vw);}
}
@media (min-width: 761px) and (max-width: 979px){
  .pricing-grid{grid-template-columns:repeat(2,1fr);}
}

/* === v0.4.37 upload button polish === */
.field-upload-primary .upload-post-button{
  border:none!important;
}
