/* Branch-only Lyrics view. Beat/Export presentation and all audio remain unchanged. */
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon{--neon-violet:#bc59ff;padding:4px 0 8px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-heading{margin:2px 0 4px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-heading h2{font-size:30px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-time-controls{display:grid;grid-template-columns:60px minmax(0,1fr) 84px;gap:4px;min-height:44px;margin:2px 0}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialClock{transform:none;font-variant-numeric:tabular-nums;font-size:17px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon :is(#dialStop,#dialLoop){min-width:44px;min-height:44px;padding:6px;font-size:12px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-stage{height:auto!important;min-height:236px;align-items:stretch;grid-template-columns:minmax(0,1fr) 44px;gap:2px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #songDialSurface{height:auto!important;min-height:236px;max-width:none;width:100%;margin:0;position:relative;touch-action:pan-y}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #songDialSurface:after{content:none}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialArtwork{height:236px;min-height:236px;position:relative;pointer-events:none}
.neon-dial-visual{width:100%;position:relative;pointer-events:none}.neon-dial-visual :is(svg,canvas){display:block;width:100%;pointer-events:none}
.neon-dial-overlay{position:absolute;inset:0;pointer-events:none;overflow:hidden}.neon-time-marker{position:absolute;width:1px;background:white;box-shadow:0 0 3px #fff6}.neon-time-marker:before{content:'';position:absolute;left:-4px;top:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:7px solid white}
.neon-ring-label{position:absolute;left:0;min-height:44px;max-width:70px;display:flex;align-items:center;padding:4px 6px;border:1px solid var(--neon-ring);border-radius:8px;background:linear-gradient(120deg,#151224,#060b18);color:var(--neon-ring);box-shadow:0 0 3px color-mix(in srgb,var(--neon-ring),transparent 40%);font-size:12px;font-weight:650;overflow-wrap:anywhere}
.neon-collar-label{position:absolute;transform:translate(-50%,-50%);color:#f5eaff;font-size:12px;font-weight:650;white-space:nowrap;text-shadow:0 1px 2px #000}
.neon-view-status{position:absolute;left:70px;right:5px;bottom:1px;font-size:9px;line-height:1.2;color:#c6b4d7;text-align:center;min-height:12px}.lyrics-neon[data-neon-renderer=three] .neon-view-status{opacity:0}.neon-retry{position:absolute;right:4px;top:4px;z-index:2;min-width:44px;min-height:44px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-time-edge{display:grid;grid-template-rows:44px 10px 44px minmax(64px,1fr) 44px;gap:2px;align-items:stretch;padding:0;min-height:236px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-time-edge button{width:44px;min-width:44px;height:44px;min-height:44px;padding:4px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-time-edge>span:not(.neon-playback-caption){display:none}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialTimeScroll{width:44px;height:100%!important;min-height:64px;margin:0;writing-mode:vertical-lr;direction:ltr;border:1px solid #634778;border-radius:13px;background:repeating-linear-gradient(0deg,#7e6e8a 0 1px,#0b1020 1px 4px);box-shadow:inset 5px 0 8px #000,inset -5px 0 8px #000}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialPlay{min-width:44px;width:44px;min-height:44px;height:44px;border-radius:50%;background:radial-gradient(circle at 30% 20%,#d778ff,#8226e5 65%,#391264);box-shadow:inset 1px 1px 2px #efceff,0 0 9px #ad33e855;padding:8px}
.neon-playback-caption{font-size:9px;text-align:center;line-height:10px;color:#c9b8da;white-space:nowrap}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-local-transport[hidden]{display:none!important}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon>.dial-hint{display:none}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-section-strip{margin:4px 0;padding:4px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-section-strip-head,body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-section-strip>small{display:none}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialSectionTrack button{min-height:44px;padding:4px;font-size:12px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialSectionTrack button span{font-size:10px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-lyric-reading{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;padding:6px;margin:5px 0;border:1px solid #513365;border-radius:16px;background:linear-gradient(135deg,#151325,#090d1b)}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialReading>.dial-tools{grid-column:1/-1;min-height:36px;margin:0;padding-right:44px;gap:4px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialPromptTitle{font-size:22px;line-height:1.2}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-linked-badge{font-size:10px;padding:3px 5px;overflow-wrap:anywhere}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-prompt-choice{grid-column:1/-1;margin:0}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .neon-native-barrel{grid-column:1/-1;position:relative;padding-right:44px;height:146px!important;min-height:146px;box-sizing:border-box;overflow:visible}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .neon-native-barrel:after{content:none}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading{position:relative;width:100%;height:146px!important;min-height:146px;padding:5px 16px!important;overflow:hidden!important;scroll-padding:0;mask-image:none;border:1px solid #b85af5;border-radius:30px;background:repeating-linear-gradient(0deg,transparent 0 28px,#a873c51a 28px 29px),linear-gradient(#090d1b,#1b102d 50%,#090d1b);box-shadow:inset 0 1px 4px #000,0 0 4px #a238cb55;user-select:text}
.neon-native-reading:before,.neon-native-reading:after{content:'';position:absolute;top:-1px;bottom:-1px;width:22px;z-index:4;pointer-events:none;border:1px solid #cd82f7;border-radius:50%;background:linear-gradient(90deg,#030a18,#7e36ab88 40%,#d397f077 48%,#130c2b 73%,#030a18);box-shadow:inset 2px 0 3px #eed2ff55,0 0 5px #a442da55}.neon-native-reading:before{left:-4px}.neon-native-reading:after{right:-4px;transform:scaleX(-1)}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading #dialLyricLines{display:none!important}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading :is(#notebookText,#neonReadingText){position:relative;display:block;width:100%;height:134px!important;min-height:134px!important;margin:0;padding:3px 5px!important;border:0;border-radius:0;resize:none;overflow:auto;background:transparent;box-shadow:none;font:600 17px/29px system-ui;text-align:center;white-space:pre-wrap;overflow-wrap:break-word;transform:none!important;color:transparent;caret-color:#fff;z-index:3;scrollbar-width:thin;scrollbar-color:#b259ee #171127}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading :is(#notebookText,#neonReadingText)[hidden]{display:none!important}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading.is-editing :is(#notebookText,#neonReadingText){color:#fff}
.lyric-mirror{position:absolute;overflow:hidden;pointer-events:none;z-index:2}.lyric-mirror-base,.lyric-mirror-bright{position:absolute;left:0;top:0;white-space:pre-wrap;overflow-wrap:break-word;box-sizing:border-box;text-align:center}.lyric-mirror-base{color:#b7a0cd;opacity:.65}.lyric-mirror-bright{color:#fff}.lyric-bright-viewport{position:absolute;left:0;top:0;overflow:hidden}.neon-native-reading.is-editing .lyric-mirror{visibility:hidden}.reading-band{position:absolute;left:8px;right:8px;pointer-events:none;background:linear-gradient(#32164c88,#7130a177,#35124f88);border-top:1px solid #d886ff88;border-bottom:1px solid #b75bdd77;box-shadow:inset 0 1px 2px #e6afff33,0 0 8px #a235d555;z-index:1}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialReading>.dial-hint{display:none}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialFollow{grid-column:1;min-height:44px;margin:0;padding:5px 8px;font-size:12px;max-width:160px;align-self:start}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-writing-actions{grid-column:2;min-height:44px!important;display:flex;gap:4px;align-items:start;margin:0}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-writing-actions button{min-height:44px;margin:0;padding:5px 8px;font-size:12px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .is-editing #dialFollow{display:none}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .is-editing .dial-writing-actions{grid-column:1/-1;justify-content:flex-end}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #lyricSaveStatus{grid-column:1/-1;min-height:32px;font-size:10px;line-height:1.35;margin:0}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-lyric-options{position:absolute;right:0;top:0;z-index:6;margin:0;min-width:44px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-lyric-options>summary{width:44px;height:44px;min-height:44px;display:grid;place-content:center;list-style:none;font-size:20px;padding:0;border-radius:10px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-lyric-options[open]{width:min(300px,calc(100vw - 36px));padding:6px;background:#121020;border:1px solid #765096;border-radius:12px;box-shadow:0 8px 24px #0008}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-lyric-options[open]>summary{margin-left:auto}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-lyric-arrows{width:44px}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-lyric-arrows button{width:44px;min-width:44px;min-height:44px;height:44px}
@media(prefers-reduced-motion:reduce){.lyrics-neon *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Text is readable while asynchronous renderer/decoration modules load. */
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading:not([data-neon-decorated]) textarea{color:#fff}
/* Explicit IDs outrank the legacy flex layout and conflicting 180/240px rules. */
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:4px;padding:6px;margin:5px 0}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading>.dial-tools{grid-column:1/-1;width:100%;margin:0;min-height:36px;padding-right:44px;box-sizing:border-box}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading .dial-linked-badge{flex:0 1 auto;max-width:100%;width:auto;min-height:0;line-height:1.3;font-size:10px;padding:3px 5px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading .neon-native-barrel{grid-column:1/-1;width:100%;height:146px!important;min-height:146px;padding:0 44px 0 0}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading .dial-writing-actions{grid-column:2;position:static;display:flex;flex:0 0 auto;min-height:44px!important;height:44px;margin:0!important;gap:4px;align-items:start}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading .dial-writing-actions button{flex:0 0 auto;min-width:44px;min-height:44px!important;height:44px;padding:5px 8px;font-size:12px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading.is-editing .dial-writing-actions{grid-column:1/-1}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading #dialFollow{grid-column:1;flex:none;position:static;min-height:44px;margin:0!important;padding:5px 8px;font-size:12px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading #lyricSaveStatus{grid-column:1/-1;position:static;width:100%;min-height:32px;font-size:10px;line-height:1.35;margin:0}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon .dial-time-edge{position:static!important;inset:auto!important;width:44px;height:236px!important;min-height:236px;align-self:start}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialLoop{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:center;min-height:44px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialLoop svg{width:18px;height:18px;flex:none}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon .dial-lyric-options summary:after,body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon .dial-lyric-options summary:before{content:none!important}
/* Compact the surrounding chrome, preserving the accepted cylinder and 44/64px targets. */
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon{padding-bottom:0}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon .dial-heading{min-height:32px;margin:0 0 2px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon .dial-time-controls{margin:0;min-height:44px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon .dial-section-strip{padding:2px;margin:2px 0}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialSectionTrack{padding-block:0;min-height:44px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialStripPlayhead{top:0;bottom:0;height:auto}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading{padding:4px;margin:2px 0;gap:3px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading>.dial-tools{min-height:32px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading .neon-native-barrel{height:134px!important;min-height:134px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading #dialLyricDrum.neon-native-reading{height:134px!important;min-height:134px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading #dialLyricDrum.neon-native-reading :is(#notebookText,#neonReadingText){height:122px!important;min-height:122px!important}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading #lyricSaveStatus{min-height:26px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialPlay{position:static!important;inset:auto!important;transform:none!important;margin:0!important;align-self:stretch}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon .dial-time-edge>.neon-playback-caption{display:block!important;position:static!important;transform:none!important;line-height:10px;min-height:10px;font-size:9px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon .dial-stage{width:100%;max-width:366px;margin-inline:auto}

/* Recording retains the same explicit stop/cancel owner as the main control. */
body.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) .song-dial.lyrics-neon #dialStop{display:inline-flex;min-width:44px;min-height:44px}
/* Keep enlarged labels readable without pushing the primary recording row under navigation. */
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon .dial-time-controls{grid-template-columns:60px minmax(0,1fr) 112px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialLoop{padding:4px;gap:2px}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialLoop span{white-space:nowrap}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading #dialFollow{line-height:1.1;padding-block:4px}

/* Astra material pass: fixed barrel geometry, native text and real action labels.
   No transforms on editable text, animation, layout measurement or input interception. */
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading{
 border-color:#9b42e7;
 background:
  linear-gradient(90deg,#020512cc,transparent 13% 87%,#020512cc),
  repeating-linear-gradient(0deg,transparent 0 27px,#080511 27px 28px,#b75aff38 28px 29px),
  linear-gradient(0deg,#050916 0%,#110b25 12%,#35204c 19%,#100d22 28%,#080c1c 52%,#211334 74%,#080c1a 90%,#030713);
 box-shadow:inset 0 1px 0 #dd9cff99,inset 0 -2px 3px #000c,inset 0 9px 12px #0008,inset 0 -9px 12px #0009,0 0 2px #d06bff,0 0 10px #a32aff38;
}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .neon-native-reading:before,
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .neon-native-reading:after{
 border-color:#e6b4ff;
 background:linear-gradient(90deg,#020512 0%,#1c0837 17%,#ae36ff 29%,#f1caff 34%,#7a1ac1 41%,#100922 50%,#030715 65%,#633283 76%,#bd74e2 80%,#160d2b 86%,#030713 100%);
 box-shadow:inset 1px 0 1px #fff9,inset -2px 0 3px #04040e,0 0 2px #e3a2ff,0 0 7px #b339ff88;
}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .reading-band{
 background:linear-gradient(0deg,#30104eaa,#44197466 30%,#32145455 70%,#7d2ab06b);
 border-top-color:#df9cff;border-bottom-color:#ba57ef;
 box-shadow:inset 0 1px 2px #f2bcff44,0 -1px 5px #bd41ff88,0 1px 5px #a124ee66;
}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .lyric-mirror-base{color:#c8a8e5;opacity:1}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .lyric-mirror-bright{color:#fff;text-shadow:0 1px 1px #080610}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading.is-editing textarea{
 color:#fff;text-shadow:none;background:#080b19a6;
}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum:focus-within{
 outline:2px solid #e7caff;outline-offset:2px;
}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .neon-ring-label{
 border-color:var(--neon-ring);border-radius:6px;
 background:linear-gradient(155deg,#ffffff16,transparent 40%),linear-gradient(100deg,#0b0b1eee,#070a17f5);
 box-shadow:inset 0 1px 0 #ffffff40,inset 0 -2px 3px #0009,0 0 2px var(--neon-ring),0 0 9px color-mix(in srgb,var(--neon-ring) 38%,transparent);
}
/* A circular illuminated face plus the existing live label. The entire 112px-wide
   button stays interactive; longer cancel/status labels may grow rather than clip. */
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions{
 display:flex;align-items:start;justify-content:center;gap:18px;height:auto;min-height:64px;margin:0;
}
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions :is(#recordPartButton,#playRecordedTake){
 position:relative;inset:auto;display:grid;grid-template-rows:60px 2.4em;justify-items:center;align-items:center;align-content:start;gap:0;
 flex:0 1 112px;width:112px!important;max-width:calc(50% - 9px);min-width:0;height:auto!important;min-height:64px!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;
 background:transparent!important;box-shadow:none!important;color:#f7f1ff!important;
 font-size:1rem!important;line-height:1.2;white-space:normal;overflow-wrap:break-word;overflow:visible;text-align:center;
}
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions :is(#recordPartButton,#playRecordedTake):before{
 content:'';display:block;position:absolute;top:0;left:calc(50% - 30px);width:60px;height:60px;box-sizing:border-box;border-radius:50%;pointer-events:none;
 border:1px solid #e0a1ff;background:radial-gradient(circle at 35% 18%,#c151ff,#8a21ef 58%,#4e0bba);
 box-shadow:inset 0 1px 2px #fff7,inset 0 -3px 5px #35057c88,0 0 2px #d09aff,0 0 12px #9a2eff66;
}
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions #recordPartButton:before{
 border-color:#ff93ad;background:radial-gradient(circle at 35% 18%,#ff6a83,#f02c51 58%,#af1536);
 box-shadow:inset 0 1px 2px #fff7,inset 0 -3px 5px #790c3088,0 0 0 2px #a8234e,0 0 12px #ed31535c;
}
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions svg{
 position:relative;grid-row:1;width:26px;height:26px;z-index:1;pointer-events:none;
}
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions span{grid-row:2;max-width:100%}
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions button:focus-visible{
 outline:3px solid #ead1ff;outline-offset:3px;
}
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions button:disabled:before{box-shadow:inset 0 1px 2px #ffffff33}
@media(forced-colors:active){
 body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading textarea{color:CanvasText!important}
 body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .lyric-mirror{visibility:hidden}
 body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions button:before{border:2px solid ButtonText;background:ButtonFace}
}

/* Astra scoped follow-up: projected plaques and bounded mobile rail. The reading
   surface and hit geometry are untouched; native text remains untransformed. */
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .neon-ring-label{
 transform:perspective(240px) rotateY(-16deg) rotateZ(7deg);transform-origin:100% 50%;
 background:linear-gradient(160deg,#ffffff29,transparent 37%),linear-gradient(100deg,#111126f5,#050814fa);
 text-shadow:0 1px 1px #000;
}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-time-edge{
 min-width:0;max-width:44px;
}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon .dial-time-edge>.neon-playback-caption{
 min-width:0;max-width:44px;white-space:normal;overflow-wrap:normal;font-size:9px;line-height:10px;
}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .dial-time-edge{
 grid-template-rows:44px 20px 44px minmax(56px,1fr) 44px;
}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading{
 background:
  linear-gradient(90deg,#020512e6,transparent 16% 84%,#020512e6),
  repeating-linear-gradient(0deg,transparent 0 27px,#05040c 27px 28px,#c274ff50 28px 29px),
  linear-gradient(0deg,#030510 0%,#110b25 10%,#3d2455 18%,#100d22 27%,#080c1c 52%,#25143c 76%,#070b18 91%,#020510);
}
@media(forced-colors:active){
 body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .neon-ring-label{transform:none;border:1px solid CanvasText;text-shadow:none}
}
/* One contextual recording setup; primary actions stay next to the reading barrel. */
body.reference-studio[data-studio-screen=lyrics] .recording-setup{
 margin:8px 0 0;border:1px solid #7060875e;border-radius:12px;background:#0c0b15;
}
body.reference-studio[data-studio-screen=lyrics] .recording-setup>summary{
 display:grid;grid-template-columns:minmax(0,1fr);align-content:center;min-height:56px;
 padding:8px 12px;cursor:pointer;color:#eee5ff;overflow-wrap:anywhere;
}
body.reference-studio[data-studio-screen=lyrics] .recording-setup>summary strong{font-size:1rem}
body.reference-studio[data-studio-screen=lyrics] .recording-setup>summary span{
 font-size:.8rem;line-height:1.3;color:#c0adc9;min-width:0;
}
body.reference-studio[data-studio-screen=lyrics] .recording-setup[open]>summary{border-bottom:1px solid #7060875e}
body.reference-studio[data-studio-screen=lyrics] .recording-setup-body{padding:10px;display:grid;gap:10px;min-width:0}
body.reference-studio[data-studio-screen=lyrics] .recording-setup-body .take-input-choices>.studio-card{
 border:0;box-shadow:none;background:transparent;padding:0;
}
body.reference-studio[data-studio-screen=lyrics] .recording-setup-body :is(select,input,button){max-width:100%}
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions{
 font-size:1rem;min-height:0;margin:4px 0 0;
}
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>.take-primary-actions :is(#recordPartButton,#playRecordedTake){
 line-height:1.2;min-height:calc(60px + 2.4em)!important;
}
body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>#recordAudioHelp{min-height:1.2em;margin:0;font-size:.8rem}
body.reference-studio[data-studio-screen=lyrics] .recording-options{min-width:0;margin:0;padding:0;border:0}
body.reference-studio[data-studio-screen=lyrics] .take-capture-stage :is(#studioPreparation,#studioRecording){min-height:0}

/* Stable reading rows across idle, editing and active capture. The selected lyric
   control lives in existing options/setup, never inserts a row above the barrel. */
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading{grid-template-rows:minmax(32px,auto) 134px minmax(60px,auto) minmax(40px,auto)}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading>.dial-tools{grid-row:1}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading .neon-native-barrel{grid-row:2}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading :is(#dialFollow,.dial-writing-actions){grid-row:3}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading #lyricSaveStatus{grid-row:4}
/* Elliptical end caps and curved glossy falloff, without transforming native text. */
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon #dialLyricDrum.neon-native-reading{
 padding-inline:25px!important;border-radius:36px / 66px;
 background:radial-gradient(ellipse 100% 42% at 50% 0%,#a475d847,transparent 80%),radial-gradient(ellipse 100% 35% at 50% 100%,#7936b23d,transparent 80%),linear-gradient(0deg,#020611 0%,#131026 18%,#151023 50%,#101022 80%,#020611);
 box-shadow:inset 0 2px 1px #d492ffa1,inset 0 -2px 1px #ac60e6a1,inset 0 13px 14px #000b,inset 0 -13px 14px #000b,0 0 2px #d06bff,0 0 12px #a32aff38;
}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .neon-native-reading:before,
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .neon-native-reading:after{width:32px;top:-2px;bottom:-2px;border-radius:50%;border-color:#b974f6;background:linear-gradient(90deg,#030613 0%,#220e3b 18%,#bc53ff 26%,#f3d2ff 31%,#662095 38%,#08091b 47%,#140b26 67%,#9956ba 78%,#2e154b 85%,#050917 100%)}
body.reference-studio[data-studio-screen=lyrics] .lyrics-neon .reading-band{left:22px;right:22px;border-radius:9px / 50%;background:linear-gradient(0deg,#231039b3,#52228177 50%,#291340a6)}
/* Capture status is already presented below the primary controls. Keep the
   duplicate global activity banner from displacing this recording environment. */
body.reference-studio[data-studio-screen=lyrics]:has(.studio-capture:not([data-phase=idle])) #voiceActivity{display:none!important}

body.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded>#takeStageTitle.sr-only{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* The controller's accessible Stop name changes with capture. Keep its compact
   square glyph constant rather than wrapping that name into the clock row. */
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialStop{font-size:0!important;height:44px;min-height:44px;display:grid;place-content:center}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialStop svg{display:none}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialStop:after{content:'';display:block;width:14px;height:14px;border-radius:2px;background:currentColor}

/* Long manual-reading titles keep their accessible full text without adding a
   line when capture follows a section again. */
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading>.dial-tools h3{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.reference-studio[data-studio-screen=lyrics] .song-dial.lyrics-neon #dialReading .dial-linked-badge{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Focus restoration already uses preventScroll. Do not let the browser choose a
   different descendant as its scroll anchor during capture DOM replacement. */
body.reference-studio[data-studio-screen=lyrics]{overflow-anchor:none}
