/* Pixambas v129 — Estudio VTuber 2D (PNGTuber + Live2D .PSD + Probador en vivo + Mini-Tutorial). */
.vt-trigger{
  height:32px!important;min-height:32px!important;padding:0 11px!important;border-radius:9px!important;
  border:1px solid color-mix(in srgb,#ec4899 45%,var(--ui-border,#ccc))!important;
  background:linear-gradient(135deg,color-mix(in srgb,#ec4899 14%,var(--ui-surface,#fff)),color-mix(in srgb,#6355e8 12%,var(--ui-surface,#fff)))!important;
  color:#be185d!important;font-size:12px!important;font-weight:800!important;white-space:nowrap;cursor:pointer;
}
:root[data-theme="dark"] .vt-trigger{color:#f9a8d4!important}
.vt-trigger:hover{background:linear-gradient(135deg,#ec4899,#6355e8)!important;color:#fff!important;border-color:transparent!important}
@media(max-width:860px){
  body.studio-v2.editor-page .app-header #vtuber-studio-open{
    width:34px!important;min-width:34px!important;max-width:34px!important;height:32px!important;min-height:32px!important;padding:0!important;font-size:0!important;
  }
  body.studio-v2.editor-page .app-header #vtuber-studio-open::before{content:'🎭';font-size:15px;line-height:1}
}
@media(max-width:640px){
  body.studio-v2.editor-page .app-header #vtuber-studio-open{
    width:28px!important;min-width:28px!important;max-width:28px!important;height:30px!important;min-height:30px!important;
  }
  body.studio-v2.editor-page .app-header #vtuber-studio-open::before{font-size:14px}
}

dialog.vt-dialog{
  width:min(880px,calc(100vw - 16px));max-height:calc(100dvh - 18px);
  padding:0;border:1px solid var(--ui-border-strong,#c4cae0);border-radius:18px;
  background:var(--ui-surface,#fff);color:var(--ui-text,#17152a);
  box-shadow:0 24px 64px rgba(12,14,32,.42);overflow:hidden;
}
dialog.vt-dialog::backdrop{background:rgba(12,14,30,.66);backdrop-filter:blur(5px)}
.vt-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 18px);overflow:hidden}
.vt-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:13px 16px;border-bottom:1px solid var(--ui-border,#dce0ef);background:var(--ui-surface-2,#f5f6fc);flex:0 0 auto;
}
.vt-head h2{margin:0;font-size:17px}
.vt-tabs{display:flex;gap:6px;padding:10px 16px;border-bottom:1px solid var(--ui-border);background:var(--ui-surface);flex:0 0 auto;overflow-x:auto}
.vt-tabs button{
  flex:none;min-height:36px;padding:0 13px;border-radius:999px;
  border:1px solid var(--ui-border-strong);background:var(--ui-surface-2);color:var(--ui-text);
  font-size:12.5px;font-weight:750;cursor:pointer;
}
.vt-tabs button.on{background:linear-gradient(135deg,#ec4899,#6355e8);border-color:transparent;color:#fff}
.vt-body{padding:16px;overflow-y:auto;flex:1 1 auto;display:flex;flex-direction:column;gap:14px}
.vt-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.vt-card{
  padding:14px;border-radius:14px;border:1px solid var(--ui-border-strong);background:var(--ui-surface-2);
  display:flex;flex-direction:column;gap:8px;
}
.vt-card h3{margin:0;font-size:15px}
.vt-card p{margin:0;font-size:12.5px;line-height:1.5;color:var(--ui-muted,#5d5975)}
.vt-btn{
  min-height:40px;padding:8px 14px;border-radius:10px;border:1px solid var(--ui-border-strong);
  background:var(--ui-surface);color:var(--ui-text);font-size:13px;font-weight:750;cursor:pointer;
}
.vt-btn-primary{
  background:linear-gradient(135deg,#ec4899,#6355e8);border:0;color:#fff;
  box-shadow:0 6px 18px rgba(99,85,232,.26);
}
.vt-stage-wrap{
  display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px;
  border-radius:14px;border:1px solid var(--ui-border);background:var(--ui-surface-2);
}
.vt-stage-canvas{
  width:min(320px,100%);height:auto;aspect-ratio:1;border-radius:12px;
  border:1px solid var(--ui-border-strong);background:#181b2c;
}
.vt-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}
.vt-meter{width:180px;height:10px;border-radius:999px;background:var(--ui-border);overflow:hidden}
.vt-meter-fill{height:100%;width:0%;background:linear-gradient(90deg,#22c55e,#eab308,#ec4899);transition:width .06s linear}
.vt-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:10px;font-size:13.5px;line-height:1.55}
@media(max-width:680px){
  .vt-grid{grid-template-columns:1fr}
}
