:root{color-scheme:dark;--bg:#101317;--panel:#191d23;--panel2:#20252c;--line:#313841;--text:#f2f4f4;--muted:#8d969f;--orange:#ff9c36;--cyan:#3bdbdd;--pink:#ef73c4;--green:#9cdf70;--radius:18px;font-family:'DM Sans',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% -18%,#2a2928,#101317 48%);color:var(--text)}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}.app-shell{max-width:1650px;min-height:100vh;margin:auto;padding:0 34px}.topbar{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;white-space:nowrap}.brand-mark{font-size:36px;color:var(--orange);line-height:1}.brand strong{display:block;font:700 20px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;letter-spacing:.12em}.brand strong span{color:var(--cyan)}.brand small{font-size:9px;letter-spacing:.24em;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:12px}.status{font-size:10px;letter-spacing:.12em;color:#b6bec4;border:1px solid var(--line);border-radius:40px;padding:11px 14px;white-space:nowrap}.status i{display:inline-block;width:7px;height:7px;background:var(--orange);border-radius:50%;margin-right:6px}.bpm-btn,.blackout{border:1px solid var(--line);background:var(--panel);border-radius:10px;color:white;min-height:49px;padding:7px 15px}.bpm-btn strong{font:700 19px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;display:block}.bpm-btn small{display:block;font-size:9px;letter-spacing:.12em;color:var(--muted)}.blackout{font-weight:700;font-size:12px;letter-spacing:.13em;border-color:#6d3942;color:#ff9b9c}.blackout.active{background:#df464d;color:#fff;box-shadow:0 0 24px #e5474a77}.tabs{display:flex;align-items:center;gap:7px;border-bottom:1px solid var(--line);height:62px}.tab{border:0;background:transparent;color:#67727a;padding:18px 24px;font:600 11px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;letter-spacing:.15em;height:100%;border-bottom:2px solid transparent}.tab span{font-size:13px;color:#b2bac0;margin-left:9px}.tab.active{color:var(--orange);border-color:var(--orange)}.tab.active span{color:#fff}.tab-hint{margin-left:auto;color:var(--muted);font-size:10px;letter-spacing:.13em}.view{min-height:600px}.hidden{display:none!important}.view-heading,.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:37px 0 28px}.view-heading small,.section-heading small,.preset-heading small{color:var(--orange);font-size:10px;font-weight:700;letter-spacing:.23em}.view-heading h1,.section-heading h1{font:600 clamp(28px,3vw,42px) 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;margin:6px 0 0;letter-spacing:-.045em}.accent-dot{color:var(--orange)}.show-pill{border:1px solid var(--line);background:#1a1e23;border-radius:40px;padding:12px 16px;font-size:12px;color:#cdd2d4}.show-pill:first-letter{color:var(--green)}.controls-grid{display:grid;grid-template-columns:75px minmax(270px,1fr) minmax(215px,.68fr) minmax(270px,1fr) 75px;gap:12px;align-items:stretch}.wheel-panel,.side-control,.center-stack>*{background:linear-gradient(150deg,#20252b,#191d22);border:1px solid var(--line);border-radius:var(--radius)}.wheel-panel{padding:19px 18px 20px;min-width:0}.panel-title{display:flex;align-items:center;gap:11px}.title-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;font-size:25px}.moves-icon{color:var(--pink);background:#ec73c41d}.colors-icon{color:var(--cyan);background:#3bdbdd1d}.panel-title small{font-size:9px;letter-spacing:.18em;color:var(--muted)}.panel-title h2{font:600 21px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;margin:0}.panel-tag{margin-left:auto;font-size:9px;letter-spacing:.16em;color:#707b83}.wheel{position:relative;width:min(100%,390px);aspect-ratio:1;margin:15px auto 8px;border-radius:50%;background:repeating-conic-gradient(from -22.5deg,transparent 0deg 44.2deg,#0f1318 44.2deg 45deg),radial-gradient(circle at 37% 30%,#353b43,#20252c 73%);box-shadow:inset 0 0 0 2px #353c44,inset 0 0 36px #0f1215,0 15px 24px #0005}.wheel:after{content:'';position:absolute;inset:26%;border-radius:50%;background:#15191e;box-shadow:0 0 0 4px #343a42,0 8px 25px #0009;pointer-events:none}.wheel-items{position:absolute;inset:0}.wheel-item{position:absolute;left:50%;top:50%;width:25%;height:21%;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-172%) rotate(calc(-1*var(--angle)));background:transparent;border:0;color:#a8b1b7;border-radius:17px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;z-index:2;line-height:1.1;text-align:center}.wheel-item .symbol{font:500 clamp(22px,2.5vw,36px) 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif}.wheel-item .item-label{font-size:10px}.wheel-item.active{color:#11161a;background:var(--orange);box-shadow:0 0 26px #ff9c3680}.color-wheel .wheel-item.active{background:var(--cyan);box-shadow:0 0 26px #3bdbdd6d}.wheel-hub{position:absolute;inset:27%;z-index:3;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;pointer-events:none}.wheel-hub small{color:#8c959c;font-size:8px;letter-spacing:.12em}.wheel-hub strong{font:600 clamp(14px,1.6vw,22px) 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;margin-top:4px}.hub-icon{font-size:26px;color:var(--orange);margin-top:1px}.color-wheel .hub-icon{color:var(--cyan)}.wheel-adjust{display:grid;grid-template-columns:1fr 1fr;gap:17px;padding:6px 4px 0}.wheel-adjust label,.fade-card{color:#8e9aa1;font-size:9px;letter-spacing:.1em;font-weight:700}.wheel-adjust strong{float:right;color:#e5e9e9;font-size:10px}.wheel-adjust input,.fade-card input{width:100%;margin-top:13px;accent-color:var(--orange)}.color-wheel+.wheel-adjust input{accent-color:var(--cyan)}.side-control{display:flex;align-items:center;flex-direction:column;padding:20px 7px;min-height:430px}.vertical-label{writing-mode:vertical-rl;transform:rotate(180deg);font-size:10px;letter-spacing:.18em;color:#a4adb4;font-weight:700}.vertical-range{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px}.vertical-range input{appearance:slider-vertical;width:30px;height:290px;accent-color:var(--cyan)}.vertical-range span{font:600 13px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif}.master-side .vertical-range input{accent-color:var(--orange)}.mini-toggle{font-size:9px;letter-spacing:.09em;color:#c9d0d2;background:#292f36;border:1px solid #424a53;border-radius:7px;padding:7px 8px}.mini-toggle.on{background:#a35433;color:white}.center-stack{display:flex;flex-direction:column;gap:12px}.center-kicker{color:#7e898f;font-size:9px;letter-spacing:.23em;text-align:center;margin:6px 0 1px}.beam-card{text-align:center;padding:24px 13px}.beam-glyph{font-size:43px;color:var(--pink);display:block;text-shadow:0 0 18px #e673c48a}.beam-card small,.position-card small{color:#9ca5a9;font-size:9px;letter-spacing:.18em;display:block;margin:5px 0 13px}.beam-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}.beam-choice{border:1px solid #3d444d;background:#2c323a;color:#bbc2c7;border-radius:9px;padding:11px 5px;font-size:11px}.beam-choice.selected{background:#a54383;border-color:#ed78c5;color:white}.position-card{padding:22px 14px;text-align:center;flex:1}.position-card strong{font:600 22px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;display:block}.position-chips{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:18px 0}.position-chip{border:1px solid var(--line);background:#262c33;color:#d2d7d8;border-radius:40px;padding:8px 10px;font-size:10px}.position-chip.active{border-color:var(--orange);color:var(--orange)}.text-button{border:0;color:var(--cyan);background:transparent;font-size:11px;letter-spacing:.04em;padding:7px}.fade-card{padding:17px 14px}.fade-card strong{float:right;color:white}.fade-card input{accent-color:var(--pink)}.preset-heading{display:flex;justify-content:space-between;align-items:end;margin:33px 0 16px}.preset-heading h2{margin:4px 0 0;font:600 23px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif}.outline-btn{border:1px solid #46515a;border-radius:8px;background:#252b31;color:#e1e5e6;font-size:10px;letter-spacing:.1em;font-weight:700;padding:13px 15px}.outline-btn:hover,.tab:hover,.beam-choice:hover,.position-chip:hover{border-color:var(--orange);color:#fff}.presets{display:flex;gap:9px;overflow-x:auto;padding-bottom:8px}.preset{min-width:145px;min-height:102px;display:flex;flex-direction:column;justify-content:space-between;text-align:left;border:1px solid var(--line);border-radius:12px;background:#252a30;color:#e5eaeb;padding:14px;transition:transform .16s,background .16s}.preset:hover{transform:translateY(-2px)}.preset.active{background:linear-gradient(145deg,#ffa947,#ee792a);border-color:#ffba75;color:#16191d}.preset small{font-size:9px;letter-spacing:.13em;opacity:.64}.preset strong{font:600 15px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif}.demo-note{font-size:11px;color:#78838a;margin:17px 0 30px}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:20px 0 30px;color:#67727a;font-size:9px;letter-spacing:.15em}footer b{color:var(--orange)}.section-heading{align-items:center}.section-heading p{color:#929ca3;margin:10px 0 0;font-size:13px}.heading-actions{display:flex;gap:8px}.stage-layout,.patch-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px}.stage-board{height:min(58vw,600px);min-height:370px;position:relative;overflow:hidden;border:1px solid #4a545c;border-radius:18px;background:radial-gradient(circle at 50% 10%,#293139,#1b2228 65%);touch-action:none}.stage-grid{position:absolute;inset:0;background-image:linear-gradient(#fff1 1px,transparent 1px),linear-gradient(90deg,#fff1 1px,transparent 1px);background-size:8% 12.5%}.stage-upstage,.stage-downstage{position:absolute;left:0;right:0;text-align:center;font-size:10px;letter-spacing:.25em;color:#89949a}.stage-upstage{top:16px}.stage-downstage{bottom:16px}.stage-downstage:before{content:'';position:absolute;bottom:35px;left:4%;right:4%;height:2px;background:var(--orange)}.fixture-marker{position:absolute;transform:translate(-50%,-50%);min-width:66px;max-width:95px;display:flex;align-items:center;flex-direction:column;gap:5px;border:1px solid #505d65;background:#202b32e8;color:#dfe8e8;padding:8px 5px;border-radius:10px;touch-action:none;user-select:none}.fixture-marker.selected{border:2px solid var(--orange);box-shadow:0 0 19px #ff9c3652}.fixture-marker .marker-icon{color:var(--cyan);font-size:19px}.fixture-marker span:last-child{font-size:9px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:78px}.stage-sidebar,.patch-form,.patch-table-card{background:var(--panel);border:1px solid var(--line);border-radius:17px;padding:23px}.stage-sidebar small{color:var(--orange);letter-spacing:.15em;font-size:10px}.stage-sidebar h2,.patch-form h2,.patch-table-card h2{font:600 21px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;margin:8px 0 20px}.selection-list{display:flex;gap:7px;flex-wrap:wrap;min-height:72px;align-content:flex-start}.selection-list span{font-size:10px;border:1px solid #414c55;border-radius:20px;padding:8px 10px;color:#c6ced1}.stage-tip{font-size:11px;color:#88949b;line-height:1.55;margin:20px 0}.primary-btn{border:0;background:var(--orange);color:#1b1d20;border-radius:9px;padding:14px 18px;font-size:11px;letter-spacing:.1em;font-weight:800;width:100%}.primary-btn:hover{background:#ffc078}.patch-layout{grid-template-columns:310px minmax(0,1fr)}.patch-form{display:flex;flex-direction:column;gap:15px}.patch-form h2{margin:0 0 5px}.patch-form label,.table-top label{display:flex;flex-direction:column;gap:7px;color:#a9b2b7;font-size:10px;letter-spacing:.1em;font-weight:700}.patch-form input,.patch-form select,.table-top select{background:#262d34;border:1px solid #414c54;border-radius:8px;color:white;padding:12px;width:100%;outline:none}.field-row{display:flex;gap:9px}.field-row label{width:50%}.form-help{color:#7f8b92;font-size:11px;line-height:1.45}.table-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.table-top h2{margin:0}.table-top h2 span{color:var(--orange)}.table-top label{flex-direction:row;align-items:center}.table-top select{width:auto;padding:9px}.table-wrap{overflow:auto;margin-top:23px}table{border-collapse:collapse;width:100%;font-size:12px}th{font-size:9px;text-align:left;letter-spacing:.13em;color:#818d93;padding:12px 10px;border-bottom:1px solid #41494f}td{border-bottom:1px solid #30383e;padding:15px 10px;color:#d5dcde}td strong{display:block}td small{color:#829099;font-size:10px}td .delete-btn{background:none;border:0;color:#e58b8e;font-size:18px}.patch-summary{color:#9ba6ac;font-size:11px;margin-top:18px}.patch-summary b{color:var(--cyan)}.empty-row{text-align:center;color:#89959c;padding:40px}.import-bar{display:flex;align-items:center;gap:15px;margin:22px 0 40px;color:#8d989f;font-size:12px}.file-label input{display:none}.danger{color:#ed8b91;margin-left:auto}@media(max-width:1200px){.app-shell{padding:0 20px}.controls-grid{grid-template-columns:52px minmax(230px,1fr) minmax(170px,.72fr) minmax(230px,1fr) 52px;gap:7px}.wheel-panel{padding:14px 10px}.wheel-item .item-label{font-size:8px}.wheel-item .symbol{font-size:25px}.side-control{padding:12px 2px}.vertical-range input{height:245px}.beam-card,.position-card{padding:17px 8px}}@media(max-width:860px){.topbar{min-height:78px}.status{display:none}.controls-grid{grid-template-columns:58px 1fr 1fr 58px}.center-stack{grid-column:2/4;grid-row:2;display:grid;grid-template-columns:1fr 1.2fr 1fr;align-items:stretch}.center-kicker{display:none}.side-control{grid-row:1/3}.master-side{grid-column:4}.wheel-panel{grid-row:1}.wheel-item .symbol{font-size:26px}.wheel-item .item-label{font-size:9px}.stage-layout{grid-template-columns:1fr}.stage-board{height:520px}.stage-sidebar{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.stage-sidebar h2{margin:0}.stage-sidebar .selection-list{min-height:0;flex:1}.stage-sidebar .primary-btn{width:auto}.stage-tip{display:none}}@media(max-width:600px){.app-shell{padding:0 12px}.topbar{min-height:70px}.brand-mark{font-size:27px}.brand strong{font-size:15px}.brand small{font-size:7px}.top-actions{gap:5px}.bpm-btn,.blackout{padding:5px 8px;min-height:42px}.bpm-btn strong{font-size:15px}.bpm-btn small{font-size:7px}.blackout{font-size:9px}.tabs{height:50px}.tab{padding:11px 9px;font-size:9px}.tab span{margin-left:3px;font-size:10px}.tab-hint{font-size:8px}.view-heading,.section-heading{padding:23px 0 17px;align-items:start}.view-heading h1,.section-heading h1{font-size:26px}.show-pill{display:none}.controls-grid{grid-template-columns:1fr 1fr;gap:8px}.wheel-panel{grid-row:auto;padding:12px 7px}.panel-title{gap:6px}.title-icon{width:28px;height:28px;font-size:18px}.panel-title h2{font-size:17px}.panel-title small{font-size:7px}.panel-tag{display:none}.wheel{margin:14px auto 9px}.wheel-item{width:31%;height:28%;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-137%) rotate(calc(-1*var(--angle)));border-radius:8px}.wheel-item .symbol{font-size:18px}.wheel-item .item-label{display:none}.wheel-hub small{display:none}.wheel-hub strong{font-size:12px}.hub-icon{font-size:15px}.wheel-adjust{gap:7px}.wheel-adjust label,.wheel-adjust strong{font-size:8px}.side-control{grid-row:2;min-height:0;flex-direction:row;padding:10px;gap:9px}.side-control:first-child{grid-column:1}.master-side{grid-column:2;grid-row:2}.vertical-label{writing-mode:initial;transform:none;font-size:8px}.vertical-range{flex:1;flex-direction:row}.vertical-range input{appearance:auto;width:100%;height:auto;accent-color:var(--cyan)}.vertical-range span{font-size:9px}.mini-toggle{font-size:8px;padding:7px 4px}.center-stack{grid-column:1/3;grid-row:3;grid-template-columns:1fr 1fr;gap:8px}.beam-card,.position-card{padding:11px 8px}.beam-card small,.position-card small{margin:0 0 7px}.beam-glyph{font-size:22px}.beam-choice{padding:8px 2px;font-size:9px}.position-card strong{font-size:17px}.position-chips{margin:8px 0}.position-chip{font-size:9px;padding:6px}.fade-card{grid-column:1/3;padding:10px 14px}.preset-heading{margin-top:23px}.preset-heading h2{font-size:20px}.outline-btn{padding:10px;font-size:9px}.preset{min-width:128px;min-height:85px}.section-heading{flex-direction:column}.heading-actions{display:flex;width:100%}.heading-actions>*{flex:1}.stage-board{height:470px;min-height:0}.fixture-marker{min-width:49px;max-width:67px;padding:5px 3px}.fixture-marker .marker-icon{font-size:16px}.fixture-marker span:last-child{max-width:60px;font-size:8px}.stage-sidebar .primary-btn{width:100%}.patch-layout{grid-template-columns:1fr}.patch-form{gap:12px}.import-bar{flex-wrap:wrap}.danger{margin-left:0}footer{font-size:8px}}

.pan-tilt{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:left;margin:9px 0}.pan-tilt label{font-size:9px;color:#a1aaaf}.pan-tilt span{float:right;color:#fff}.pan-tilt input{width:100%;accent-color:var(--pink)}
.engine-badge{border:1px solid #866135;color:#ffc172;background:#342a20;border-radius:40px;padding:12px 15px;font-size:10px;font-weight:700;letter-spacing:.12em;white-space:nowrap}.engine-badge.online{border-color:#397a65;background:#1d3831;color:#9ce6bb}.output-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px}.output-list-card{background:var(--panel);border:1px solid var(--line);border-radius:17px;padding:23px}.output-list-card h2{font:600 21px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;margin:0}.output-list-card h2 span{color:var(--orange)}.route-list{display:grid;gap:10px;margin-top:22px}.route-card{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:13px;border:1px solid #3b454d;background:#242a31;border-radius:12px;padding:14px}.route-icon{width:40px;height:40px;border-radius:10px;background:#274349;color:var(--cyan);display:grid;place-items:center;font-size:21px}.route-card strong{display:block;font:600 14px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif}.route-card small{display:block;color:#8e9aa1;font-size:10px;margin-top:5px}.route-card button{border:0;background:transparent;color:#e58b8e;font-size:20px}.route-empty{color:#8e9aa1;font-size:12px;padding:20px}.connection-note{border:1px solid #3c4850;background:#1b2429;border-radius:14px;margin:17px 0 35px;padding:18px;display:flex;gap:18px;font-size:12px;color:#a9b4b8;line-height:1.55}.connection-note strong{color:var(--cyan);white-space:nowrap}@media(max-width:860px){.output-layout{grid-template-columns:1fr}}@media(max-width:600px){.tabs{overflow-x:auto}.tab{flex:0 0 auto}.tab-hint{display:none}.output-list-card{padding:16px}.route-card{grid-template-columns:34px 1fr auto;padding:10px}.route-icon{width:32px;height:32px}.connection-note{flex-direction:column;gap:6px}.engine-badge{font-size:8px;padding:8px}}

.submasters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.sub-card{background:#252a30;border:1px solid var(--line);border-radius:12px;padding:13px 14px;display:flex;flex-direction:column;gap:9px}.sub-card.empty{opacity:.55}.sub-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.sub-top strong{font:600 15px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif}.sub-top small{font-size:9px;letter-spacing:.1em;color:#8c969d}.sub-card input[type=range]{width:100%;accent-color:var(--orange);margin:0}.sub-bottom{display:flex;align-items:center;gap:8px;font-size:10px;color:#9aa4aa}.sub-val{font:600 13px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;color:#fff;min-width:38px}.sub-out{flex:1;letter-spacing:.06em}.sub-bottom .mini-toggle{padding:5px 8px}@media(max-width:860px){.submasters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.submasters{grid-template-columns:1fr}}

.sub-btns{display:flex;gap:6px}.sub-btns .mini-toggle{flex:1;padding:9px 4px;touch-action:none;user-select:none;-webkit-user-select:none}
.mini-toggle[data-btn^='bo:'].on{background:#c23b43;border-color:#ff7076;color:#fff}.mini-toggle[data-btn^='strobe:'].on{background:#d97a1d;border-color:#ffb867;color:#1b1d20}.mini-toggle[data-btn^='white:'].on{background:#eef2f4;border-color:#fff;color:#14181c}
.master-side .master-btn{width:100%;margin-top:6px;padding:9px 2px;touch-action:none;user-select:none;-webkit-user-select:none}
.btn-config{margin:12px 0 4px;border:1px solid var(--line);border-radius:12px;background:#1d2227;padding:10px 14px}.btn-config summary{cursor:pointer;font-size:11px;letter-spacing:.12em;color:#b6bfc5}
.cfg-grid{display:grid;grid-template-columns:70px repeat(6,minmax(0,1fr));gap:6px 8px;align-items:center;margin-top:12px;font-size:10px;color:#9aa4aa}.cfg-grid b{font-weight:700;letter-spacing:.08em;color:#d7dde0}.cfg-row{font-weight:700;letter-spacing:.1em;color:#d7dde0}
.cfg-grid select{width:100%;background:#262d34;border:1px solid #414c54;border-radius:7px;color:white;padding:6px 4px;font-size:10px}.cfg-help{font-size:11px;line-height:1.5;color:#8c969d;margin:12px 0 2px}
@media(max-width:860px){.cfg-grid{grid-template-columns:60px repeat(6,minmax(70px,1fr));overflow-x:auto}}

.fx-panel{background:#1d2227;border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:8px}
.fx-tabs{display:flex;flex-wrap:wrap;gap:6px}.fx-tab{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;border:1px solid #414a53;background:#262c33;color:#aeb8be;border-radius:8px;padding:8px 12px;font:600 12px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}.fx-tab small{font:500 10px 'DM Sans';letter-spacing:0;text-transform:none;opacity:.85}.fx-tab[aria-selected=true]{background:var(--orange);border-color:var(--orange);color:#1b1d20}
.fx-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px;margin-top:14px}.fx-tile{border:1px solid #414a53;background:#262c33;color:#aeb8be;border-radius:10px;padding:8px 4px 6px;display:flex;flex-direction:column;align-items:center;gap:4px;font:600 10px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}.fx-tile svg{width:54px;height:26px}.fx-tile path{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.fx-tile[aria-pressed=true]{border-color:var(--orange);color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange)}
.fx-steps{display:none;gap:5px;margin-top:12px}.fx-steps.on{display:flex}.fx-steps button{flex:1;height:38px;border:1px solid #414a53;background:#262c33;border-radius:6px;position:relative;padding:0}.fx-steps i{position:absolute;left:0;right:0;bottom:0;background:var(--orange);border-radius:0 0 5px 5px}
.fx-knobs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}@media(max-width:760px){.fx-knobs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.fx-kcol{display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid #38414a;border-radius:12px;padding:12px 8px 10px;background:#232930}.fx-knob{width:92px;height:92px;touch-action:none;cursor:ns-resize;border-radius:50%}.fx-knob svg{width:100%;height:100%;display:block}.fx-knob:focus-visible,.fx-tile:focus-visible,.fx-tab:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.fx-kval{font:600 20px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#fff}.fx-ksec{font-size:11px;color:#8c969d;min-height:16px;text-align:center}.fx-kmodes{display:flex;gap:4px;align-items:center;font:600 10px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase}.fx-kmodes button{border:0;background:transparent;color:#8c969d;font:inherit;letter-spacing:inherit;text-transform:inherit;padding:4px 6px;border-radius:6px}.fx-kmodes button[aria-pressed=true]{color:var(--orange);background:#1a1e23;box-shadow:inset 0 0 0 1px #414a53}.fx-kmodes span{color:#414a53}
.fx-preview{margin-top:16px}.fx-stage{display:grid;gap:8px}.fx-lampcol{text-align:center;font-size:10px;color:#8c969d;display:flex;flex-direction:column;gap:6px;align-items:center;min-width:0}.fx-lampcol span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fx-lamp{aspect-ratio:1;border-radius:50%;background:#2a3037;display:grid;place-items:center;font:600 11px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;color:#14181c;width:100%;max-width:70px}
#fxGraph{width:100%;height:120px;display:block;border:1px solid #38414a;border-radius:10px;background:#191d23;margin-top:12px}.fx-readout{margin-top:8px;font-size:12px;color:#9aa4aa}.fx-note{font-size:11px;color:#79848b;margin:8px 0 0}

.sub-fxoff{width:100%;padding:8px 4px;touch-action:none;user-select:none;-webkit-user-select:none}
.mini-toggle[data-btn^='fxoff:'].on{background:#7a3fd1;border-color:#b98cff;color:#fff}
.fx-tab.fx-stompall{margin-left:auto;touch-action:none;user-select:none;-webkit-user-select:none;border-color:#6b4aa0;color:#c9b3f0}.fx-tab.fx-stompall.on{background:#7a3fd1;border-color:#b98cff;color:#fff}
.fx-bpm{margin-top:16px;display:flex;flex-direction:column;gap:14px;align-items:flex-start}.fx-bpm-main{display:flex;align-items:baseline;gap:10px}.fx-bpm-main strong{font:700 64px/1 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#fff}.fx-bpm-main small{font-size:12px;letter-spacing:.2em;color:#9aa4aa}
.fx-beat{width:16px;height:16px;border-radius:50%;background:#2a3037;align-self:center}.fx-beat.on{background:var(--orange);box-shadow:0 0 16px var(--orange)}.fx-bpm-btns{display:flex;flex-wrap:wrap;gap:8px}.fx-bpm-btns .outline-btn{min-width:64px}

.color-fx{display:flex;flex-direction:column;gap:8px;margin-top:10px}.cfx-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.cfx-tile{border:1px solid #414a53;background:#262c33;color:#aeb8be;border-radius:8px;padding:5px 2px 4px;display:flex;flex-direction:column;align-items:center;gap:2px;font:600 8px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase;min-width:0}
.cfx-tile svg{width:24px;height:16px}.cfx-tile path{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cfx-tile[aria-pressed=true]{border-color:var(--cyan);color:var(--cyan);box-shadow:inset 0 0 0 1px var(--cyan)}.cfx-tile:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.cfx-spread{display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:.1em;color:#8e9aa1;font-weight:700}.cfx-spread input{flex:1;accent-color:var(--cyan);margin:0}.cfx-spread strong{color:#e5e9e9;min-width:34px;text-align:right}

.fx-panel{position:relative}.fx-tabs{padding-right:44px}.fx-tab.fx-tapbtn{border-color:#5a6b52;color:#cfe3c6}.fx-tab.fx-tapbtn:active{background:var(--orange);color:#1b1d20}
.fx-corner{position:absolute;top:12px;right:12px;z-index:5}.fx-cornerbtn{width:34px;height:34px;border:1px solid #414a53;background:#262c33;color:#c5cdd2;border-radius:9px;font:700 18px/1 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif}.fx-cornerbtn[aria-expanded=true]{border-color:var(--orange);color:var(--orange)}
.fx-pop{position:absolute;top:40px;right:0;width:260px;background:#1a1e23;border:1px solid #4a545c;border-radius:12px;padding:14px;box-shadow:0 14px 30px #000a;display:flex;flex-direction:column;gap:12px}
.fx-pop-bpm{display:flex;align-items:center;gap:10px}.fx-pop-bpm input{width:96px;background:#262d34;border:1px solid #414c54;border-radius:8px;color:#fff;padding:8px;font:700 26px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;font-variant-numeric:tabular-nums;text-align:center}.fx-pop-bpm small{font-size:11px;letter-spacing:.2em;color:#9aa4aa}
.fx-bpm-btns{display:flex;flex-wrap:wrap;gap:8px}.fx-beat{width:14px;height:14px;border-radius:50%;background:#2a3037}.fx-beat.on{background:var(--orange);box-shadow:0 0 14px var(--orange)}
.cfx-duo{display:flex;gap:10px}.cfx-duo label{flex:1;display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.1em;color:#8e9aa1;font-weight:700}.cfx-duo select{flex:1;min-width:0;background:#262d34;border:1px solid #414c54;border-radius:7px;color:#fff;padding:5px 4px;font-size:11px}

.fold{margin-top:30px}.fold-head{display:flex;width:100%;align-items:flex-end;justify-content:space-between;gap:12px;background:none;border:0;border-bottom:1px solid var(--line);padding:0 0 10px;color:inherit;text-align:left;cursor:pointer}
.fold-title{display:flex;flex-direction:column;gap:4px}.fold-title small{color:var(--orange);font-size:10px;font-weight:700;letter-spacing:.23em}.fold-title b{font:600 23px 'Bahnschrift','DIN Alternate','Segoe UI Variable Display','Segoe UI',system-ui,sans-serif}
.fold-chev{font-style:normal;color:#9aa4aa;font-size:18px;transition:transform .15s}.fold.closed .fold-chev{transform:rotate(-90deg)}.fold-head:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}.fold-body{padding-top:14px}
.fx-row.cfx-row{grid-template-columns:repeat(auto-fill,minmax(70px,1fr))}
@media(prefers-reduced-motion:reduce){.fold-chev{transition:none}}

.fx-pop.fx-pop-wide{width:340px;max-width:calc(100vw - 40px)}.fx-sec{display:flex;flex-direction:column;gap:6px;border-top:1px solid #38414a;padding-top:10px}.fx-sec>b{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#8e9aa1}
.fx-radio{display:flex;align-items:center;gap:8px;font-size:12px;color:#d7dde0;cursor:pointer}.fx-radio input{accent-color:var(--orange);margin:0}
.fx-sec select{width:100%;background:#262d34;border:1px solid #414c54;border-radius:7px;color:#fff;padding:7px 6px;font-size:12px;margin-top:2px}
.fx-gain{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:.1em;color:#8e9aa1;font-weight:700}.fx-gain input{flex:1;accent-color:var(--orange);margin:0}.fx-gain strong{color:#e5e9e9;min-width:38px;text-align:right}
.fx-meters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.fx-meter{display:flex;flex-direction:column;gap:4px;font-size:9px;letter-spacing:.1em;color:#8e9aa1}.fx-meter i{display:block;height:8px;border-radius:5px;background:#262d34;overflow:hidden}.fx-meter b{display:block;height:100%;width:0;background:var(--orange);transition:width .12s}
@media(prefers-reduced-motion:reduce){.fx-meter b{transition:none}}

.topbar{position:relative}.music-panel{position:absolute;right:0;top:calc(100% - 6px);z-index:60;width:380px;max-width:calc(100vw - 24px);background:#1a1e23;border:1px solid #4a545c;border-radius:12px;padding:16px;box-shadow:0 18px 40px #000b;display:flex;flex-direction:column;gap:12px}.music-panel[hidden]{display:none}
.bpm-btn[aria-expanded=true]{border-color:var(--orange)}.bpm-btn.live small::after{content:' ●';color:var(--orange)}

.music-panel .fx-bpm-btns{flex-wrap:nowrap}.music-panel .fx-bpm-btns .outline-btn{flex:1;min-width:0;padding:12px 4px}

.rules-top{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.rules-top .fx-note{flex:1;min-width:240px;margin:0}
.rules-scroll{overflow-x:auto}.rules-grid{display:grid;grid-template-columns:80px minmax(150px,1.5fr) minmax(96px,1fr) minmax(120px,1.2fr) repeat(5,minmax(62px,.55fr));gap:8px 8px;align-items:center;min-width:860px;font-size:11px}
.rules-grid>b{font:700 10px 'Bahnschrift','DIN Alternate','Segoe UI',system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#8e9aa1}.rules-g{font-weight:700;color:#e5e9e9}.rules-g.empty{opacity:.5}
.rules-grid select,.rules-grid input{width:100%;min-width:0;background:#262d34;border:1px solid #414c54;border-radius:7px;color:#fff;padding:7px 6px;font-size:12px}

.show-wrap{position:relative}button.show-pill{cursor:pointer;font-family:inherit;background:#1a1e23}button.show-pill:hover,button.show-pill[aria-expanded=true]{border-color:var(--orange)}
.show-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:380px;max-width:calc(100vw - 24px);background:#1a1e23;border:1px solid #4a545c;border-radius:12px;padding:16px;box-shadow:0 18px 40px #000b;display:flex;flex-direction:column;gap:12px}.show-menu[hidden]{display:none}
.show-field{display:flex;flex-direction:column;gap:6px;font-size:10px;letter-spacing:.14em;color:#8e9aa1;font-weight:700}.show-field input{background:#262d34;border:1px solid #414c54;border-radius:8px;color:#fff;padding:10px;font-size:14px;letter-spacing:0}
.show-btns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.show-btns .outline-btn{text-align:center;padding:11px 6px;cursor:pointer}
.show-list{display:flex;flex-direction:column;gap:6px;border-top:1px solid #38414a;padding-top:10px;max-height:240px;overflow-y:auto}.show-list>b{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#8e9aa1}
.show-item{display:flex;gap:6px}.show-load{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:#232930;border:1px solid #38414a;border-radius:8px;color:#e5e9e9;padding:9px 10px;text-align:left;cursor:pointer;min-width:0}.show-load:hover{border-color:var(--orange)}
.show-load strong{font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.show-load small{font-size:10px;color:#8e9aa1}
.show-del{width:34px;background:#232930;border:1px solid #38414a;border-radius:8px;color:#e58b8e;font-size:18px;cursor:pointer}.show-del:hover{border-color:#e58b8e}.show-msg{color:#b8e0a8}

.cct-bar{margin-top:10px;padding:10px 4px 0;border-top:1px solid var(--line)}
.cct-head{display:flex;justify-content:space-between;align-items:center;color:#8e9aa1;font-size:8px;letter-spacing:.1em;font-weight:700}
.cct-head strong{color:#e5e9e9;font-size:10px}
.cct-bar input{width:100%;margin:8px 0 0;accent-color:var(--cyan)}
.cct-strip{height:4px;border-radius:2px;margin-top:4px;background:linear-gradient(90deg,#ff8a2b 0%,#ffd9a8 35%,#fff 60%,#b9d2ff 80%,#7fa8ff 100%)}
.cct-scale{display:flex;justify-content:space-between;margin-top:4px;color:#8e9aa1;font-size:8px;letter-spacing:.1em;font-weight:700}
.cct-cues{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px}
.cct-cue{border:1px solid #414a53;background:#262c33;color:#aeb8be;border-radius:8px;padding:6px 2px 5px;display:flex;flex-direction:column;align-items:center;gap:1px;font:700 10px 'Bahnschrift','DIN Alternate','Segoe UI',system-ui,sans-serif;letter-spacing:.04em;min-width:0}
.cct-cue small{font-size:7px;letter-spacing:.1em;color:#8e9aa1}
.cct-cue[aria-pressed=true]{border-color:var(--cyan);color:var(--cyan);box-shadow:inset 0 0 0 1px var(--cyan)}
.cct-cue:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.cfx-mixes-title{margin:14px 0 0;color:#8e9aa1;font-size:9px;letter-spacing:.1em;font-weight:700}
.cfx-mixes{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;margin-top:8px}
.cfx-mix{border:1px solid #414a53;background:#262c33;color:#aeb8be;border-radius:10px;padding:0;overflow:hidden;font:600 10px 'Bahnschrift','DIN Alternate','Segoe UI',system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;min-width:0}
.cfx-mix{display:flex;flex-direction:column}
.cfx-mix i{display:block;height:14px;flex:none}
.cfx-mix span{display:flex;flex:1;align-items:center;justify-content:center;text-align:center;padding:6px 4px 7px;min-height:30px}
.cfx-mix[aria-pressed=true]{border-color:var(--orange);color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange)}
.cfx-mix:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
