/* Video-Studio im Baukasten, Player-Fenster und Knopf im Inspektor (an IDs gebunden, gegen globale Stile) */
#wbProperties button.vxs-oeffnen, #inspector button.vxs-oeffnen, button.vxs-oeffnen { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; width: 100%; margin: 0 0 14px; padding: 12px 14px; border: 0; border-radius: 16px; cursor: pointer; text-align: left;
  background: linear-gradient(135deg, #14323a, #1d5c55 60%, #2a9079); color: #fff; box-shadow: 0 16px 30px -18px #14323a; transition: transform .2s, box-shadow .2s; font-family: inherit; min-height: 0; }
#wbProperties button.vxs-oeffnen:hover, #inspector button.vxs-oeffnen:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -20px #14323a; }
#wbProperties button.vxs-oeffnen span, #inspector button.vxs-oeffnen span { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #e62117; font-size: 16px; padding-left: 3px; box-shadow: 0 0 0 4px #ffffff33; }
#wbProperties button.vxs-oeffnen b, #inspector button.vxs-oeffnen b { font-size: 14.5px; } #wbProperties button.vxs-oeffnen small, #inspector button.vxs-oeffnen small { font-size: 12px; color: #cfe0dc; }

/* Player-Fenster im Creator */
#vxLicht { width: min(1100px, 94vw); max-width: none; padding: 0; border: 0; border-radius: 20px; background: #000; overflow: visible; }
#vxLicht::backdrop { background: #050a0ce6; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#vxLicht .vxl { position: relative; }
#vxLicht .vxl-rahmen { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; }
#vxLicht iframe { width: 100%; height: 100%; border: 0; display: block; }
#vxLicht p { position: absolute; left: 0; right: 0; top: calc(100% + 10px); margin: 0; text-align: center; color: #cfe0dc; font: 600 13px Manrope, "Segoe UI", sans-serif; }
#vxLicht button.vxl-zu { position: absolute; right: -14px; top: -14px; z-index: 2; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; border: 0; background: #fff; color: #14323a; font: 400 24px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 8px 20px #0008; }

/* Studio */
#vxStudio { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(0px, 2.5vw, 24px); border: 0; background: transparent; display: grid; place-items: center;
  font: 14.5px/1.5 Manrope, "Segoe UI", system-ui, sans-serif; color: #14323a; opacity: 0; transition: opacity .22s; }
#vxStudio::backdrop { background: radial-gradient(circle at 70% 0%, #e6211733, transparent 40%), #0b1a1fcc; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#vxStudio.vxs-offen { opacity: 1; }
#vxStudio .vxs { width: min(1280px, 100%); height: min(900px, 100%); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-radius: 26px; overflow: clip; background: #f4f8f8; box-shadow: 0 50px 110px -30px #000c;
  transform: translateY(20px) scale(.98); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
#vxStudio.vxs-offen .vxs { transform: none; }
#vxStudio button { margin: 0; min-height: 0; box-shadow: none; font-family: inherit; cursor: pointer; }
#vxStudio .vxs-kopf { display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: linear-gradient(135deg, #0e2a30, #14323a 55%, #1d5c55); color: #fff; }
#vxStudio .vxs-symbol { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #e62117; color: #fff; font-size: 17px; padding-left: 3px; box-shadow: 0 10px 22px -10px #e62117; }
#vxStudio .vxs-kopf > div { flex: 1; } #vxStudio .vxs-kopf small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; color: #f1d6a8; } #vxStudio .vxs-kopf b { font-size: 20px; }
#vxStudio button.vxs-zu { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid #ffffff33; background: #ffffff14; color: #fff; font: 400 24px/1 system-ui, sans-serif; transition: transform .2s; }
#vxStudio button.vxs-zu:hover { transform: rotate(90deg); }
#vxStudio .vxs-inhalt { display: grid; grid-template-columns: minmax(330px, 420px) minmax(0, 1fr); min-height: 0; }
#vxStudio .vxs-steuer { overflow: auto; padding: 16px 18px 24px; display: grid; gap: 12px; align-content: start; border-right: 1px solid #14323a12; background: #fff; }
#vxStudio section { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: #f6faf9; border: 1px solid #14323a0f; }
#vxStudio h4 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
#vxStudio h4 i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #14323a; color: #fff; font-style: normal; font-size: 11.5px; }
#vxStudio .vxs-link { display: flex; gap: 6px; }
#vxStudio .vxs-link input, #vxStudio .vxs-f input, #vxStudio .vxs-f textarea, #vxStudio input.vxs-start { flex: 1; min-width: 0; height: 42px; margin: 0; padding: 0 12px; border-radius: 12px; border: 1.5px solid #cfdcd6; background: #fff; color: #14323a; font: 600 14px Manrope, "Segoe UI", system-ui, sans-serif; }
#vxStudio .vxs-f textarea { height: auto; padding: 10px 12px; resize: vertical; font-weight: 500; }
#vxStudio input:focus, #vxStudio textarea:focus { outline: none; border-color: #2a9079; box-shadow: 0 0 0 3px #2a907922; }
#vxStudio .vxs-link button { height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: #e62117; color: #fff; font-weight: 800; font-size: 13.5px; }
#vxStudio .vxs-videos { display: grid; gap: 6px; }
#vxStudio .vxs-video { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px; border-radius: 13px; background: #fff; border: 1px solid #14323a12; animation: vxs-rein .3s ease; }
@keyframes vxs-rein { from { opacity: 0; transform: translateY(6px); } }
#vxStudio .vxs-video img, #vxStudio .vxs-mini { width: 88px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: grid; place-items: center; background: #14323a; color: #fff; }
#vxStudio .vxs-laedt .vxs-mini { background: linear-gradient(90deg, #dfe8e6 0%, #f4f8f7 50%, #dfe8e6 100%); background-size: 200% 100%; animation: vxs-schimmer 1.1s linear infinite; color: transparent; }
@keyframes vxs-schimmer { to { background-position: -200% 0; } }
#vxStudio .vxs-v-text { display: grid; min-width: 0; } #vxStudio .vxs-v-text b { font-size: 13px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } #vxStudio .vxs-v-text small { font-size: 11.5px; color: #66777d; }
#vxStudio .vxs-v-knoepfe { display: flex; gap: 3px; }
#vxStudio .vxs-v-knoepfe button { width: 26px; height: 26px; padding: 0; border-radius: 7px; border: 1px solid #e1e7e4; background: #fff; color: #45585e; font-size: 12px; font-weight: 800; }
#vxStudio .vxs-v-knoepfe button:disabled { opacity: .3; cursor: default; }
#vxStudio .vxs-leer { display: grid; padding: 14px; border-radius: 13px; border: 2px dashed #cfdcd6; text-align: center; } #vxStudio .vxs-leer small { color: #66777d; }
#vxStudio .vxs-klein { font-size: 12px; color: #66777d; margin: 0; }
#vxStudio .vxs-layouts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#vxStudio .vxs-layouts label, #vxStudio .vxs-seg label, #vxStudio .vxs-modus label { position: relative; cursor: pointer; }
#vxStudio .vxs-layouts input, #vxStudio .vxs-seg input, #vxStudio .vxs-modus input { position: absolute; opacity: 0; }
#vxStudio .vxs-layouts span { display: grid; gap: 2px; padding: 10px; border-radius: 14px; background: #fff; border: 1.5px solid #14323a14; transition: all .2s; height: 100%; }
#vxStudio .vxs-layouts svg { width: 100%; height: 46px; color: #9fb3b0; margin-bottom: 4px; transition: color .2s; }
#vxStudio .vxs-layouts b { font-size: 13px; } #vxStudio .vxs-layouts small { font-size: 11px; color: #66777d; line-height: 1.35; }
#vxStudio .vxs-layouts input:checked + span { border-color: #e62117; box-shadow: 0 0 0 1px #e62117, 0 12px 24px -18px #e62117; } #vxStudio .vxs-layouts input:checked + span svg { color: #e62117; }
#vxStudio .vxs-layouts input:focus-visible + span, #vxStudio .vxs-seg input:focus-visible + span, #vxStudio .vxs-modus input:focus-visible + span { outline: 3px solid #c99a5b; outline-offset: 2px; }
#vxStudio .vxs-zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; } #vxStudio .vxs-zeile[hidden] { display: none; }
#vxStudio input.vxs-start { flex: 0 0 90px; text-align: center; }
#vxStudio .vxs-seg { display: flex; gap: 3px; padding: 3px; border-radius: 11px; background: #14323a0f; flex-wrap: wrap; }
#vxStudio .vxs-seg span { display: block; padding: 6px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 800; color: #45585e; }
#vxStudio .vxs-seg input:checked + span { background: #fff; color: #14323a; box-shadow: 0 4px 10px -6px #14323a; }
#vxStudio .vxs-schalter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#vxStudio .vxs-schalter label { position: relative; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
#vxStudio .vxs-schalter input { position: absolute; opacity: 0; }
#vxStudio .vxs-schalter span { flex: none; width: 36px; height: 22px; border-radius: 999px; background: #d5dcdc; position: relative; transition: background .2s; }
#vxStudio .vxs-schalter span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px #0003; transition: transform .2s; }
#vxStudio .vxs-schalter input:checked + span { background: #2a9079; } #vxStudio .vxs-schalter input:checked + span::after { transform: translateX(14px); }
#vxStudio .vxs-schalter input:focus-visible + span { outline: 3px solid #c99a5b; outline-offset: 2px; }
#vxStudio .vxs-modus { display: grid; gap: 6px; }
#vxStudio .vxs-modus span { display: grid; padding: 10px 12px 10px 38px; border-radius: 13px; background: #fff; border: 1.5px solid #14323a14; position: relative; }
#vxStudio .vxs-modus span::before { content: ""; position: absolute; left: 12px; top: 13px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #9fb3b0; }
#vxStudio .vxs-modus input:checked + span { border-color: #2a9079; } #vxStudio .vxs-modus input:checked + span::before { border: 5px solid #2a9079; }
#vxStudio .vxs-modus b { font-size: 13px; } #vxStudio .vxs-modus small { font-size: 11.5px; color: #66777d; }
#vxStudio .vxs-ds { padding: 10px 12px; border-radius: 13px; background: #fbf3e6; border: 1px solid #ecd7b2; display: grid; gap: 6px; }
#vxStudio .vxs-ds b { font-size: 12.5px; } #vxStudio .vxs-ds p { margin: 0; font-size: 11.5px; line-height: 1.5; color: #5d4a2c; max-height: 74px; overflow: auto; }
#vxStudio .vxs-ds button { justify-self: start; height: 30px; padding: 0 12px; border-radius: 9px; border: 1px solid #c99a5b; background: #fff; color: #8a6a3c; font-weight: 800; font-size: 12px; }
#vxStudio .vxs-f { display: grid; gap: 4px; font-size: 12.5px; font-weight: 800; }
#vxStudio .vxs-vorschau { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; padding: 16px 20px; min-width: 0; background: radial-gradient(circle at 80% 0%, #e6211712, transparent 40%), #eef3f3; }
#vxStudio .vxs-vs-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; } #vxStudio .vxs-vs-kopf b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #66777d; }
#vxStudio .vxs-buehne { min-height: 0; display: grid; place-items: center; overflow: auto; }
#vxStudio .vxs-geraet { width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -36px #14323a, 0 0 0 1px #14323a14; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
#vxStudio .vxs-geraet[data-vxs-geraet="handy"] { width: 390px; max-width: 100%; border-radius: 34px; border: 10px solid #14232a; }
#vxStudio .vxs-geraet iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
#vxStudio .vxs-fuss { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-top: 1px solid #14323a12; background: #fff; }
#vxStudio .vxs-status { flex: 1; font-size: 13px; font-weight: 700; color: #1d6d5e; } #vxStudio .vxs-status.vxs-fehler { color: #b3392f; }
#vxStudio button.vxs-primaer { height: 44px; padding: 0 22px; border: 0; border-radius: 13px; background: linear-gradient(135deg, #2a9079, #1d6d5e); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 12px 24px -14px #1d6d5e; }
#vxStudio button.vxs-zweit { height: 44px; padding: 0 18px; border-radius: 13px; border: 1.5px solid #cfdcd6; background: #fff; color: #14323a; font-weight: 800; font-size: 14px; }
@media (max-width: 900px) {
  #vxStudio { padding: 0; } #vxStudio .vxs { height: 100dvh; border-radius: 0; }
  #vxStudio .vxs-inhalt { grid-template-columns: minmax(0, 1fr); overflow: auto; } #vxStudio .vxs-steuer { overflow: visible; border-right: 0; }
  #vxStudio .vxs-vorschau { min-height: 520px; order: -1; }
}
@media (prefers-reduced-motion: reduce) { #vxStudio, #vxStudio * { transition: none !important; animation: none !important; } }

#editorWorkbench .wb-bottom button.vxs-schnell { background: #e62117 !important; color: #fff !important; border-color: #e62117 !important; font-weight: 800; }
#editorWorkbench .wb-bottom button.vxs-schnell:hover { background: #c41a12 !important; }
