.bmag{max-width:1100px;margin:0 auto;padding:10px 0;color:var(--tx,#f5f9ff)}
.bmag-h{margin:0 0 6px}.bmag-intro{opacity:.85;margin:0 0 14px}
.bmag-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1fr);gap:16px;align-items:start}
.bmag-stage{background:rgba(127,127,127,.14);border-radius:12px;padding:10px;position:sticky;top:8px;display:flex;flex-direction:column;align-items:center;gap:10px}
.bmag-cv{touch-action:none;cursor:grab;max-width:100%;max-height:68vh;width:auto;height:auto;border-radius:8px;box-shadow:0 8px 28px rgba(0,0,0,.35);background:#000}
.bmag-bt{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;width:100%}
.bmag-st{margin:0;font-size:14px;opacity:.9;text-align:center;min-height:1.4em}
.bmag-out{width:100%;display:flex;flex-direction:column;gap:8px}.bmag-out[hidden]{display:none}
.bmag-out video{width:100%;max-height:60vh;border-radius:8px;background:#000}
.bmag-panel{display:flex;flex-direction:column;gap:8px}
.bmag-d{background:rgba(127,127,127,.12);border-radius:12px;padding:4px 12px}
.bmag-d>summary{cursor:pointer;font-weight:700;padding:12px 0;min-height:24px}
.bmag-d[open]>summary{margin-bottom:4px}.bmag-d[open]{padding-bottom:6px}
.bmag-b{font:inherit;font-size:15px;color:inherit;background:rgba(127,127,127,.25);border:0;border-radius:10px;padding:10px 14px;cursor:pointer;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.bmag-b:disabled{opacity:.45;cursor:not-allowed}
.bmag-pri{background:var(--ac,#55baff);color:#04101c;font-weight:700}.bmag-del{background:#b50d15;color:#fff;margin:0 0 8px}
.bmag-r{display:flex;flex-direction:column;gap:4px;margin:0 0 10px;flex:1}.bmag-r>label{font-size:13px;opacity:.85}
.bmag-r input[type=text],.bmag-r textarea,.bmag-r select,.bmag-r input[type=file]{font:inherit;font-size:16px;padding:9px;border-radius:8px;border:1px solid rgba(127,127,127,.5);background:rgba(255,255,255,.95);color:#111;width:100%;box-sizing:border-box}
.bmag-r input[type=range]{width:100%;min-height:30px}.bmag-r input[type=color],.bmag-two>input[type=color]{width:64px;height:44px;padding:0;border:0;background:none;cursor:pointer}
.bmag-two{display:flex;gap:8px;align-items:center;margin:0 0 10px}
.bmag-chips{display:flex;flex-wrap:wrap;gap:8px}
.bmag-fl{display:flex;align-items:center;gap:8px;font:inherit;font-size:13px;color:inherit;background:rgba(127,127,127,.2);border:2px solid transparent;border-radius:10px;padding:5px 10px 5px 5px;cursor:pointer;min-height:44px}
.bmag-fl i{display:block;width:30px;height:30px;border-radius:6px}.bmag-fl.on{border-color:var(--ac,#55baff)}
.bmag-sw{width:40px;height:40px;border-radius:50%;border:3px solid #fff;cursor:pointer;box-shadow:0 0 0 1px rgba(0,0,0,.3)}.bmag-sw.on{box-shadow:0 0 0 3px var(--ac,#55baff)}
.bmag-em{font-size:26px;line-height:1;background:rgba(127,127,127,.2);border:0;border-radius:10px;padding:4px 8px;cursor:pointer;min-height:44px;min-width:44px}
.bmag-hint{font-size:13px;opacity:.8;margin:0 0 8px}
.bmag-note{font-size:13px;opacity:.85;margin:14px 0 0}.bmag-note a{color:var(--ac,#55baff)}.bmag-cr{opacity:.8}
.bmag button:focus-visible,.bmag input:focus-visible,.bmag select:focus-visible,.bmag summary:focus-visible{outline:2px solid var(--ac,#55baff);outline-offset:2px}
@media(max-width:860px){.bmag-wrap{grid-template-columns:1fr}.bmag-stage{position:static}.bmag-cv{max-height:56vh}}
