.dance{max-width:600px;margin:auto;padding:8px;font-family:system-ui;color:#30234c}.dance h1{font-size:24px;margin:8px 0}.dance button,.dance select{min-height:48px;min-width:48px;border:2px solid #6c4da0;border-radius:12px;background:#fff;color:#30234c;font-size:16px;padding:6px 10px}.dance button:focus-visible,.dance select:focus-visible,.dance a:focus-visible{outline:4px solid #e08700;outline-offset:2px}.dance button[aria-pressed=true]{background:#eadcff;border-color:#45217a}.dance .controls{display:flex;flex-wrap:wrap;gap:5px}.dance #go,.dance #stop{min-height:56px}.dance #scene{background:#edf7ef;border-radius:20px}.dance svg{width:100%;height:170px}.dance #slots,.dance #choices{display:flex;gap:6px;margin:6px 0}.dance p{margin:6px 0;min-height:20px}.dance .current{outline:4px solid #ce7800}.dance #help{background:#fff2bf;padding:8px}.dance small{font-size:12px}@media(max-height:600px){.dance svg{height:125px}.dance h1{font-size:20px}.dance button{padding:3px 7px}.dance p{margin:3px 0}}

.dance *{box-sizing:border-box}.dance #slots,.dance #choices{flex-wrap:wrap}.dance #scene{position:sticky;top:0;z-index:1}.dance button img{width:32px;height:32px;object-fit:contain;vertical-align:middle}@media(min-width:700px) and (max-height:500px){.dance{max-width:100%;display:grid;grid-template-columns: minmax(200px,36%) 1fr;gap:4px 16px}.dance #scene{grid-column:1;grid-row:2/8}.dance svg{height:210px}.dance>*{grid-column:2}.dance>a,.dance>h1{grid-column:1}.dance p{min-height:0}}
@media(min-width:700px) and (max-height:500px){.dance{position:relative;display:block;padding-left:320px}.dance>a{position:absolute;left:16px;top:8px}.dance>h1{margin:0 0 4px}.dance #scene{position:absolute;left:16px;top:44px;width:285px}.dance svg{height:210px}.dance button{min-height:48px}.dance #slots,.dance #choices{margin:4px 0}.dance #remove{display:inline-block}.dance #repeat-status{display:inline-block;margin-left:8px}.dance .controls{margin-top:4px}}
