.hy-stage{position:relative;width:100%;height:100%;min-height:170px;overflow:hidden;--hy-size:76px;--hy-beat:.4s}.hy-row{position:absolute;bottom:8px;left:50%;display:flex;align-items:flex-end;width:max-content;transform-origin:bottom center;transform:translateX(-50%);padding:34px 30px 0}.hy-dancer{position:relative;width:calc(var(--hy-size) * .95);flex:none}.hy-rig{display:block;width:calc(var(--hy-size) * 1.25);height:calc(var(--hy-size) * 1.325);margin-left:calc(var(--hy-size) * -.125);overflow:visible;image-rendering:pixelated}.hy-name{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);max-width:calc(var(--hy-size) * 1.1);overflow:hidden;text-overflow:ellipsis;color:#fff;font:700 12px monospace;white-space:nowrap;text-shadow:0 1px 3px #000,1px 0 2px #000,-1px 0 2px #000}.hy-handkerchief{display:none}.hy-leader .hy-handkerchief{display:inline}@keyframes hy-bounce{50%{transform:translateY(-3px)}}
.hy-editor{max-width:1400px;margin:auto;padding:28px 40px;color:#eeedf6}.hy-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:34px}.hy-eyebrow{color:#b9a3ff;font-size:12px;letter-spacing:3px;font-weight:700}.hy-editor h1{font-size:42px;letter-spacing:-1.5px;margin:10px 0}.hy-editor p{color:#aaa7ba;line-height:1.7}.hy-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px}.hy-preview{height:330px;border:1px solid #35333f;border-radius:20px;background-color:#202029;background-image:linear-gradient(45deg,#292933 25%,transparent 25%),linear-gradient(-45deg,#292933 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#292933 75%),linear-gradient(-45deg,transparent 75%,#292933 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0;position:relative;overflow:hidden}.hy-preview .hy-stage{height:100%}.hy-badge{position:absolute;top:18px;left:20px;color:#ccc6df;font:600 11px system-ui;letter-spacing:1.5px}.hy-preview-footer{display:flex;justify-content:space-between;gap:12px;margin:18px 0}.hy-controls{background:#1b1b24;border:1px solid #35333f;border-radius:20px;padding:24px}.hy-controls h2{font-size:18px;margin:0 0 24px}.hy-controls .field{margin-bottom:18px}.hy-controls input[type=range]{width:100%;accent-color:#b9a3ff}.hy-check{display:flex;gap:10px;align-items:center;font-size:13px;margin:20px 0}.hy-check input{accent-color:#b9a3ff}.hy-status{font-size:13px;min-height:22px;color:#c9bafa}.hy-link{margin-top:24px;padding:24px;border:1px solid #35333f;border-radius:20px}.hy-link h2{font-size:19px;margin-top:0}.hy-copy{display:flex;gap:8px}.hy-copy input{min-width:0;flex:1;background:#111117;color:#d2c4fc;border:1px solid #35333f;border-radius:8px;padding:12px;font-size:12px}.hy-note{font-size:12px}.hy-count{color:#b9a3ff;font-weight:600}.system-card-art-hayal{display:flex!important;align-items:center;justify-content:center;gap:10px;background:radial-gradient(ellipse at 50% 90%,#8b64d940,transparent 70%);font-size:52px}.system-card-art-hayal span{animation:hy-bounce .6s infinite}.system-card-art-hayal span:nth-child(2){animation-delay:-.15s}@media(max-width:900px){.hy-layout{grid-template-columns:1fr}.hy-editor{padding:22px}.hy-top{flex-wrap:wrap}.hy-editor h1{font-size:34px}.hy-preview{height:260px}.hy-copy{flex-wrap:wrap}}
.system-card-art-hayal img{width:76px;height:auto;image-rendering:pixelated;animation:hy-bounce .6s steps(1,end) infinite}.system-card-art-hayal img:nth-child(2){animation-delay:-.15s}

.hy-leader .hy-name{color:#ffdf55;text-shadow:0 1px 3px #000,1px 0 2px #000,-1px 0 2px #000;font-weight:800}

.hy-source{margin:24px 0;background:#1b1b24;border:1px solid #35333f;border-radius:20px;padding:24px}.hy-source-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.hy-source h2{font-size:24px;margin:8px 0 0}.hy-source-heading p{font-size:13px;margin:8px 0 20px}.hy-platform{font-size:14px;font-weight:900;letter-spacing:2px;color:#72ed55;border:1px solid #72ed5540;background:#72ed5510;padding:12px 18px;border-radius:12px}.hy-source-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px}.hy-source-form .field{margin:0}.hy-source-form button{min-height:46px}.hy-source-summary{display:flex;gap:14px 26px;justify-content:space-between;align-items:center;flex-wrap:wrap;border-top:1px solid #35333f;padding-top:16px;margin-top:16px;font-size:13px}.hy-source-summary span{color:#aaa7ba}.hy-source-summary a{color:#d6c7ff;text-underline-offset:3px}.hy-source-status{color:#aaa7ba;display:flex;align-items:center;gap:8px;min-height:20px}.hy-source-status:before{content:'';width:7px;height:7px;flex:none;border-radius:50%;background:currentColor}.hy-source-status[data-phase=connected]{color:#87e48b}.hy-source-status[data-phase=error]{color:#ff9ba5}.hy-source-status[data-phase=connecting],.hy-source-status[data-phase=retrying]{color:#e5cd83}@media(max-width:650px){.hy-source{padding:18px}.hy-source-form{grid-template-columns:1fr}.hy-source-heading{align-items:start}.hy-platform{padding:8px 10px}}

.hy-sync-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0 24px;font-size:13px;color:#c9bcdf}.hy-sync-line [hidden]{display:none}
.hy-character-picker{margin-top:28px;padding:24px;background:#1b1b24;border:1px solid #35333f;border-radius:20px;min-width:0}.hy-character-picker [hidden]{display:none!important}.hy-characters-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.hy-characters-heading h2{font-size:25px;margin:8px 0}.hy-characters-heading p{max-width:760px;margin:8px 0 18px;font-size:13px}.hy-characters-count{flex:none;background:#b9a3ff14;color:#d6c7ff;border:1px solid #b9a3ff33;border-radius:30px;padding:10px 14px;font-size:12px}.hy-characters-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 18px}.hy-character-tabs{display:flex;gap:6px;padding:5px;border-radius:12px;background:#111117}.hy-character-tabs button{border:0;background:transparent;color:#aaa7ba;padding:10px 20px;border-radius:8px;cursor:pointer;font:600 13px system-ui}.hy-character-tabs [aria-selected=true]{background:#b9a3ff;color:#181222}.hy-character-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(106px,1fr));gap:10px;max-height:440px;overflow:auto;padding:3px 8px 8px 3px;scrollbar-color:#615276 #17151e}.hy-character-card{min-width:0;border:1px solid #393442;background:#16151d;border-radius:12px;overflow:hidden}.hy-character-card.is-selected{border-color:#9b80d9;background:#b9a3ff0d}.hy-character-card [role=checkbox]{position:relative;border:0;background:transparent;color:#eee8fa;width:100%;padding:10px 4px 6px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px}.hy-character-thumb{display:block;width:80px;height:106px;image-rendering:pixelated}.hy-character-thumb .hy-rig{width:80px;height:106px;margin:0;overflow:visible;filter:none}.hy-character-check{position:absolute;top:6px;right:6px;border:1px solid #696171;color:transparent;background:#111117b0;border-radius:50%;width:17px;height:17px;line-height:15px;font-size:11px}.is-selected .hy-character-check{color:#241734;background:#c9b1ff;border-color:#c9b1ff}.hy-character-label{font:600 11px system-ui}.hy-character-only{width:100%;border:0;border-top:1px solid #393442;padding:7px 2px;background:transparent;color:#c9b6e8;cursor:pointer;font:500 10px system-ui}.hy-character-only:hover{background:#b9a3ff1c}.hy-character-picker button:focus-visible{outline:2px solid #dbcbff;outline-offset:-3px}.hy-character-message{color:#ebc986!important;font-size:12px;min-height:0;margin:0}.hy-character-message:empty{display:none}@media(max-width:650px){.hy-character-picker{padding:18px}.hy-characters-heading{display:block}.hy-characters-count{display:inline-block;margin-bottom:12px}.hy-characters-toolbar{align-items:stretch;flex-direction:column}.hy-character-grid{grid-template-columns:repeat(auto-fill,minmax(94px,1fr));max-height:430px}.hy-character-tabs button{flex:1;padding:10px 14px}.hy-character-tabs{justify-content:stretch}}
.hy-dance-picker{margin:24px 0;padding:22px 24px;border:1px solid #35333f;border-radius:20px;background:#1b1b24}
.hy-dance-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:16px}
.hy-dance-heading h2{font-size:20px;margin:0}.hy-dance-heading p{font-size:12px;margin:0;max-width:650px}
.hy-dance-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hy-dance-options button{--dance-accent:#c2a6ff;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:17px 18px;border:1px solid #3e384a;border-radius:12px;background:#15141c;color:#b5adbf;text-align:left;cursor:pointer;transition:background .16s,border-color .16s}
.hy-dance-options [data-dance=disco]{--dance-accent:#c1a4b8}.hy-dance-options [data-dance=tango]{--dance-accent:#cbb991}.hy-dance-options [data-dance=ciftetelli]{--dance-accent:#efa5c6}
.hy-dance-options button[aria-checked=true]{border-color:var(--dance-accent);background:color-mix(in srgb,var(--dance-accent) 10%,#15141c);box-shadow:inset 0 0 0 1px var(--dance-accent)}
.hy-dance-options strong{font-size:16px;color:#eee8f5}.hy-dance-options button>span:not(.hy-dance-symbol){font-size:11px;line-height:1.5}.hy-dance-options small{font-size:10px;color:var(--dance-accent);letter-spacing:.5px}
.hy-dance-symbol{position:absolute;top:15px;right:16px;font-size:18px;line-height:1;color:var(--dance-accent)}
.hy-dance-options button:focus-visible{outline:2px solid var(--dance-accent);outline-offset:4px}.hy-dance-current{font-size:12px!important;margin:12px 0 0!important;color:#c8b5e5!important}
.hy-stage[data-dance-style=ciftetelli] .hy-dancer{width:calc(var(--hy-size) * 1.18)}
.hy-stage[data-dance-style]:not([data-dance-style=halay]) .hy-handkerchief{display:none}
@media(max-width:760px){.hy-dance-picker{padding:18px}.hy-dance-heading{display:block}.hy-dance-heading p{margin-top:9px}.hy-dance-options{grid-template-columns:repeat(2,minmax(0,1fr))}.hy-dance-options button{padding:15px}.hy-dance-symbol{right:12px}}

.hy-stage[data-dance-style=ciftetelli] .hy-rig{margin-left:calc(var(--hy-size) * -.035)}
.hy-twerk-center{z-index:2}.hy-twerk-watcher .hy-rig,.hy-twerk-group-dancer:not(.hy-twerk-center) .hy-rig{transform:scale(.84);transform-origin:50% 100%}
.hy-instructions{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px 16px;width:max-content;max-width:calc(100% - 24px);padding:7px 12px;border:1px solid #cbb7ef30;border-radius:10px;background:#17131ee8;color:#ece6f6;font:500 13px/1.35 system-ui,sans-serif;box-shadow:0 3px 14px #0003;text-align:center;z-index:2}
.hy-instructions-dance{padding:3px 7px;border-radius:5px;background:#b9a3ff25;color:#d2c0ff;font-size:11px;font-weight:750;letter-spacing:.3px}
.hy-instructions-join{min-width:0;overflow-wrap:anywhere}.hy-instructions-join strong{color:#ffdf93;font-weight:750}
.hy-instructions-avatar{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;font-size:12px;color:#c1b7ce}
.hy-instructions-avatar strong{color:#f2ebff;font:750 12px ui-monospace,monospace}
@media(max-width:600px){.hy-instructions{font-size:12px;gap:5px 11px;padding:6px 9px}.hy-instructions-avatar,.hy-instructions-avatar strong{font-size:11px}}

/* Calmer artwork; labels stay outside the color treatment. */
.hy-stage .hy-rig,.hy-character-thumb{filter:saturate(.68) brightness(.91) contrast(.94)}
.system-halay-person .hy-rig{filter:saturate(.68) brightness(.91) contrast(.94) drop-shadow(0 6px 5px #0002)}
.hy-name{color:#e5e1db}.hy-leader .hy-name{color:#d8c087}
.hy-preview{background-color:#1d1e24;background-image:linear-gradient(45deg,#22232a 25%,transparent 25%),linear-gradient(-45deg,#22232a 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#22232a 75%),linear-gradient(-45deg,transparent 75%,#22232a 75%);background-size:32px 32px;background-position:0 0,0 16px,16px -16px,-16px 0}
.hy-instructions{border-color:#77717c35;background:#191a20e8;color:#dedbd6;box-shadow:0 2px 8px #0002}
.hy-instructions-dance{background:#93879c22;color:#c3b8cb}.hy-instructions-join strong{color:#d8c69f}.hy-instructions-avatar{color:#b9b6bd}.hy-instructions-avatar strong{color:#ded9e1}

.hy-rig{transform-origin:50% 95%}
.hy-couple{position:relative;flex:none;width:calc(var(--hy-size) * 1.95);height:calc(var(--hy-size) * 1.325);margin-inline:calc(var(--hy-size) * .07)}
.hy-couple.hy-couple-solo{width:calc(var(--hy-size) * 1.25)}
.hy-couple>.hy-dancer{position:absolute;left:50%;bottom:0;margin-left:calc(var(--hy-size) * -.475);transform-origin:50% 100%}
.hy-stage[data-dance-style=tango] .hy-name{display:none}
.hy-couple-names{position:absolute;bottom:calc(100% + 6px);left:0;width:100%;display:flex;align-items:center;justify-content:center;gap:5px;z-index:30;color:#e5e1db;font:700 11px monospace;text-shadow:0 1px 3px #000,1px 0 2px #000,-1px 0 2px #000}
.hy-couple-name{min-width:0;max-width:48%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hy-couple-name+.hy-couple-name:before{content:'· ';color:#aaa0b1}

.hy-couple-solo .hy-couple-name{max-width:100%}

/* Keep color grading on the HTML layer around paired SVG characters. */
.hy-stage[data-dance-style=tango] .hy-rig{filter:none}
.hy-stage[data-dance-style=tango] .hy-dancer{filter:saturate(.68) brightness(.91) contrast(.94)}

/* Nicknames retain their screen size when the dancer row is fitted to OBS. */
.hy-name{bottom:calc(100% + var(--hy-name-gap,5px));font:750 var(--hy-name-font,18px)/1.15 system-ui,sans-serif;color:#f0ede7;max-width:160px;width:max-content;padding:2px 4px;border-radius:4px;background:#15131ebd;box-sizing:border-box;white-space:nowrap;overflow-wrap:normal;display:block;text-overflow:ellipsis;text-align:center;transform:translateX(-50%) scale(var(--hy-label-inverse,1));transform-origin:center bottom;text-shadow:0 1px 2px #08070d,1px 0 2px #08070d,-1px 0 2px #08070d}
.hy-couple-names{left:50%;bottom:calc(100% + var(--hy-name-gap,5px));width:max-content;flex-direction:column;gap:1px;font:750 var(--hy-name-font,18px)/1.15 system-ui,sans-serif;transform:translateX(-50%) scale(var(--hy-label-inverse,1));transform-origin:center bottom;padding:2px 4px;box-sizing:border-box;background:#15131ebd;border-radius:4px}
.hy-couple-name{max-width:100%;width:100%;text-align:center}.hy-couple-name+.hy-couple-name:before{content:none}

/* Full nicknames use fixed, staggered rows above the dancers. */
.hy-name,.hy-couple-names{max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap}
.hy-couple-name{width:max-content;max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap}
.hy-exit-layer{position:absolute;inset:0;z-index:70;pointer-events:none;overflow:visible}.hy-exiting{position:absolute}

.hy-music{margin:24px 0;padding:22px 24px;border:1px solid #50435c;border-radius:20px;background:linear-gradient(125deg,#25202f,#1b1b24 70%)}
.hy-music[hidden]{display:none}.hy-music-heading{display:flex;align-items:center;gap:14px}.hy-music-symbol{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:#b9a3ff20;color:#ceb9f6;font-size:28px}.hy-music-heading h2{font-size:20px;margin:0 0 6px}.hy-music-heading p{margin:0;font-size:12px;line-height:1.5}.hy-music-heading a{display:inline-block;margin-left:10px;color:#cbb9e6;text-decoration-thickness:1px;text-underline-offset:3px}.hy-music-mode{margin-left:auto;color:#c6b5d9;font-size:11px;white-space:nowrap}
.hy-music-controls{display:flex;align-items:center;gap:22px;margin-top:20px;flex-wrap:wrap}.hy-music-buttons{display:flex;gap:8px}.hy-music-buttons .button{min-width:108px;justify-content:center}.hy-music-volume{display:grid;grid-template-columns:1fr auto;gap:6px 14px;min-width:150px;max-width:280px;flex:1;color:#c7c0d0;font-size:12px}.hy-music-volume output{color:#e5d8f5}.hy-music-volume input{grid-column:1/-1;width:100%;margin:2px 0;accent-color:#b9a3ff}.hy-music-mute{display:flex;align-items:center;gap:7px;color:#c7c0d0;font-size:12px}.hy-music-mute input{accent-color:#b9a3ff}.hy-music-progress{display:flex;align-items:center;gap:12px;margin:18px 0 12px}.hy-music-progress input{flex:1;min-width:0;accent-color:#b9a3ff}.hy-music-progress output{min-width:32px;color:#d6cadf;font:600 12px ui-monospace,monospace;font-variant-numeric:tabular-nums}.hy-music-progress output:last-child{text-align:right}.hy-music-status{min-height:20px;margin:0!important;font-size:12px;line-height:1.6!important;color:#d4c1ed!important}.hy-music-note{margin:7px 0 0!important;font-size:11px;line-height:1.6!important;color:#aba1b5!important}.hy-music [data-music-play][aria-pressed=true]{background:#d6c5e7;color:#251d2e}.hy-music button:focus-visible,.hy-music input:focus-visible{outline:2px solid #d9c7f5;outline-offset:4px}.hy-music [disabled]{opacity:.55;cursor:wait}
@media(max-width:650px){.hy-music{padding:18px}.hy-music-heading{align-items:flex-start;flex-wrap:wrap}.hy-music-heading h2{font-size:18px}.hy-music-heading p{max-width:240px}.hy-music-heading a{margin-left:0;display:block;margin-top:4px}.hy-music-mode{display:none}.hy-music-controls{gap:16px}.hy-music-buttons{width:100%}.hy-music-buttons .button{flex:1}.hy-music-volume{max-width:none}.hy-music-mute{margin-top:14px}.hy-music-progress{gap:8px}}

/* Fit the complete OBS canvas uniformly; preview chrome stays outside it. */
.hy-editor .hy-preview.is-obs-preview{height:auto}
.hy-preview.is-obs-preview .hy-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:12px 16px;box-sizing:border-box;border-bottom:1px solid #35333f;background:#1b1b24e8}
.hy-preview.is-obs-preview .hy-badge{position:static;font-size:10px;letter-spacing:1px;line-height:1.5}
.hy-preview-dimensions{flex:none;color:#a69eb6;font:11px ui-monospace,monospace;white-space:nowrap}
.hy-obs-preview-surface{width:100%;min-height:0;position:relative;overflow:hidden}
.hy-obs-frame{max-width:none;max-height:none}
@media(max-width:650px){.hy-preview.is-obs-preview .hy-preview-heading{align-items:flex-start;padding:10px 12px}.hy-preview.is-obs-preview .hy-badge{font-size:9px;letter-spacing:.5px}.hy-preview-dimensions{font-size:10px}}
