/* Nexus Browser iMac demo (11 Oct 2026). A 1600 x 858 virtual screen, scaled to the iMac by demo.js, so the sidebar
   below uses the same sizes, colours and layout as the real extension (Chrome/panel.css 0.17). */
.scr { position: absolute; z-index: 1; left: 4.54%; top: 5.816%; width: 91.203%; height: 61.064%; overflow: hidden; background: #202124; text-align: left; }
.vs { position: absolute; left: 0; top: 0; width: 1600px; height: 858px; transform-origin: 0 0; overflow: hidden; background: #202124;
  font: 13.5px/1.5 Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; color: #e8eaed; -webkit-font-smoothing: antialiased; }
.vs *, .vs *::before, .vs *::after { box-sizing: border-box; }
.vs img { display: block; }
.vs svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.vs button { font: inherit; color: inherit; }

/* ---------- Chrome frame ---------- */
.vs .ch-tabs { display: flex; align-items: flex-end; gap: 4px; height: 40px; padding: 0 12px; background: #202124; }
.vs .ch-dots { display: flex; gap: 8px; align-self: center; margin-right: 12px; }
.vs .ch-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .vs .ch-dots i:nth-child(2) { background: #febc2e; } .vs .ch-dots i:nth-child(3) { background: #28c840; }
.vs .ch-tab { display: flex; align-items: center; gap: 9px; width: 230px; height: 32px; padding: 0 12px; border-radius: 10px 10px 0 0; color: #bdc1c6; font-size: 12.5px; white-space: nowrap; overflow: hidden;
  transition: background .25s, color .25s, width .45s var(--e), opacity .3s; }
.vs .ch-tab.on { background: #35363a; color: #e8eaed; }
.vs .ch-tab.gone { width: 0; padding: 0; opacity: 0; }
.vs .ch-tab .fav { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; font-size: 10px; font-weight: 800; color: #fff; overflow: hidden; }
.vs .ch-tab .fav img { width: 100%; height: 100%; object-fit: cover; }
.vs .ch-tab .tt { overflow: hidden; text-overflow: ellipsis; }
.vs .ch-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; background: #35363a; border-bottom: 1px solid #000; }
.vs .ch-nav { display: flex; gap: 16px; color: #9aa0a6; font-size: 17px; letter-spacing: 2px; }
.vs .ch-url { flex: 1; display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 15px; border-radius: 99px; background: #202124; color: #e8eaed; font-size: 14px; white-space: nowrap; overflow: hidden; }
.vs .ch-url svg { width: 14px; height: 14px; color: #9aa0a6; }
.vs .ch-url b { font-weight: 400; color: #9aa0a6; }
.vs .ch-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #c4c7c5; transition: background .25s; position: relative; }
.vs .ch-ic svg { width: 18px; height: 18px; }
.vs .ch-ext img { width: 22px; height: auto; }
.vs .ch-ic.on { background: rgba(138, 180, 248, .22); }
.vs .ch-me { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #35363a, 0 0 0 3.5px rgba(34, 211, 238, .5); }
.vs .ch-me img { width: 100%; height: 100%; object-fit: cover; }
/* Chrome's download button: a ring fills, then a tick */
.vs .ch-dl { opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--e); }
.vs .ch-dl.show { opacity: 1; transform: none; }
.vs .ch-dl .ring { position: absolute; inset: 2px; width: 28px; height: 28px; transform: rotate(-90deg); }
.vs .ch-dl .ring circle { fill: none; stroke: #8ab4f8; stroke-width: 2.4; stroke-dasharray: 82; stroke-dashoffset: 82; }
.vs .ch-dl.run .ring circle { transition: stroke-dashoffset 1.1s cubic-bezier(.4, 0, .2, 1); stroke-dashoffset: 0; }
.vs .dl-pop { position: absolute; z-index: 30; right: 54px; top: 80px; width: 340px; padding: 12px; border-radius: 14px; background: #2d2e31; box-shadow: 0 24px 60px -18px #000, 0 0 0 1px rgba(255, 255, 255, .06);
  opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: top right; transition: opacity .3s, transform .4s var(--e); pointer-events: none; }
.vs .dl-pop.show { opacity: 1; transform: none; }
.vs .dl-pop h6 { margin: 2px 4px 10px; color: #e8eaed; font-size: 13px; font-weight: 600; }
.vs .dl-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; background: #35363a; }
.vs .dl-file { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(138, 180, 248, .16); color: #8ab4f8; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.vs .dl-row b { display: block; color: #e8eaed; font-size: 13px; font-weight: 600; }
.vs .dl-row small { color: #9aa0a6; font-size: 11.5px; }
.vs .dl-row .ok { margin-left: auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #34d399; color: #04210f; }
.vs .dl-row .ok svg { width: 13px; height: 13px; stroke-width: 3.2; }

.vs .ch-body { position: relative; display: flex; height: 774px; }
.vs .ch-page { position: relative; flex: 1; min-width: 0; overflow: hidden; background: #fff; }
.vs .ch-side { flex: none; width: 0; overflow: hidden; border-left: 1px solid #3c4043; background: #050505; transition: width .75s var(--e); }
.vs.open .ch-side { width: 380px; }

/* ---------- Pages ---------- */
.vs .pg { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; overflow: hidden; }
.vs .pg.on { opacity: 1; visibility: visible; }
/* Wallpaper site */
.vs .pg-wall { background: #f6f5f2; color: #111; padding: 0 44px; }
.vs .wl-top { display: flex; align-items: center; gap: 28px; height: 70px; color: #555; font-size: 14px; }
.vs .wl-top b { margin-right: auto; color: #111; font: 900 24px Outfit, Inter, sans-serif; letter-spacing: -.02em; }
.vs .wl-top span:last-child { padding: 8px 18px; border-radius: 99px; background: #111; color: #fff; font-weight: 700; }
.vs .wl-h { margin: 14px 0 4px; font: 800 40px/1.1 Outfit, Inter, sans-serif; letter-spacing: -.03em; }
.vs .wl-sub { margin: 0 0 24px; color: #666; font-size: 15px; }
.vs .wl-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 168px; gap: 16px; }
.vs .wl-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; background: #ddd; transition: box-shadow .3s, transform .3s; }
.vs .wl-grid img.tall { grid-row: span 2; }
.vs .wl-grid img.wide { grid-column: span 3; height: 150px; object-position: center 40%; }
.vs .wl-grid img.pick { box-shadow: 0 0 0 3px #22d3ee, 0 10px 30px -8px rgba(34, 211, 238, .55); transform: scale(.985); }
/* Page source tab (Chrome/source.html) */
.vs .pg-src { background: radial-gradient(700px 420px at 100% 0, rgba(59, 130, 246, .08), transparent 70%), #050505; color: #f4f4f5; }
.vs .sx-bar { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.vs .sx-brand { display: flex; align-items: center; gap: 12px; flex: 1; }
.vs .sx-brand img { width: 34px; height: 34px; border-radius: 10px; background: #0b0b10; }
.vs .sx-brand h1 { margin: 0; font-size: 17px; font-weight: 750; letter-spacing: -.3px; }
.vs .sx-brand p { margin: 1px 0 0; color: #a1a1aa; font-size: 12.5px; }
.vs .xbtn { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 10px; font-size: 13px; font-weight: 650; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .14); color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); box-shadow: 0 2px 0 rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12); }
.vs .xbtn svg { width: 16px; height: 16px; }
.vs .xbtn.pri { border-color: #fff; color: #0a0a0c; background: linear-gradient(180deg, #fff 0%, #eef1f5 55%, #d9dee6 100%); box-shadow: 0 2px 0 #9aa3af, 0 8px 22px rgba(0, 0, 0, .45); }
.vs .sx-tools { display: flex; align-items: center; gap: 12px; padding: 14px 24px 12px; }
.vs .seg { display: flex; padding: 3px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(0, 0, 0, .4); }
.vs .seg span { padding: 5px 11px; border-radius: 7px; color: #a1a1aa; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; transition: background .25s, color .25s; }
.vs .seg span.on { background: #fff; color: #0a0a0c; box-shadow: 0 1px 0 #9aa3af; }
.vs .sx-find { flex: 1; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; color: #6b6b76; font-size: 13px; }
.vs .sx-code { margin: 0 24px; height: 590px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: #07070a; overflow: hidden;
  font: 12.5px/1.75 "Cascadia Code", "JetBrains Mono", Consolas, monospace; color: #e4e4e7; white-space: pre; }
.vs .sx-code div { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .35s var(--e); }
.vs .sx-code div.in { opacity: 1; transform: none; }
.vs .sx-code i { font-style: normal; color: #4b4b55; display: inline-block; width: 34px; }
.vs .tk-t { color: #7dd3fc; } .vs .tk-a { color: #c4b5fd; } .vs .tk-s { color: #86efac; } .vs .tk-c { color: #6b7280; }
/* TikTok */
.vs .pg-tt { background: #000; color: #fff; display: grid; grid-template-columns: 220px 1fr; }
.vs .tt-nav { padding: 20px 18px; border-right: 1px solid #1f1f1f; display: grid; align-content: start; gap: 18px; font-size: 15px; font-weight: 700; color: #e5e5e5; }
.vs .tt-nav b { font: 900 24px Outfit, Inter, sans-serif; letter-spacing: -.02em; margin-bottom: 8px; }
.vs .tt-nav b span { color: #25f4ee; text-shadow: 2px 0 #fe2c55; }
.vs .tt-nav i { font-style: normal; opacity: .8; }
.vs .tt-feed { display: flex; justify-content: center; align-items: center; gap: 22px; }
.vs .tt-vid { position: relative; width: 360px; height: 640px; border-radius: 16px; overflow: hidden; background: #111; }
.vs .tt-vid img { width: 100%; height: 100%; object-fit: cover; animation: ttZoom 9s ease-in-out infinite alternate; }
@keyframes ttZoom { to { transform: scale(1.08); } }
.vs .tt-cap { position: absolute; left: 14px; right: 14px; bottom: 18px; font-size: 13.5px; text-shadow: 0 1px 4px #000; }
.vs .tt-cap b { display: block; font-size: 15px; margin-bottom: 4px; }
.vs .tt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25); }
.vs .tt-bar i { display: block; height: 100%; width: 10%; background: #fff; animation: ttBar 9s linear infinite; }
@keyframes ttBar { to { width: 100%; } }
.vs .tt-rail { display: grid; gap: 18px; justify-items: center; font-size: 12px; font-weight: 700; }
.vs .tt-rail span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #2a2a2a; }
.vs .tt-rail span svg { width: 22px; height: 22px; fill: #fff; stroke: none; }
.vs .tt-rail .av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff; }
.vs .tt-rail .av img { width: 100%; height: 100%; object-fit: cover; background: #0b0b10; }
/* Image Studio (nexushub.diy/tools/image-studio) */
.vs .pg-is { background: #0a0a0c; color: #f4f4f5; display: grid; grid-template-rows: 54px 50px 1fr; }
.vs .is-site { display: flex; align-items: center; gap: 30px; padding: 0 22px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; font-weight: 600; color: #d4d4d8; }
.vs .is-site b { display: flex; align-items: center; gap: 9px; margin-right: auto; color: #fff; font: 800 16px Outfit, Inter, sans-serif; }
.vs .is-site b img { width: 28px; height: 28px; border-radius: 50%; background: #0b0b10; }
.vs .is-site .lg { padding: 7px 14px; border: 1px solid #6366f1; border-radius: 999px; color: #fff; box-shadow: 0 0 16px -4px rgba(99, 102, 241, .8); }
.vs .is-bar { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.vs .is-bar strong { font-weight: 700; }
.vs .is-bar small { color: #71717a; }
.vs .is-sw { display: flex; gap: 6px; margin-left: 10px; } .vs .is-sw i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.vs .is-bar .xbtn { margin-left: auto; height: 32px; }
.vs .is-main { display: grid; grid-template-columns: 52px 1fr 300px; min-height: 0; }
.vs .is-rail { display: grid; align-content: start; justify-items: center; gap: 16px; padding-top: 16px; border-right: 1px solid rgba(255, 255, 255, .06); color: #a1a1aa; }
.vs .is-rail svg { width: 19px; height: 19px; }
.vs .is-rail .on { color: #22d3ee; }
.vs .is-canvas { position: relative; display: grid; place-items: center; background: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 18px 18px; }
.vs .is-img { position: relative; width: 600px; height: 360px; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 80px -20px #000, 0 0 0 1px rgba(255, 255, 255, .1);
  opacity: 0; transform: scale(.9); transition: opacity .5s, transform .6s var(--e); }
.vs .is-img.in { opacity: 1; transform: none; }
.vs .is-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(var(--br, .82)) contrast(var(--co, .9)) saturate(var(--sa, .7)); transition: filter 1.2s ease; }
.vs .is-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); }
.vs .is-img.shine::after { transition: transform 1.1s ease; transform: translateX(120%); }
.vs .is-side { border-left: 1px solid rgba(255, 255, 255, .06); padding: 14px 16px; display: grid; align-content: start; gap: 14px; }
.vs .is-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: 11.5px; font-weight: 700; color: #a1a1aa; }
.vs .is-tabs span { flex: 1; padding: 6px 0; border-radius: 7px; text-align: center; } .vs .is-tabs .on { background: rgba(34, 211, 238, .14); color: #67e8f9; }
.vs .is-auto { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 11px; font-weight: 700; color: #0a0a0c;
  background: linear-gradient(90deg, #67e8f9, #a78bfa); box-shadow: 0 8px 24px -8px rgba(103, 232, 249, .6); }
.vs .is-auto svg { width: 17px; height: 17px; }
.vs .sl { display: grid; gap: 7px; font-size: 12.5px; color: #d4d4d8; }
.vs .sl div { display: flex; justify-content: space-between; } .vs .sl div em { font-style: normal; color: #67e8f9; font-variant-numeric: tabular-nums; }
.vs .sl u { position: relative; display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); text-decoration: none; }
.vs .sl u i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v, 50%); border-radius: inherit; background: linear-gradient(90deg, #22d3ee, #a78bfa); transition: width 1.2s ease; }
.vs .sl u i::after { content: ""; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }

/* Screenshot Area overlay on the page */
.vs .shot { position: absolute; inset: 0; z-index: 12; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .3s; pointer-events: none; }
.vs .shot.on { opacity: 1; }
.vs .shot-hint { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); padding: 8px 16px; border-radius: 99px; background: rgba(10, 10, 12, .9); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.vs .shot-box { position: absolute; border: 2px solid #22d3ee; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 9999px rgba(0, 0, 0, .25); border-radius: 4px; }
.vs .shot-box span { position: absolute; right: 0; bottom: -28px; padding: 3px 8px; border-radius: 6px; background: #22d3ee; color: #031417; font: 700 11.5px Inter, sans-serif; }
.vs .shot-acts { position: absolute; display: flex; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .35s var(--e); }
.vs .shot-acts.on { opacity: 1; transform: none; }
.vs .flash { position: absolute; inset: 0; z-index: 13; background: #fff; opacity: 0; pointer-events: none; }
.vs .flash.go { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

/* ---------- The Nexus sidebar (Chrome/panel.html) ---------- */
.vs .np { position: relative; width: 380px; height: 774px; overflow: hidden; color: #f4f4f5;
  background: radial-gradient(380px 300px at 110% 30%, rgba(59, 130, 246, .07), transparent 70%), #050505; }
.vs .np-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(5, 5, 5, .72); }
.vs .np-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #22d3ee, #3b82f6); box-shadow: 0 0 0 2px #050505, 0 0 0 3.5px rgba(34, 211, 238, .45); }
.vs .np-av img { width: 100%; height: 100%; object-fit: cover; }
.vs .np-who { flex: 1; display: grid; line-height: 1.2; }
.vs .np-who small { color: #6b6b76; font-size: 11px; font-weight: 500; }
.vs .np-who strong { font-size: 15px; font-weight: 700; letter-spacing: -.3px; }
.vs .np-plan { padding: 3px 9px; border: 1px solid #fbbf24; border-radius: 6px; background: #000; color: #fcd34d; font-size: 10px; font-weight: 800; letter-spacing: .12em; box-shadow: 0 0 14px -4px rgba(251, 191, 36, .7); }
.vs .np-inv { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid #5865f2; border-radius: 6px; background: #000; color: #aab1ff; font-size: 10px; font-weight: 800; letter-spacing: .12em; box-shadow: 0 0 14px -4px rgba(88, 101, 242, .8); }
.vs .np-inv svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.vs .ib { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #a1a1aa; transition: background .2s, color .2s; }
.vs .ib.hot { background: rgba(255, 255, 255, .1); color: #fff; }
.vs .np-menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 5px 10px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(7, 7, 9, .88); }
.vs .np-menu span { display: grid; justify-items: center; gap: 5px; padding: 6px 2px 4px; color: #a1a1aa; font-size: 11px; font-weight: 550; }
.vs .np-menu i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(var(--c), .1); color: rgb(var(--c)); box-shadow: inset 0 0 0 1px rgba(var(--c), .18); }
.vs .np-menu i svg { width: 17px; height: 17px; }
.vs .nv { position: absolute; left: 0; right: 0; top: 138px; bottom: 0; padding: 10px 14px 14px; display: grid; gap: 12px; align-content: start;
  opacity: 0; transform: translateX(26px); transition: opacity .35s, transform .5s var(--e); pointer-events: none; }
.vs .nv.on { opacity: 1; transform: none; }
.vs .nv.left { transform: translateX(-26px); }
.vs .np-ask { position: relative; height: 42px; padding: 0 44px 0 14px; display: flex; align-items: center; border: 1px solid rgba(255, 255, 255, .12); border-radius: 11px; background: rgba(0, 0, 0, .45); color: #6b6b76; }
.vs .np-ask svg { position: absolute; right: 12px; color: #67e8f9; }
.vs .grab { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs .gc { position: relative; overflow: hidden; display: grid; justify-items: center; align-content: center; gap: 2px; height: 92px; padding: 8px 10px; border-radius: 10px; text-align: center;
  border: 1px solid rgba(var(--a), .22); background: linear-gradient(160deg, rgba(var(--a), .16), rgba(255, 255, 255, .02) 70%); transition: transform .2s, border-color .2s; }
.vs .gc:first-child { --a: 167 139 250; } .vs .gc:nth-child(2) { --a: 34 211 238; }
.vs .gc svg { width: 26px; height: 26px; margin-bottom: 4px; color: #fff; stroke-width: 1.7; }
.vs .gc b { font-size: 13.5px; font-weight: 700; } .vs .gc small { color: #a1a1aa; font-size: 11px; }
.vs .tiles { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.vs .tiles::before { content: ""; position: absolute; left: 4%; right: 4%; top: -11px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .26) 20%, rgba(255, 255, 255, .26) 80%, transparent); }
.vs .tile { position: relative; overflow: hidden; display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); font-weight: 600; font-size: 13px; transition: transform .2s, border-color .2s, background .2s; }
.vs .tile svg { width: 21px; height: 21px; color: #fff; }
.vs .press { transform: scale(.97) !important; border-color: rgba(255, 255, 255, .3) !important; }
.vs .bot { padding: 12px; border: 1px solid rgba(88, 101, 242, .3); border-radius: 12px; background: linear-gradient(160deg, rgba(88, 101, 242, .16), rgba(255, 255, 255, .02)); }
.vs .bot-h { display: flex; align-items: center; gap: 10px; }
.vs .bot-h > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #5865f2; color: #fff; }
.vs .bot-h > i svg { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.vs .bot-h div { flex: 1; display: grid; line-height: 1.25; } .vs .bot-h b { font-size: 13px; } .vs .bot-h small { color: #a1a1aa; font-size: 11px; }
.vs .bot-h em { padding: 5px 10px; border-radius: 8px; background: #fff; color: #0a0a0c; font-style: normal; font-size: 11.5px; font-weight: 700; }
.vs .bot-f { display: flex; gap: 6px; margin-top: 10px; } .vs .bot-f span { flex: 1; padding: 5px 0; border-radius: 7px; background: rgba(255, 255, 255, .05); color: #d4d4d8; font-size: 11px; font-weight: 600; text-align: center; }
.vs .quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vs .quick span { display: grid; justify-items: center; gap: 6px; padding: 11px 4px 10px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 10px; background: linear-gradient(180deg, rgba(var(--c), .08), rgba(255, 255, 255, .012)); color: #e4e4e7; font-size: 11.5px; font-weight: 600; }
.vs .quick svg { width: 20px; height: 20px; color: rgb(var(--c)); }
.vs .dock { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.vs .dock div { flex: 1; } .vs .dock h3 { margin: 0 0 8px; font-size: 14px; }
.vs .dock img { width: 74px; height: auto; }
.vs .pbtn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 11px; font-weight: 650; font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .14); color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); position: relative; overflow: hidden; transition: transform .15s; }
.vs .pbtn svg { width: 16px; height: 16px; }
.vs .pbtn.pri { border-color: #fff; color: #0a0a0c; background: linear-gradient(180deg, #fff 0%, #eef1f5 55%, #d9dee6 100%); box-shadow: 0 2px 0 #9aa3af; }
.vs .pbtn .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(34, 211, 238, .28); transition: width 1.4s cubic-bezier(.4, 0, .2, 1); }
.vs .pbtn.pri .fill { background: rgba(34, 211, 238, .35); }
.vs .pbtn.going .fill { width: 100%; }
.vs .pbtn span { position: relative; }
/* Sub-views */
.vs .vh { display: flex; align-items: center; gap: 8px; }
.vs .vh .ib { flex: none; } .vs .vh h2 { margin: 0; font-size: 15px; font-weight: 700; } .vs .vh p { margin: 1px 0 0; color: #6b6b76; font-size: 11.5px; }
.vs .vh .grow { flex: 1; }
.vs .ck-dock { display: grid; gap: 9px; padding: 12px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.vs .ck-fmt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #a1a1aa; font-size: 11.5px; font-weight: 600; }
.vs .sel { position: relative; display: flex; align-items: center; justify-content: space-between; width: 200px; height: 30px; padding: 0 9px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 9px; background: #0e0e12; color: #f4f4f5; font-size: 12px; transition: border-color .2s; }
.vs .sel svg { width: 14px; height: 14px; transform: rotate(90deg); color: #a1a1aa; transition: transform .3s; }
.vs .sel.open { border-color: rgba(255, 255, 255, .35); } .vs .sel.open svg { transform: rotate(-90deg); }
.vs .opts { position: absolute; z-index: 5; right: 0; top: 34px; width: 200px; padding: 5px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: #141418; box-shadow: 0 18px 40px -12px #000;
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top; transition: opacity .25s, transform .35s var(--e); }
.vs .opts.open { opacity: 1; transform: none; }
.vs .opts div { padding: 7px 9px; border-radius: 7px; color: #d4d4d8; font-size: 12px; transition: background .15s, color .15s; }
.vs .opts div.hl { background: rgba(255, 255, 255, .1); color: #fff; }
.vs .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs .ck-tools { display: flex; align-items: center; gap: 10px; }
.vs .ck-search { flex: 1; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 11px; color: #6b6b76; font-size: 12.5px; }
.vs .ck-search svg { width: 14px; height: 14px; }
.vs .ck-hide { color: #a1a1aa; font-size: 11.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.vs .ck-hide i { width: 13px; height: 13px; border: 1px solid #6b6b76; border-radius: 3px; }
.vs .ck-list { display: grid; gap: 6px; }
.vs .ck-item { border: 1px solid rgba(255, 255, 255, .07); border-radius: 13px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); overflow: hidden;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--e), border-color .2s, background .2s; }
.vs .ck-item.in { opacity: 1; transform: none; }
.vs .ck-item.open { border-color: rgba(255, 255, 255, .2); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); }
.vs .ck-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; }
.vs .ck-row > svg { width: 14px; height: 14px; color: #6b6b76; transition: transform .3s; }
.vs .ck-item.open .ck-row > svg { transform: rotate(90deg); }
.vs .ck-main { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.vs .ck-main b { font-size: 12.5px; } .vs .ck-main code { overflow: hidden; color: #6b6b76; font: 10.5px "Cascadia Code", Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.vs .ck-tag { padding: 2px 5px; border-radius: 5px; font-size: 8.5px; font-weight: 800; letter-spacing: .05em; }
.vs .ck-tag.sec { background: rgba(52, 211, 153, .12); color: #6ee7b7; } .vs .ck-tag.ho { background: rgba(167, 139, 250, .14); color: #c4b5fd; } .vs .ck-tag.ss { background: rgba(251, 191, 36, .12); color: #fcd34d; }
.vs .ck-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--e); }
.vs .ck-item.open .ck-more { grid-template-rows: 1fr; }
.vs .ck-more > div { overflow: hidden; }
.vs .ck-kv { display: grid; grid-template-columns: 84px 1fr; gap: 5px 10px; padding: 2px 12px 12px; font-size: 11.5px; }
.vs .ck-kv dt { color: #6b6b76; } .vs .ck-kv dd { margin: 0; color: #e4e4e7; font-family: "Cascadia Code", Consolas, monospace; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs .note { margin: 0; color: #6b6b76; font-size: 11px; line-height: 1.45; }
.vs .zip { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; }
.vs .ig { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vs .ic { padding: 6px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .35s, transform .5s var(--e); }
.vs .ic.in { opacity: 1; transform: none; }
.vs .ic img { width: 100%; height: 92px; object-fit: cover; border-radius: 9px; background: #111; }
.vs .ic div { display: flex; align-items: center; justify-content: space-between; padding: 6px 3px 1px; font-size: 10.5px; color: #a1a1aa; }
.vs .ic div b { color: #e4e4e7; font-weight: 600; }
.vs .ic div i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .07); color: #fff; }
.vs .ic div i svg { width: 12px; height: 12px; }
.vs .ic.got div i { background: #34d399; color: #04210f; }
/* TikTok card (panel.css .ttc) */
.vs .ttc { position: relative; height: 330px; border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.vs .ttc > img { width: 100%; height: 100%; object-fit: cover; }
.vs .ttc .play { position: absolute; left: 50%; top: 45%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .45); }
.vs .ttc .play svg { width: 22px; height: 22px; fill: #fff; stroke: none; margin-left: 3px; }
.vs .ttc-rail { position: absolute; right: 8px; bottom: 60px; display: grid; gap: 10px; justify-items: center; font-size: 10px; font-weight: 700; }
.vs .ttc-rail span { display: grid; justify-items: center; gap: 1px; } .vs .ttc-rail svg { width: 22px; height: 22px; fill: #fff; stroke: none; }
.vs .ttc-rail .av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff; } .vs .ttc-rail .av img { width: 100%; height: 100%; object-fit: cover; background: #0b0b10; }
.vs .ttc-info { position: absolute; left: 10px; right: 54px; bottom: 10px; font-size: 11.5px; text-shadow: 0 1px 4px #000; }
.vs .ttc-info b { display: block; font-size: 12.5px; }
.vs .pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; background: rgba(254, 44, 85, .14); color: #ff6b8a; box-shadow: inset 0 0 0 1px rgba(254, 44, 85, .35); }
.vs .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs .acts .wide { grid-column: span 2; }

/* Pointer + click ripple */
.vs .cur { position: absolute; z-index: 40; left: 1000px; top: 520px; width: 22px; transition: left .9s cubic-bezier(.45, .05, .2, 1), top .9s cubic-bezier(.45, .05, .2, 1); pointer-events: none; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }
.vs .cur svg { display: block; width: 100%; height: auto; transition: transform .12s; transform-origin: 10% 10%; }
.vs .cur .cross { display: none; }
.vs .cur.x .arrow { display: none; } .vs .cur.x .cross { display: block; margin: -11px 0 0 -11px; }
.vs .cur.down svg { transform: scale(.82); }
.vs .cur.slow { transition-duration: 1.5s; }
.vs .rip { position: absolute; z-index: 39; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .85); pointer-events: none; animation: vsRip .6s ease-out forwards; }
@keyframes vsRip { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.vs { --e: cubic-bezier(.16, 1, .3, 1); }
@media (prefers-reduced-motion: reduce) { .vs *, .vs *::after { transition: none !important; animation: none !important; } }
