.led-demo{--accent:#c4f52b;--gap:8px;background:#fff;color:#11120f;padding:28px;border:1px solid #dce0d5;border-radius:18px;font-family:inherit;overflow:hidden;line-height:1.6}
.led-demo *{box-sizing:border-box}.led-demo [hidden]{display:none!important}.led-demo img{max-width:100%;display:block}.led-demo button,.led-demo input{font:inherit}.led-demo button{cursor:pointer;border:1px solid #aeb5a2;border-radius:24px;padding:10px 18px;color:#11120f;background:#fff}.led-demo button.active,.led-demo button[aria-pressed=true]{background:var(--accent);border-color:#728b24}.led-demo button:focus-visible,.led-demo input:focus-visible{outline:3px solid #567300;outline-offset:3px}.led-demo input[type=range]{width:100%;accent-color:#718e11;min-height:36px}.led-demo .demo-top,.led-demo .score-top{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px}.led-demo output{font-weight:600}.led-demo .demo-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:20px}.led-demo .demo-note{font-size:12px;color:#5c6353;margin:20px 0 0}.led-demo.curve-demo>svg{width:100%;max-height:300px;color:#87a52a}.led-demo #curve-guide{stroke:#fff}.led-demo .stage-palette{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.led-demo .stage-palette img{width:120px;height:68px;object-fit:cover;margin-bottom:8px;border-radius:5px}.led-demo .stage-palette button{border-radius:10px}.led-demo .stage-instruction{font-size:14px}.led-demo .module-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.led-demo .module-grid>button{aspect-ratio:32/27;padding:0;position:relative;border-radius:3px;background-size:600% 400%;background-position:var(--tile-x) var(--tile-y)}.led-demo [data-art=a]{background-image:url('../assets/stage-art-a.webp')}.led-demo [data-art=b]{background-image:url('../assets/stage-art-b.webp')}.led-demo [data-art=off]{background:#24291e}.led-demo .module-grid span{position:absolute;left:3px;top:3px;background:#111b;color:white;padding:1px 4px;font-size:11px}.led-demo .stage-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.led-demo .floor-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin:24px 0}.led-demo .floor-grid button{aspect-ratio:1;padding:0;border-radius:6px;background:#20271a;border-color:#52613b;transition:background .15s}.led-demo .floor-grid button.lit{background:var(--accent)}.led-demo .scoreboard{display:flex;align-items:center;justify-content:center;gap:36px;margin:28px 0}.led-demo .scoreboard>div{text-align:center}.led-demo .scoreboard strong{font-size:clamp(64px,12vw,130px);display:block;line-height:1.1;font-variant-numeric:tabular-nums}.led-demo .scoreboard em{font-size:52px;font-style:normal}.led-demo .multi-view{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}.led-demo .multi-view[data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}.led-demo .multi-view>div{padding:18px;background:#f4f6ef;min-height:210px;display:flex;flex-direction:column;gap:12px;border:1px solid #dde3d3;border-radius:8px}.led-demo .multi-view svg{width:100%;height:100px}.led-demo .multi-view p,.led-demo .multi-view>div>span{font-size:13px;margin:0}.led-demo .event-feed{font-size:13px;padding-left:16px}.led-demo .signal-bars{display:flex;height:100px;align-items:flex-end;gap:7px}.led-demo .signal-bars i{flex:1;background:#85a628}.led-demo .system-list{display:grid;gap:10px;font-size:13px}.led-demo .system-list span{display:flex;justify-content:space-between}.led-demo .metric{font-size:38px}.led-demo .metric small{font-size:16px}.led-demo progress{width:100%;accent-color:#6a8614}.led-demo .mesh-visual{position:relative;height:280px;display:grid;place-items:center;background:#e1ecc7;margin:24px 0;overflow:hidden}.led-demo .mesh-visual:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,#20271a 0 var(--gap),transparent var(--gap) 16px);pointer-events:none}.led-demo .mesh-visual span{font-size:clamp(32px,7vw,70px);font-weight:700;line-height:1.1;text-align:center;color:#547015}.led-demo .cinema-screen{aspect-ratio:2.39;position:relative;overflow:hidden;background:#111;max-width:800px;margin:auto}.led-demo .cinema-screen img{width:100%;height:100%;object-fit:cover}.led-demo .cinema-screen>span{position:absolute;bottom:10%;left:0;width:100%;text-align:center;color:#fff;font-size:clamp(12px,3vw,28px);text-shadow:0 2px 5px #000}.led-demo .poster-layout{display:grid;grid-template-columns:minmax(0,320px) 1fr;gap:32px;align-items:center;max-width:650px;margin:auto}.led-demo .poster-screen{aspect-ratio:9/16;display:flex;flex-direction:column;justify-content:space-between;padding:24px;background:#c4f52b;border:8px solid #20271a;color:#11120f}.led-demo .poster-screen strong{font-size:clamp(32px,6vw,60px);line-height:1.05}.led-demo .poster-screen .tiny{font-size:10px}.led-demo .poster-sub{font-size:13px}.led-demo .poster-options{display:grid;gap:14px}.led-demo .poster-options button{text-align:left}.led-demo .poster-options button span{font-size:12px;margin-right:10px}
@media(max-width:650px){.led-demo{padding:16px}.led-demo .multi-view,.led-demo .multi-view[data-count="6"]{grid-template-columns:1fr}.led-demo .floor-grid{gap:4px}.led-demo .floor-grid button{min-height:32px}.led-demo .poster-layout{grid-template-columns:minmax(0,1fr) 100px;gap:12px}.led-demo .poster-screen{padding:12px;border-width:5px}.led-demo .poster-options button{padding:10px;font-size:12px}.led-demo .stage-palette img{width:80px;height:45px}}
@media(prefers-reduced-motion:reduce){.led-demo *{transition:none!important}}
