.vcg{--bg:#0f1923;--card:#162230;--elev:#1d2b3a;--border:#2a3a4a;--primary:#ff4d5a;--primary2:#ff6a75;--press:#d62f3f;--gold:#ffd694;--text:#ece8e1;--muted:#9aa6b1;--success:#3ddc97;--stage:#0b121a;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:18px;padding:22px;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;box-sizing:border-box}.vcg *{box-sizing:border-box}.vcg button,.vcg input,.vcg select,.vcg textarea{font:inherit}.vcg-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.vcg-kicker{font-size:12px;letter-spacing:.16em;color:var(--gold);font-weight:800}.vcg h2{margin:5px 0 6px;font-size:clamp(28px,4vw,46px);line-height:1;color:var(--text)}.vcg-head p{margin:0;color:var(--muted)}.vcg-history{display:flex;gap:8px}.vcg-btn{min-height:44px;border:0;border-radius:10px;padding:10px 16px;background:var(--primary);color:#fff;font-weight:800;cursor:pointer;transition:.16s}.vcg-btn:hover{background:var(--primary2);transform:translateY(-1px)}.vcg-btn:active{background:var(--press);transform:none}.vcg-btn:focus-visible,.vcg-tab:focus-visible,.vcg button:focus-visible,.vcg input:focus-visible,.vcg select:focus-visible,.vcg textarea:focus-visible{outline:3px solid rgba(255,214,148,.75);outline-offset:2px}.vcg-btn-ghost{background:transparent;border:1px solid var(--border);color:var(--text)}.vcg-btn-ghost:hover{background:var(--elev)}.vcg-btn-danger{background:#6d2830}.vcg-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#0b121a;border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:18px}.vcg-tab{min-height:50px;border:0;background:transparent;color:var(--muted);font-weight:800;cursor:pointer}.vcg-tab.is-active{background:var(--primary);color:#fff}.vcg-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr);gap:18px;align-items:start}.vcg-settings{display:grid;gap:14px}.vcg-card{background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden}.vcg-card-head{padding:15px 16px;border-bottom:1px solid var(--border)}.vcg-card-head span,.vcg-preview-head span{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:var(--gold);font-weight:800}.vcg-card-head h3{margin:4px 0 0;font-size:18px}.vcg-import-card{padding-bottom:15px}.vcg-import-card .vcg-inline{padding:0 16px}.vcg-msg{padding:8px 16px 0;color:var(--muted);font-size:13px;min-height:22px}.vcg-section-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;background:var(--card);color:var(--text);padding:15px 16px;text-align:left;cursor:pointer}.vcg-section-toggle b{display:block;font-size:17px}.vcg-section-toggle small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.vcg-section-body{border-top:1px solid var(--border)}.vcg-row,.vcg-toggle-row{min-height:58px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,.95fr);gap:18px;align-items:center;padding:10px 16px;border-bottom:1px solid rgba(42,58,74,.65)}.vcg-row:last-child,.vcg-toggle-row:last-child{border-bottom:0}.vcg-row label,.vcg-toggle-row>span{font-weight:700}.vcg-row select,.vcg-inline input,.vcg-inline select,.vcg-colorpair input[type=text],.vcg-code-label textarea{width:100%;background:#0b121a;border:1px solid var(--border);color:var(--text);border-radius:8px;padding:10px 12px}.vcg-range{display:grid;grid-template-columns:1fr 58px;gap:10px;align-items:center}.vcg-range input[type=range],.vcg-zoom input[type=range]{width:100%;accent-color:var(--primary)}.vcg-range output,.vcg-zoom output{font-variant-numeric:tabular-nums;color:var(--text);font-weight:800;text-align:right}.vcg-switch{justify-self:end;position:relative;width:64px;height:30px}.vcg-switch input{opacity:0;position:absolute}.vcg-switch span{position:absolute;inset:0;border-radius:999px;background:#354250;border:1px solid var(--border);cursor:pointer}.vcg-switch span:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#c4cbd1;transition:.18s}.vcg-switch input:checked+span{background:#17683e}.vcg-switch input:checked+span:after{transform:translateX(34px);background:#fff}.vcg-colorpair{display:grid;grid-template-columns:52px 1fr;gap:8px}.vcg-colorpair input[type=color]{width:52px;height:42px;border:1px solid var(--border);background:#0b121a;border-radius:8px;padding:3px}.vcg-inline{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}.vcg-card>.vcg-inline,.vcg-random-row,.vcg-preset-grid{margin-left:16px;margin-right:16px}.vcg-preset-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.vcg-preset-grid button{min-height:44px;border-radius:9px;border:1px solid var(--border);background:var(--elev);color:var(--text);cursor:pointer;font-weight:700}.vcg-preset-grid button:hover{border-color:var(--primary)}.vcg-random-row{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:10px;margin-bottom:15px;color:var(--muted)}.vcg-preview-card{position:sticky;top:18px;background:var(--card);border:1px solid var(--border);border-radius:14px;padding:14px;box-shadow:0 14px 38px rgba(0,0,0,.26)}.vcg-preview-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.vcg-preview-head strong{display:block;font-size:20px;margin-top:2px}.vcg-live-dot{color:var(--success)!important;letter-spacing:0!important;text-transform:none!important}.vcg-stage-wrap{height:360px;border-radius:12px;overflow:hidden;background:#0b121a;border:1px solid var(--border);position:relative}.vcg-stage-wrap canvas{display:block;width:100%;height:100%;image-rendering:pixelated}.vcg-bg-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:10px 0}.vcg-bg-strip button{height:46px;border:2px solid transparent;border-radius:7px;cursor:pointer}.vcg-bg-strip button.is-active{border-color:var(--primary);box-shadow:0 0 0 2px rgba(255,77,90,.18)}.vcg-bg-strip [data-vcg-bg=dark]{background:#11151b}.vcg-bg-strip [data-vcg-bg=sky]{background:linear-gradient(#87c9ff,#d9efff)}.vcg-bg-strip [data-vcg-bg=foliage]{background:linear-gradient(135deg,#244a2a,#6e8f44,#173621)}.vcg-bg-strip [data-vcg-bg=warm]{background:linear-gradient(135deg,#b96642,#f0b06f)}.vcg-bg-strip [data-vcg-bg=snow]{background:linear-gradient(#f8fbff,#cfe2ef)}.vcg-bg-strip [data-vcg-bg=checker]{background:conic-gradient(#9da8b5 25%,#34404c 0 50%,#9da8b5 0 75%,#34404c 0) 0 0/24px 24px}.vcg-sim-row,.vcg-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vcg-zoom{display:grid;grid-template-columns:auto 1fr 55px;gap:10px;align-items:center;margin:12px 0;color:var(--muted)}.vcg-code-label{display:block;color:var(--muted);font-size:12px}.vcg-code-label textarea{margin-top:6px;resize:vertical;min-height:88px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--text)}.vcg-copy{width:100%;margin-top:9px}.vcg-copy.is-copied{background:var(--success);color:#07150f}.vcg-action-grid{margin-top:8px}.vcg-help{margin-top:10px;border-top:1px solid var(--border);padding-top:10px}.vcg-help summary{cursor:pointer;color:var(--gold);font-weight:700}.vcg-help p,.vcg-note,.vcg-disclaimer{color:var(--muted);font-size:13px;line-height:1.5}.vcg-disclaimer{margin:14px 2px 0;text-align:center}.vcg-note{min-height:20px;margin:8px 0 0}.vcg-mode-note{background:#231d12;color:var(--gold);border:1px solid #6e5a33;border-radius:9px;padding:10px 12px;margin-bottom:10px;font-size:13px}.vcg-hidden{display:none!important}@media(max-width:900px){.vcg{padding:14px}.vcg-layout{grid-template-columns:1fr}.vcg-preview-card{position:sticky;top:0;z-index:20;order:-1}.vcg-stage-wrap{height:280px}.vcg-head{flex-direction:column}.vcg-row,.vcg-toggle-row{grid-template-columns:1fr;gap:8px}.vcg-switch{justify-self:start}.vcg-preset-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.vcg-tabs{grid-template-columns:1fr}.vcg-history{width:100%}.vcg-history .vcg-btn{flex:1}.vcg-inline{grid-template-columns:1fr}.vcg-bg-strip{grid-template-columns:repeat(3,1fr)}.vcg-stage-wrap{height:240px}.vcg-zoom{grid-template-columns:1fr 52px}.vcg-zoom span{grid-column:1/-1}}

/* v1.4.10 visibility + overflow hardening for WordPress/theme compatibility */
.vcg,
.vcg .vcg-settings,
.vcg .vcg-card,
.vcg .vcg-card-head,
.vcg .vcg-section-toggle,
.vcg .vcg-section-body,
.vcg .vcg-preview-card,
.vcg .vcg-code-label,
.vcg .vcg-help,
.vcg .vcg-disclaimer{
  color:var(--text) !important;
}
.vcg h1,.vcg h2,.vcg h3,.vcg h4,
.vcg .vcg-card-head h3,
.vcg .vcg-section-toggle b,
.vcg .vcg-row label,
.vcg .vcg-toggle-row>span,
.vcg .vcg-preview-head strong,
.vcg .vcg-code-label,
.vcg .vcg-preset-grid button,
.vcg .vcg-inline input,
.vcg .vcg-inline select,
.vcg select,
.vcg option{
  color:var(--text) !important;
  -webkit-text-fill-color:var(--text) !important;
  opacity:1 !important;
}
.vcg .vcg-card-head span,
.vcg .vcg-preview-head span,
.vcg .vcg-kicker,
.vcg .vcg-help summary{
  color:var(--gold) !important;
  -webkit-text-fill-color:var(--gold) !important;
  opacity:1 !important;
}
.vcg .vcg-section-toggle small,
.vcg .vcg-head p,
.vcg .vcg-msg,
.vcg .vcg-note,
.vcg .vcg-disclaimer,
.vcg .vcg-zoom span,
.vcg .vcg-code-label,
.vcg .vcg-random-row,
.vcg input::placeholder,
.vcg textarea::placeholder{
  color:var(--muted) !important;
  -webkit-text-fill-color:var(--muted) !important;
  opacity:1 !important;
}
.vcg .vcg-range output,
.vcg .vcg-zoom output{
  color:var(--text) !important;
  -webkit-text-fill-color:var(--text) !important;
  opacity:1 !important;
}
.vcg input[type=text],
.vcg select,
.vcg textarea{
  background:#0b121a !important;
  border-color:var(--border) !important;
  color:var(--text) !important;
  -webkit-text-fill-color:var(--text) !important;
}
.vcg select option{background:#0b121a !important;color:var(--text) !important}

/* Prevent preview/background controls escaping the sticky rail. */
.vcg-layout,.vcg-settings,.vcg-preview-card,.vcg-bg-strip{min-width:0}
.vcg-preview-card{max-width:100%;overflow:hidden}
.vcg-stage-wrap{max-width:100%;overflow:hidden}
.vcg-bg-strip{
  width:100%;
  max-width:100%;
  grid-template-columns:repeat(6,minmax(0,1fr));
  overflow:hidden;
}
.vcg-bg-strip button{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
}
.vcg-preset-grid{min-width:0}
.vcg-preset-grid button{min-width:0!important;width:100%!important;white-space:normal}
.vcg-inline>*{min-width:0}

/* Keep generated-code and profile controls inside their cards. */
.vcg-code-label textarea{max-width:100%!important;overflow-wrap:anywhere}
.vcg-inline,.vcg-preset-grid,.vcg-random-row{max-width:calc(100% - 32px)}

@media(max-width:1150px){
  .vcg-layout{grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr)}
  .vcg-bg-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .vcg-bg-strip{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:600px){
  .vcg-bg-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}


/* v1.4.11 professional header, field readability and control-state fix */
.vcg .vcg-head{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:12px !important;
  margin-bottom:16px !important;
}
.vcg .vcg-head > div:first-child{min-width:0;width:100%}
.vcg .vcg-head h2{
  max-width:none !important;
  margin:5px 0 8px !important;
  font-size:clamp(30px,4.2vw,48px) !important;
  line-height:1.06 !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
  hyphens:none !important;
}
.vcg .vcg-history{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:8px !important;
  width:100% !important;
}
.vcg .vcg-history .vcg-btn{
  min-width:112px !important;
  min-height:42px !important;
  padding:9px 15px !important;
  white-space:nowrap !important;
}
.vcg .vcg-btn:disabled{
  opacity:.42 !important;
  cursor:not-allowed !important;
  transform:none !important;
  background:#111a24 !important;
  color:#71808d !important;
  border-color:#263542 !important;
}

/* Theme-proof readable settings labels. */
.vcg .vcg-section-body .vcg-row > label,
.vcg .vcg-section-body .vcg-toggle-row > span,
.vcg .vcg-section-toggle b,
.vcg .vcg-card-head h3,
.vcg .vcg-card-head span,
.vcg .vcg-row output,
.vcg .vcg-range output,
.vcg .vcg-random-row label,
.vcg .vcg-code-label,
.vcg .vcg-preview-head strong,
.vcg .vcg-preview-head span{
  visibility:visible !important;
  opacity:1 !important;
  filter:none !important;
  text-shadow:none !important;
}
.vcg .vcg-section-body .vcg-row > label,
.vcg .vcg-section-body .vcg-toggle-row > span,
.vcg .vcg-section-toggle b,
.vcg .vcg-card-head h3,
.vcg .vcg-row output,
.vcg .vcg-range output,
.vcg .vcg-preview-head strong{
  color:#ece8e1 !important;
  -webkit-text-fill-color:#ece8e1 !important;
}
.vcg .vcg-section-toggle small,
.vcg .vcg-head p,
.vcg .vcg-msg,
.vcg .vcg-note,
.vcg .vcg-disclaimer,
.vcg .vcg-random-row label,
.vcg .vcg-code-label{
  color:#b7c2cc !important;
  -webkit-text-fill-color:#b7c2cc !important;
}
.vcg .vcg-card-head span,
.vcg .vcg-kicker,
.vcg .vcg-help summary{
  color:#ffd694 !important;
  -webkit-text-fill-color:#ffd694 !important;
}
.vcg .vcg-row,
.vcg .vcg-toggle-row{
  background:transparent !important;
}
.vcg .vcg-row:hover,
.vcg .vcg-toggle-row:hover{
  background:rgba(255,255,255,.018) !important;
}

/* Keep background thumbnails and all preview actions inside the rail. */
.vcg .vcg-preview-card{min-width:0 !important;overflow:hidden !important}
.vcg .vcg-bg-strip{width:100% !important;max-width:100% !important;grid-template-columns:repeat(6,minmax(0,1fr)) !important}
.vcg .vcg-bg-strip button{min-width:0 !important;width:100% !important;max-width:100% !important;overflow:hidden !important}
.vcg .vcg-action-grid,.vcg .vcg-sim-row{min-width:0 !important}
.vcg .vcg-action-grid .vcg-btn,.vcg .vcg-sim-row .vcg-btn{min-width:0 !important;width:100% !important}

@media(max-width:1100px){
  .vcg .vcg-head h2{font-size:clamp(28px,5vw,42px) !important}
}
@media(max-width:700px){
  .vcg .vcg-history{justify-content:stretch !important}
  .vcg .vcg-history .vcg-btn{flex:1;min-width:0 !important}
}

/* v1.4.12 theme-proof text clarity + saved profiles spacing */
.vcg .vcg-card,
.vcg .vcg-card *{
  text-rendering:optimizeLegibility;
}
.vcg .vcg-card-head h3,
.vcg .vcg-section-toggle b,
.vcg .vcg-row > label,
.vcg .vcg-toggle-row > span,
.vcg .vcg-range output,
.vcg .vcg-preview-head strong,
.vcg .vcg-inline input,
.vcg .vcg-inline select,
.vcg .vcg-colorpair input[type="text"],
.vcg .vcg-code-label textarea,
.vcg .vcg-preset-grid button{
  color:#ece8e1 !important;
  -webkit-text-fill-color:#ece8e1 !important;
  opacity:1 !important;
  visibility:visible !important;
  filter:none !important;
  text-shadow:none !important;
}
.vcg .vcg-card-head span,
.vcg .vcg-kicker,
.vcg .vcg-help summary{
  color:#ffd694 !important;
  -webkit-text-fill-color:#ffd694 !important;
  opacity:1 !important;
}
.vcg .vcg-section-toggle small,
.vcg .vcg-msg,
.vcg .vcg-note,
.vcg .vcg-random-row label,
.vcg .vcg-code-label,
.vcg .vcg-disclaimer,
.vcg .vcg-inline input::placeholder,
.vcg .vcg-code-label textarea::placeholder{
  color:#aeb9c4 !important;
  -webkit-text-fill-color:#aeb9c4 !important;
  opacity:1 !important;
}
.vcg .vcg-inline select,
.vcg .vcg-row select{
  background:#0b121a !important;
  color:#ece8e1 !important;
  -webkit-text-fill-color:#ece8e1 !important;
}
.vcg .vcg-inline select option,
.vcg .vcg-row select option{
  background:#0b121a !important;
  color:#ece8e1 !important;
}
/* Give the last settings card enough breathing room so the disclaimer never overlaps it. */
.vcg .vcg-settings > .vcg-card:last-child{
  padding-bottom:16px !important;
  margin-bottom:4px !important;
  overflow:visible !important;
}
.vcg .vcg-settings > .vcg-card:last-child .vcg-inline:last-child{
  margin-bottom:0 !important;
}
.vcg .vcg-disclaimer{
  position:static !important;
  display:block !important;
  clear:both !important;
  margin:24px 0 0 !important;
  padding:16px 10px 2px !important;
  border-top:1px solid rgba(42,58,74,.75) !important;
  line-height:1.6 !important;
  text-align:center !important;
}

/* v1.4.13 Phase 2: mode overrides + profile management */
.vcg .vcg-mode-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:#111d29;color:var(--text)}
.vcg .vcg-mode-tools[hidden]{display:none!important}
.vcg .vcg-mode-enable{display:flex;align-items:center;gap:9px;font-weight:800;color:#ece8e1!important;white-space:nowrap}
.vcg .vcg-mode-enable input{width:18px;height:18px;accent-color:var(--primary)}
.vcg .vcg-mode-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.vcg .vcg-mode-actions .vcg-btn{min-height:40px;padding:8px 13px}
.vcg .vcg-profile-actions{grid-template-columns:minmax(0,1fr) auto auto!important}
.vcg .vcg-msg.is-success{color:var(--success)!important}.vcg .vcg-msg.is-error{color:#ff8290!important}
.vcg [data-vcg-tab]:focus-visible,.vcg .vcg-btn:focus-visible,.vcg input:focus-visible,.vcg select:focus-visible,.vcg textarea:focus-visible{outline:2px solid var(--gold)!important;outline-offset:2px!important}
@media(max-width:720px){.vcg .vcg-mode-tools{align-items:stretch;flex-direction:column}.vcg .vcg-mode-actions{justify-content:stretch}.vcg .vcg-mode-actions .vcg-btn{flex:1}.vcg .vcg-profile-actions{grid-template-columns:1fr 1fr!important}.vcg .vcg-profile-actions select{grid-column:1/-1}}

/* v1.4.14 Phase 2 core: full ADS editor + dedicated Sniper Scope editor */
.vcg [data-vcg-standard-settings][hidden],
.vcg [data-vcg-sniper-settings][hidden],
.vcg [data-vcg-inner-vertical][hidden],
.vcg [data-vcg-outer-vertical][hidden],
.vcg .vcg-sniper-custom[hidden]{display:none!important}
.vcg .vcg-sniper-card{border-color:rgba(255,214,148,.28)!important;background:linear-gradient(180deg,#162230 0%,#121d29 100%)!important}
.vcg .vcg-mode-help{margin:0;padding:12px 16px;color:#aeb9c4!important;-webkit-text-fill-color:#aeb9c4!important;font-size:13px;line-height:1.55;border-bottom:1px solid var(--border)}
.vcg .vcg-mode-help code{color:#ffd694!important;-webkit-text-fill-color:#ffd694!important;background:#0b121a;padding:2px 6px;border-radius:5px}
.vcg [data-vcg-inner-vertical],.vcg [data-vcg-outer-vertical]{background:rgba(255,214,148,.025)!important}
.vcg [data-vcg-inner-vertical] label,.vcg [data-vcg-outer-vertical] label{color:#ffd694!important;-webkit-text-fill-color:#ffd694!important}
.vcg .vcg-mode-tools{position:relative;overflow:hidden}
.vcg .vcg-mode-tools:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--primary)}
.vcg .vcg-mode-enable{padding-left:6px}
.vcg .vcg-sniper-card .vcg-row,.vcg .vcg-sniper-card .vcg-toggle-row{min-height:58px}
@media(max-width:700px){.vcg .vcg-mode-help{padding:10px 12px}.vcg .vcg-sniper-card .vcg-row,.vcg .vcg-sniper-card .vcg-toggle-row{min-height:54px}}

/* v1.4.15 Phase 2: compare mode, preset expansion, profile manager, mobile preview polish */
.vcg .vcg-profile-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 16px 0;color:#aeb9c4!important;font-size:12px}
.vcg .vcg-profile-meta span{color:#ffd694!important;font-weight:800}
.vcg .vcg-profile-actions{grid-template-columns:minmax(0,1fr) auto auto auto!important}
.vcg .vcg-compare-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.vcg .vcg-compare-actions [data-vcg-compare-open]{grid-column:1/-1}
.vcg .vcg-compare-modal[hidden]{display:none!important}
.vcg .vcg-compare-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px}
.vcg .vcg-compare-backdrop{position:absolute;inset:0;background:rgba(2,7,12,.82);backdrop-filter:blur(5px)}
.vcg .vcg-compare-dialog{position:relative;width:min(980px,96vw);max-height:90vh;overflow:auto;background:#101b27;border:1px solid var(--border);border-radius:16px;box-shadow:0 28px 80px rgba(0,0,0,.55)}
.vcg .vcg-compare-close{position:absolute;right:12px;top:10px;z-index:2;width:40px;height:40px;border-radius:10px;border:1px solid var(--border);background:#0b121a;color:#fff;font-size:24px;cursor:pointer}
.vcg .vcg-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px}
.vcg .vcg-compare-pane{min-width:0;background:#162230;border:1px solid var(--border);border-radius:13px;padding:12px}
.vcg .vcg-compare-pane>strong{display:block;margin-bottom:10px;color:#ffd694!important;font-size:16px}
.vcg .vcg-compare-pane canvas{display:block;width:100%;height:auto;aspect-ratio:3/2;border-radius:10px;border:1px solid var(--border);background:#0b121a;image-rendering:pixelated}
.vcg .vcg-compare-pane code{display:block;margin:10px 0;padding:10px;background:#0b121a;border:1px solid var(--border);border-radius:8px;color:#ece8e1!important;white-space:nowrap;overflow:auto;font-size:11px}
.vcg .vcg-compare-stats{display:grid;gap:0;margin:0}
.vcg .vcg-compare-stats>div{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:7px 0;border-bottom:1px solid rgba(42,58,74,.6)}
.vcg .vcg-compare-stats>div:last-child{border-bottom:0}
.vcg .vcg-compare-stats dt{color:#9aa6b1!important}.vcg .vcg-compare-stats dd{margin:0;color:#ece8e1!important;font-weight:700}
.vcg .vcg-preset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.vcg .vcg-preset-grid button{padding:10px 8px;line-height:1.2}
@media(max-width:900px){
  .vcg .vcg-preview-card{top:8px!important;max-height:none!important;box-shadow:0 12px 30px rgba(0,0,0,.34)!important}
  .vcg .vcg-stage-wrap{height:200px!important}
  .vcg .vcg-bg-strip{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .vcg .vcg-bg-strip button{height:36px!important}
  .vcg .vcg-code-label textarea{min-height:62px!important;max-height:84px!important}
  .vcg .vcg-help{display:none}
  .vcg .vcg-compare-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .vcg .vcg-profile-actions{grid-template-columns:1fr 1fr!important}
  .vcg .vcg-profile-actions select{grid-column:1/-1}
  .vcg .vcg-profile-actions [data-vcg-delete]{grid-column:1/-1}
  .vcg .vcg-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vcg .vcg-profile-meta{align-items:flex-start;flex-direction:column;gap:3px}
}
@media(max-width:520px){
  .vcg .vcg-preview-card{top:4px!important;padding:10px!important}
  .vcg .vcg-stage-wrap{height:165px!important}
  .vcg .vcg-bg-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .vcg .vcg-compare-actions{grid-template-columns:1fr}
  .vcg .vcg-compare-actions [data-vcg-compare-open]{grid-column:auto}
}


/* v1.4.16 Phase 2 final QA: mobile, accessibility, modal and theme hardening */
.vcg{contain:layout style;overflow:clip}
.vcg *{box-sizing:border-box}
.vcg button,.vcg input,.vcg select,.vcg textarea{font:inherit}
.vcg .vcg-btn,.vcg .vcg-tab,.vcg .vcg-preset-grid button,.vcg .vcg-bg-strip button{min-height:44px}
.vcg .vcg-bg-strip button{touch-action:manipulation}
.vcg input[type="range"]{min-height:32px;touch-action:pan-y}
.vcg .vcg-switch{min-width:44px;min-height:30px}
.vcg .vcg-sr-status{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html.vcg-modal-open,html.vcg-modal-open body{overflow:hidden!important}
.vcg .vcg-compare-dialog:focus{outline:none}
.vcg .vcg-compare-close:focus-visible{outline:3px solid var(--gold)!important;outline-offset:2px!important}
.vcg .vcg-tabs{position:relative;z-index:2}
.vcg .vcg-tab[aria-selected="true"]{box-shadow:inset 0 -3px 0 var(--primary)}
.vcg .vcg-section-toggle{min-height:52px}
.vcg .vcg-section-toggle:focus-visible{outline:2px solid var(--gold)!important;outline-offset:-2px!important}
.vcg .vcg-inline input,.vcg .vcg-inline select,.vcg .vcg-colorpair input[type="text"],.vcg .vcg-code-label textarea{min-height:44px}
.vcg .vcg-note{min-height:22px}

@media(max-width:900px){
  .vcg{padding:12px!important}
  .vcg .vcg-layout{display:flex!important;flex-direction:column!important;gap:12px!important}
  .vcg .vcg-preview-card{order:-1!important;position:sticky!important;top:4px!important;z-index:50!important;max-height:min(58vh,520px)!important;overflow:auto!important;overscroll-behavior:contain!important}
  .vcg .vcg-stage-wrap{height:190px!important;min-height:190px!important}
  .vcg .vcg-preview-head{position:sticky;top:0;z-index:2;background:var(--card);padding:2px 0 8px}
  .vcg .vcg-code-label textarea{min-height:54px!important;max-height:74px!important;resize:none!important}
  .vcg .vcg-help{display:none!important}
  .vcg .vcg-action-grid,.vcg .vcg-sim-row,.vcg .vcg-compare-actions{gap:6px!important}
  .vcg .vcg-settings{min-width:0!important}
  .vcg .vcg-card{overflow:hidden!important}
}
@media(max-width:640px){
  .vcg .vcg-head h2{font-size:clamp(28px,9vw,38px)!important}
  .vcg .vcg-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .vcg .vcg-tab{padding:9px 6px!important;font-size:12px!important;white-space:nowrap!important}
  .vcg .vcg-preview-card{max-height:min(62vh,500px)!important}
  .vcg .vcg-stage-wrap{height:160px!important;min-height:160px!important}
  .vcg .vcg-bg-strip{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important}
  .vcg .vcg-bg-strip button{height:32px!important;min-height:32px!important}
  .vcg .vcg-zoom{grid-template-columns:1fr 56px!important;gap:6px!important}
  .vcg .vcg-zoom span{grid-column:1/-1!important}
  .vcg .vcg-row,.vcg .vcg-toggle-row{padding:11px 12px!important}
  .vcg .vcg-range{width:100%!important;min-width:0!important}
  .vcg .vcg-inline,.vcg .vcg-profile-actions{max-width:100%!important;width:100%!important}
  .vcg .vcg-mode-actions{display:grid!important;grid-template-columns:1fr!important}
  .vcg .vcg-random-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .vcg .vcg-random-row label{grid-column:1/-1!important}
}
@media(max-width:380px){
  .vcg{padding:9px!important}
  .vcg .vcg-preview-card{padding:9px!important}
  .vcg .vcg-stage-wrap{height:145px!important;min-height:145px!important}
  .vcg .vcg-tab{font-size:11px!important}
  .vcg .vcg-history{gap:6px!important}
  .vcg .vcg-history .vcg-btn{font-size:12px!important;padding:8px!important}
  .vcg .vcg-preset-grid{grid-template-columns:1fr 1fr!important}
}
@media(prefers-reduced-motion:reduce){
  .vcg *,.vcg *::before,.vcg *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* v1.4.17 — desktop sticky live-preview rail.
   Keeps the preview canvas visible while users scroll long settings/presets. */
@media (min-width: 901px){
  .vcg .vcg-layout{
    align-items:start !important;
  }
  .vcg .vcg-preview-card{
    position:sticky !important;
    top:18px !important;
    align-self:start !important;
    max-height:calc(100vh - 36px) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain !important;
    scrollbar-width:thin;
    scrollbar-color:var(--border) transparent;
  }
  body.admin-bar .vcg .vcg-preview-card{
    top:50px !important;
    max-height:calc(100vh - 68px) !important;
  }
  .vcg .vcg-preview-card::-webkit-scrollbar{width:7px}
  .vcg .vcg-preview-card::-webkit-scrollbar-track{background:transparent}
  .vcg .vcg-preview-card::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}

  /* The visual preview itself stays pinned at the top of the preview rail. */
  .vcg .vcg-preview-head{
    position:sticky !important;
    top:0 !important;
    z-index:8 !important;
    background:var(--card) !important;
    padding:2px 0 9px !important;
  }
  .vcg .vcg-stage-wrap{
    position:sticky !important;
    top:48px !important;
    z-index:7 !important;
    box-shadow:0 8px 18px rgba(0,0,0,.20);
  }
  /* Keep the background chooser immediately below the pinned canvas visually tidy. */
  .vcg .vcg-bg-strip{
    position:relative;
    z-index:6;
    background:var(--card);
    padding-top:2px;
  }
}

@media (min-width: 901px) and (max-height: 760px){
  .vcg .vcg-stage-wrap{
    height:240px !important;
  }
}

@media (min-width: 901px) and (max-height: 620px){
  .vcg .vcg-stage-wrap{
    height:190px !important;
  }
}


/* v1.4.18 — sticky canvas only, actions remain in normal page flow.
   This replaces the full-card sticky/internal-scroll approach from v1.4.17. */
@media (min-width: 901px){
  .vcg .vcg-preview-card{
    position:relative !important;
    top:auto !important;
    align-self:start !important;
    max-height:none !important;
    overflow:visible !important;
    overscroll-behavior:auto !important;
  }
  body.admin-bar .vcg .vcg-preview-card{
    top:auto !important;
    max-height:none !important;
  }
  .vcg .vcg-preview-sticky{
    position:sticky !important;
    top:18px !important;
    z-index:12 !important;
    background:var(--card) !important;
    border-radius:12px !important;
    padding-bottom:2px !important;
  }
  body.admin-bar .vcg .vcg-preview-sticky{
    top:50px !important;
  }
  .vcg .vcg-preview-head{
    position:relative !important;
    top:auto !important;
    z-index:auto !important;
    background:transparent !important;
    padding:2px 0 9px !important;
  }
  .vcg .vcg-stage-wrap{
    position:relative !important;
    top:auto !important;
    z-index:auto !important;
    box-shadow:0 8px 18px rgba(0,0,0,.20) !important;
  }
  .vcg .vcg-bg-strip,
  .vcg .vcg-sim-row,
  .vcg .vcg-zoom,
  .vcg .vcg-code-label,
  .vcg .vcg-copy,
  .vcg .vcg-action-grid,
  .vcg .vcg-compare-actions,
  .vcg .vcg-help,
  .vcg .vcg-note{
    position:relative !important;
    z-index:2 !important;
  }
}

/* Keep enough screen room beneath the pinned preview for code/actions. */
@media (min-width: 901px) and (max-height: 860px){
  .vcg .vcg-stage-wrap{height:250px !important}
}
@media (min-width: 901px) and (max-height: 720px){
  .vcg .vcg-stage-wrap{height:205px !important}
}
@media (min-width: 901px) and (max-height: 620px){
  .vcg .vcg-stage-wrap{height:165px !important}
}

/* Mobile/tablet: no nested sticky/scroll traps. */
@media (max-width: 900px){
  .vcg .vcg-preview-card{
    max-height:none !important;
    overflow:visible !important;
  }
  .vcg .vcg-preview-sticky{
    position:sticky !important;
    top:4px !important;
    z-index:50 !important;
    background:var(--card) !important;
    padding-bottom:4px !important;
  }
  body.admin-bar .vcg .vcg-preview-sticky{top:50px !important}
}


/* v1.4.19 — floating preview dock.
   Normal right rail stays in page flow so Share / Import / Compare never get trapped.
   A small draggable preview appears only after the original canvas scrolls above the viewport. */
.vcg .vcg-preview-card,
.vcg .vcg-preview-sticky{
  position:relative !important;
  top:auto !important;
  max-height:none !important;
  overflow:visible !important;
  z-index:auto !important;
}
body.admin-bar .vcg .vcg-preview-card,
body.admin-bar .vcg .vcg-preview-sticky{top:auto !important}

.vcg .vcg-float-preview{
  position:fixed;
  right:18px;
  bottom:18px;
  width:250px;
  padding:10px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(15,25,35,.97);
  box-shadow:0 18px 46px rgba(0,0,0,.42);
  z-index:99990;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px) scale(.98);
  pointer-events:none;
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
}
.vcg .vcg-float-preview.is-visible{
  opacity:1;
  visibility:visible;
  transform:none;
  pointer-events:auto;
}
.vcg .vcg-float-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:2px 2px 8px;
  cursor:grab;
  user-select:none;
  touch-action:none;
}
.vcg .vcg-float-head:active{cursor:grabbing}
.vcg .vcg-float-head span{display:block;color:var(--gold)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.14em!important}
.vcg .vcg-float-head strong{display:block;color:var(--text)!important;font-size:15px!important;line-height:1.2!important;margin-top:2px}
.vcg .vcg-float-head small{color:var(--muted)!important;font-size:11px!important;border:1px solid var(--border);border-radius:999px;padding:3px 7px}
.vcg .vcg-float-stage{
  width:100%;
  height:150px;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:10px;
  background:#0b121a;
}
.vcg .vcg-float-stage canvas{display:block;width:100%;height:100%;image-rendering:pixelated}
@media(max-width:900px){.vcg .vcg-float-preview{display:none!important}}
@media(max-height:650px) and (min-width:901px){
  .vcg .vcg-float-preview{width:210px;padding:8px}
  .vcg .vcg-float-stage{height:120px}
}
@media(prefers-reduced-motion:reduce){.vcg .vcg-float-preview{transition:none!important}}


/* v1.4.20 — always-on editing preview.
   The floating dock remains available throughout the desktop generator workspace,
   so manual slider/color/line editing always has a live visual reference. */
.vcg .vcg-float-tools{display:flex;align-items:center;gap:7px}
.vcg .vcg-float-tools button{
  width:30px;min-width:30px;height:30px;padding:0;border:1px solid var(--border);border-radius:8px;
  background:var(--elev);color:var(--text)!important;font-size:20px;line-height:1;cursor:pointer;font-weight:800
}
.vcg .vcg-float-tools button:hover{border-color:var(--primary);background:#253545}
.vcg .vcg-float-preview.is-minimized{width:190px;padding:8px}
.vcg .vcg-float-preview.is-minimized .vcg-float-stage{display:none}
.vcg .vcg-float-preview.is-minimized .vcg-float-head{padding-bottom:2px}
.vcg .vcg-float-preview.is-minimized .vcg-float-head small{display:none}
@media(min-width:901px){
  .vcg .vcg-float-preview.is-visible{display:block!important}
}


/* v1.4.22 — fixed manual companion preview portal.
   This block intentionally does NOT depend on a .vcg ancestor because the
   companion preview is moved to document.body to escape theme overflow/transform rules. */
.vcg-float-preview.vcg-floating-portal{
  --bg:#0f1923;--card:#162230;--elev:#1d2b3a;--border:#2a3a4a;--primary:#ff4d5a;--gold:#ffd694;--text:#ece8e1;--muted:#9aa6b1;
  position:fixed!important;
  left:auto;
  right:18px;
  top:110px;
  bottom:auto!important;
  width:280px!important;
  max-width:calc(100vw - 20px)!important;
  padding:10px!important;
  margin:0!important;
  border:1px solid var(--border)!important;
  border-radius:14px!important;
  background:rgba(15,25,35,.98)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.48)!important;
  z-index:2147483000!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:scale(.985);
  transform-origin:center;
  transition:opacity .14s ease,transform .14s ease,visibility .14s;
  box-sizing:border-box!important;
  overflow:hidden!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
}
.vcg-float-preview.vcg-floating-portal.is-visible{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:none!important;
}
.vcg-float-preview.vcg-floating-portal .vcg-float-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  padding:2px 2px 8px!important;margin:0!important;cursor:grab!important;user-select:none!important;touch-action:none!important;
}
.vcg-float-preview.vcg-floating-portal .vcg-float-head:active{cursor:grabbing!important}
.vcg-float-preview.vcg-floating-portal .vcg-float-head span{
  display:block!important;color:var(--gold)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.14em!important;line-height:1.2!important
}
.vcg-float-preview.vcg-floating-portal .vcg-float-head strong{
  display:block!important;color:var(--text)!important;font-size:16px!important;line-height:1.2!important;margin-top:2px!important
}
.vcg-float-preview.vcg-floating-portal .vcg-float-tools{display:flex!important;align-items:center!important;gap:7px!important}
.vcg-float-preview.vcg-floating-portal .vcg-float-tools button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important;min-height:30px!important;
  padding:0!important;margin:0!important;border:1px solid var(--border)!important;border-radius:8px!important;
  background:var(--elev)!important;color:var(--text)!important;font-size:20px!important;line-height:1!important;cursor:pointer!important;font-weight:800!important;
}
.vcg-float-preview.vcg-floating-portal .vcg-float-tools small{
  display:inline-block!important;color:var(--muted)!important;font-size:11px!important;line-height:1!important;
  border:1px solid var(--border)!important;border-radius:999px!important;padding:5px 7px!important;margin:0!important
}
.vcg-float-preview.vcg-floating-portal .vcg-float-stage{
  display:block!important;width:100%!important;height:170px!important;overflow:hidden!important;
  border:1px solid var(--border)!important;border-radius:10px!important;background:#0b121a!important;box-sizing:border-box!important
}
.vcg-float-preview.vcg-floating-portal .vcg-float-stage canvas{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;margin:0!important;padding:0!important;image-rendering:pixelated
}
.vcg-float-preview.vcg-floating-portal.is-minimized{width:190px!important;padding:8px!important}
.vcg-float-preview.vcg-floating-portal.is-minimized .vcg-float-stage{display:none!important}
.vcg-float-preview.vcg-floating-portal.is-minimized .vcg-float-head{padding-bottom:2px!important}
.vcg-float-preview.vcg-floating-portal.is-minimized .vcg-float-tools small{display:none!important}
@media(max-width:1100px) and (min-width:901px){
  .vcg-float-preview.vcg-floating-portal{width:230px!important}
  .vcg-float-preview.vcg-floating-portal .vcg-float-stage{height:145px!important}
}
@media(max-width:900px){.vcg-float-preview.vcg-floating-portal{display:none!important}}
@media(prefers-reduced-motion:reduce){.vcg-float-preview.vcg-floating-portal{transition:none!important}}

.vcg .vcg-account-save{margin-top:16px;padding-top:16px;border-top:1px solid #2a3a4a}.vcg .vcg-account-save form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.vcg .vcg-account-save input[type=text]{min-width:0;background:#0b121a!important;color:#ece8e1!important;border:1px solid #2a3a4a!important;border-radius:10px!important;padding:12px!important}.vcg .vcg-account-save .tiny{margin-top:8px}.vcg .vcg-login-save{display:inline-flex;text-decoration:none}@media(max-width:700px){.vcg .vcg-account-save form{grid-template-columns:1fr}.vcg .vcg-account-save .btn{width:100%}}

/* v1.4.38 account save/update */
.vcg .vcg-account-save form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.vcg .vcg-account-buttons{display:flex;flex-wrap:wrap;gap:10px}.vcg .vcg-account-buttons .vcg-btn{min-height:42px}.vcg .vcg-account-status{min-height:20px;font-size:12px;font-weight:800}.vcg .vcg-account-status.is-success{color:#3ddc97}.vcg .vcg-account-status.is-error{color:#ff6a75}
@media(max-width:700px){.vcg .vcg-account-buttons{display:grid;grid-template-columns:1fr}.vcg .vcg-account-buttons .vcg-btn{width:100%}}

/* v1.6.0 account cloud sync */
.vcg .vcg-cloud-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#0f1923}.vcg .vcg-cloud-state{font-size:12px;font-weight:800;color:#aeb9c4}.vcg .vcg-cloud-state.is-success{color:#3ddc97}.vcg .vcg-cloud-state.is-error{color:#ff8290}@media(max-width:620px){.vcg .vcg-cloud-row{align-items:stretch;flex-direction:column}.vcg .vcg-cloud-row .vcg-btn{width:100%}}


/* v1.9.0 generator gameplay-style video preview */
.vcg .vcg-preview-mode{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 9px}
.vcg .vcg-preview-mode button{min-height:38px;border:1px solid var(--border);border-radius:8px;background:#0b121a;color:var(--muted);font-weight:800;cursor:pointer}
.vcg .vcg-preview-mode button.is-active{background:var(--primary);border-color:var(--primary);color:#fff}
.vcg .vcg-stage-wrap .vcg-video-badge{position:absolute;right:10px;bottom:10px;z-index:3;padding:5px 7px;border-radius:6px;background:rgba(6,10,15,.72);border:1px solid rgba(255,255,255,.16);color:#fff;font-size:9px;font-weight:800;letter-spacing:.12em;pointer-events:none}
.vcg .vcg-video-controls{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;margin:10px 0;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:#0b121a;color:var(--muted);font-size:12px}
.vcg .vcg-bg-strip button:disabled{opacity:.35;cursor:not-allowed;filter:grayscale(.65)}
@media(max-width:520px){.vcg .vcg-video-controls{grid-template-columns:1fr}.vcg .vcg-preview-mode button{font-size:12px}}


/* v1.9.1 cinematic practice-range video preview */
.vcg .vcg-stage-wrap.is-video-preview{aspect-ratio:16/9;height:auto;min-height:0;background:#241b15;box-shadow:inset 0 0 0 1px rgba(255,214,148,.08)}
.vcg .vcg-stage-wrap.is-video-preview canvas{image-rendering:auto}
.vcg .vcg-stage-wrap.is-video-preview .vcg-video-badge{background:rgba(10,13,15,.74);backdrop-filter:blur(4px)}
@media(max-width:900px){.vcg .vcg-stage-wrap.is-video-preview{height:auto!important;min-height:0!important;aspect-ratio:16/9}}
@media(max-width:520px){.vcg .vcg-stage-wrap.is-video-preview{height:auto!important;min-height:0!important;aspect-ratio:16/9}}


/* v1.9.2 immersive full-screen practice range */
html.vcg-video-open,body.vcg-video-open{overflow:hidden!important}
.vcg-video-overlay{position:fixed;inset:0;z-index:2147483600;background:#050607;color:#fff;overflow:hidden;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}
.vcg-video-overlay .vcg-video-viewport{position:absolute;inset:0;background:#111;overflow:hidden}
.vcg-video-overlay .vcg-stage-wrap.is-fullscreen-stage{position:absolute!important;inset:0!important;width:100vw!important;height:100vh!important;min-height:100vh!important;max-width:none!important;aspect-ratio:auto!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#17120f!important}
.vcg-video-overlay .vcg-stage-wrap.is-fullscreen-stage canvas{width:100%!important;height:100%!important;image-rendering:auto!important}
.vcg-video-topline{position:absolute;z-index:8;left:0;right:0;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;background:linear-gradient(180deg,rgba(4,6,8,.72),rgba(4,6,8,0));pointer-events:none}
.vcg-video-title{display:grid;gap:2px;text-shadow:0 2px 10px rgba(0,0,0,.8)}
.vcg-video-title small{font-size:10px;font-weight:900;letter-spacing:.18em;color:#cbd7df}
.vcg-video-title strong{font-size:18px;letter-spacing:.04em}
.vcg-video-overlay-actions{display:flex;gap:8px;pointer-events:auto}
.vcg-video-overlay-actions button{min-height:42px;padding:0 14px;border:1px solid rgba(255,255,255,.24);border-radius:8px;background:rgba(7,10,13,.74);backdrop-filter:blur(8px);color:#fff;font-weight:850;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.24)}
.vcg-video-overlay-actions button:hover{background:rgba(28,34,40,.9);border-color:rgba(255,255,255,.4)}
.vcg-video-overlay-actions .vcg-video-exit{background:rgba(207,52,65,.88);border-color:rgba(255,122,133,.7)}
.vcg-video-overlay-actions .vcg-video-exit:hover{background:#ff4d5a}
.vcg-video-overlay-hint{position:absolute;z-index:8;left:50%;bottom:18px;transform:translateX(-50%);padding:8px 12px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(5,8,10,.58);backdrop-filter:blur(7px);font-size:10px;font-weight:900;letter-spacing:.12em;color:#e6eef3;white-space:nowrap;pointer-events:none}
.vcg-video-overlay .vcg-video-badge{right:18px!important;bottom:18px!important;font-size:10px!important;opacity:.78}
@media(max-width:700px){.vcg-video-topline{padding:10px}.vcg-video-title strong{font-size:14px}.vcg-video-title small{font-size:8px}.vcg-video-overlay-actions{gap:5px}.vcg-video-overlay-actions button{min-height:38px;padding:0 9px;font-size:11px}.vcg-video-overlay-hint{bottom:10px;font-size:8px;max-width:78vw;overflow:hidden;text-overflow:ellipsis}}
@media(orientation:portrait) and (max-width:900px){.vcg-video-overlay:before{content:'Rotate your phone for the best game-like preview';position:absolute;z-index:10;left:50%;bottom:52px;transform:translateX(-50%);padding:7px 10px;border-radius:7px;background:rgba(4,7,9,.74);color:#fff;font-size:10px;font-weight:800;white-space:nowrap}}
