.parser-animation-overlay { position:fixed; inset:0; z-index:20000; overflow:hidden; background:#131314; color:#e9e7f3; font:13px/1.5 Inter,sans-serif; }
.parser-animation-header { position:absolute; top:18px; left:22px; right:22px; z-index:3; display:flex; align-items:center; justify-content:space-between; pointer-events:none; }
.parser-animation-brand { display:flex; align-items:center; gap:9px; color:#aaa7be; font-size:12px; letter-spacing:.03em; }
.parser-animation-brand strong { font-weight:400; }
.parser-animation-brand svg { width:19px; height:19px; color:#bbb1ff; }
.parser-animation-overlay :where(.parser-animation-header, .parser-animation-dock, .parser-animation-settings, .parser-animation-completion-mark) svg { display:block; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.parser-animation-overlay button { display:inline-flex; align-items:center; justify-content:center; gap:7px; border:1px solid transparent; border-radius:7px; background:transparent; color:#d7d2ec; padding:6px 12px; cursor:pointer; font:inherit; white-space:nowrap; }
.parser-animation-header button { pointer-events:auto; background:#25242dcc; border-color:#46424f; }
.parser-animation-header-actions { display:flex; gap:8px; }
.parser-animation-settings { position:absolute; top:65px; right:16px; z-index:6; box-sizing:border-box; width:min(330px,calc(100% - 32px)); padding:20px; border:1px solid #ffffff18; border-radius:16px; background:linear-gradient(145deg,#29282efc,#1d1e23fc); box-shadow:0 20px 55px #0007,inset 0 1px #ffffff08; backdrop-filter:blur(18px); }
.parser-animation-settings > strong { display:block; margin-bottom:16px; color:#f0edf3; font-size:14px; font-weight:600; }
.parser-animation-panel-heading svg { display:inline-block; width:18px; height:18px; margin-inline-end:9px; vertical-align:-4px; color:#dedee8; }
.parser-animation-settings label { display:flex; align-items:center; gap:10px; }
.parser-animation-settings .parser-animation-switch { flex-shrink:0; }
.parser-animation-settings p { margin:12px 0 0; font-size:12px; line-height:1.65; color:#a6a3af; }
.parser-animation-settings > p + .parser-animation-narration { margin-top:18px; }
.parser-animation-settings > .parser-animation-narration { min-height:46px; padding:10px 12px; gap:12px; border:1px solid #ffffff08; border-radius:10px; background:#ffffff03; color:#bbb8c5; font-size:12px; cursor:pointer; transition:background .16s,border-color .16s,color .16s; }
.parser-animation-settings > .parser-animation-narration:hover { background:#ffffff08; border-color:#ffffff16; color:#eeebf2; }
.parser-animation-settings > .parser-animation-narration:has(input:checked) { background:#dedee809; border-color:#dedee830; color:#eeeef5; }
.parser-animation-settings > .parser-animation-narration > span:last-child { order:0; flex:1; min-width:0; }
.parser-animation-settings > .parser-animation-narration .parser-animation-switch { order:1; width:30px; height:18px; background:#46454f; }
.parser-animation-settings .parser-animation-switch::after { width:12px; height:12px; background:#b6b3c0; }
.parser-animation-settings .parser-animation-narration input:checked + .parser-animation-switch { background:#dedee8; }
.parser-animation-settings .parser-animation-narration input:checked + .parser-animation-switch::after { transform:translateX(12px); background:#24242b; }
.parser-animation-settings .parser-animation-narration input:focus-visible + .parser-animation-switch { outline-color:#dedee8; }
@media(prefers-reduced-motion:reduce) { .parser-animation-settings > .parser-animation-narration { transition:none; } }
.parser-animation-narration-fields { margin:0; padding:0; border:0; }
.parser-animation-fields-panel .parser-animation-narration-fields legend { margin-bottom:10px; font-size:13px; color:#eee8ff; }
.parser-animation-fields-panel { right:64px; width:min(310px,calc(100% - 32px)); }
.parser-animation-narration-fields legend { padding:0 8px 0 0; color:#cbbde2; font-size:11px; font-weight:500; letter-spacing:.025em; }
.parser-animation-narration-fields label { margin-top:5px; padding:8px 10px; border-radius:7px; color:#bfb6cf; font-size:12px; line-height:1.5; cursor:pointer; transition:background .15s,color .15s; }
.parser-animation-narration-fields label:hover { background:#ffffff05; color:#eae0f9; }
.parser-animation-narration-fields label:has(input:checked) { color:#ded0fa; background:#a78bfa0b; }
.parser-animation-narration-fields input { accent-color:#a78bfa; width:15px; height:15px; margin:0; }
.parser-animation-narration-fields p { margin:0 0 12px; font-size:11px; line-height:1.65; color:#958ba6; }
.parser-animation-fields-panel { box-sizing:border-box; right:16px; padding:20px; border-color:#ffffff18; border-radius:16px; background:linear-gradient(145deg,#29282efc,#1d1e23fc); box-shadow:0 20px 55px #0007,inset 0 1px #ffffff08; }
.parser-animation-fields-panel .parser-animation-narration-fields { min-width:0; }
.parser-animation-fields-panel .parser-animation-narration-fields legend { padding:0; margin-bottom:6px; color:#f0edf3; font-size:14px; font-weight:600; letter-spacing:0; }
.parser-animation-fields-panel .parser-animation-narration-fields p { margin:0 0 16px; color:#a6a3af; font-size:12px; line-height:1.65; }
.parser-animation-fields-panel .parser-animation-narration-fields label { position:relative; gap:12px; min-height:46px; margin-top:6px; padding:10px 12px; border:1px solid #ffffff08; border-radius:10px; background:#ffffff03; color:#bbb8c5; transition:background .16s,border-color .16s,color .16s; }
.parser-animation-fields-panel .parser-animation-narration-fields label > span:first-of-type { flex:1; min-width:0; }
.parser-animation-fields-panel .parser-animation-narration-fields label:hover { background:#ffffff08; border-color:#ffffff16; color:#eeebf2; }
.parser-animation-fields-panel .parser-animation-narration-fields label:has(input:checked) { background:#dedee809; border-color:#dedee830; color:#eeeef5; }
.parser-animation-fields-panel .parser-animation-narration-fields input { position:absolute; width:1px; height:1px; opacity:0; }
.parser-animation-fields-panel label:has(input:focus-visible) { outline:2px solid #dedee8; outline-offset:3px; }
.parser-animation-field-toggle { flex:0 0 30px; width:30px; height:18px; padding:3px; border-radius:999px; background:#46454f; transition:background .16s; }
.parser-animation-field-toggle::after { content:''; display:block; width:12px; height:12px; border-radius:50%; background:#b6b3c0; transition:transform .16s,background .16s; }
input:checked ~ .parser-animation-field-toggle { background:#dedee8; }
input:checked ~ .parser-animation-field-toggle::after { transform:translateX(12px); background:#24242b; }
@media(prefers-reduced-motion:reduce) { .parser-animation-field-toggle, .parser-animation-field-toggle::after, .parser-animation-fields-panel .parser-animation-narration-fields label { transition:none; } }
.parser-animation-overlay .parser-animation-caption:has(.parser-animation-narration-card) { max-height:none; overflow:visible; pointer-events:auto; text-shadow:none; }
.parser-animation-narration-card { box-sizing:border-box; width:fit-content; min-width:min(240px,100%); max-width:min(620px,100%); max-height:calc(100dvh - var(--animation-dock-height,110px) - 110px); overflow-y:auto; margin:0 auto; padding:18px 20px 20px; border:1px solid #ffffff18; border-radius:16px; background:linear-gradient(145deg,#29282efc,#1d1e23fc); box-shadow:0 20px 55px #0007,inset 0 1px #ffffff08; backdrop-filter:blur(18px); text-align:start; scrollbar-width:thin; scrollbar-color:#686875 transparent; }
.parser-animation-narration-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 18px; margin-bottom:12px; padding-bottom:12px; border-bottom:1px solid #ffffff0d; color:#aaa6b2; font-size:11px; overflow-wrap:anywhere; }
.parser-animation-narration-label { padding:4px 8px; border:1px solid #dedee830; border-radius:8px; background:#dedee809; color:#eeeef5; font-size:10px; flex-shrink:0; }
.parser-animation-narration-text { font-size:15px; font-weight:400; line-height:1.75; letter-spacing:.01em; color:#f0edf3; overflow-wrap:anywhere; user-select:text; }
.parser-animation-narration-card,
.parser-animation-narration-card *,
.parser-animation-step-tooltip,
.parser-animation-step-tooltip * { font-weight:400; }
.parser-animation-narration-content.is-changing { animation:narrationContentChange .16s ease-out; }
.parser-animation-narration-card.parser-animation-completion { display:flex; align-items:center; gap:14px; min-width:240px; padding:18px 22px; }
.parser-animation-completion-mark { display:grid; place-items:center; flex:0 0 40px; width:40px; height:40px; border:1px solid #dedee830; border-radius:13px; background:#dedee809; color:#dedee8; box-shadow:inset 0 1px #ffffff08; }
.parser-animation-completion-mark svg { width:22px; height:22px; stroke-width:1.8; }
.parser-animation-completion-copy { min-width:0; }
.parser-animation-completion-title { color:#f0edf3; font-size:16px; line-height:1.5; }
.parser-animation-completion-detail { margin-top:3px; color:#aaa6b2; font-size:12px; line-height:1.5; }
.parser-animation-overlay.is-complete .parser-animation-status { color:#dedee8; }
.parser-animation-overlay.is-complete .parser-animation-status::before { box-shadow:0 0 0 3px #dedee80d; }
@keyframes narrationContentChange { from { opacity:.65; transform:translateY(3px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) { .parser-animation-narration-content.is-changing { animation:none; } }
.parser-animation-settings { max-height:calc(100% - 90px); overflow-y:auto; }
.parser-animation-translation-control { margin-top:16px; padding-top:14px; border-top:1px solid #ffffff12; }
.parser-animation-translation-control > span { display:block; margin-bottom:7px; color:#c7bdd7; font-size:12px; }
.parser-animation-translation-control summary { display:flex; justify-content:space-between; align-items:center; padding:8px 11px; background:#1e1927; border:1px solid #5c4c72; border-radius:7px; cursor:pointer; list-style:none; }
.parser-animation-translation-control summary::-webkit-details-marker { display:none; }
.parser-animation-translation-control summary::after { content:'⌄'; color:#bfa6ee; }
.parser-animation-translation-control summary:focus-visible { outline:2px solid #b6b7ff; outline-offset:2px; }
.parser-animation-translation-control [role="group"] { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:6px 0; }
.parser-animation-translation-control button[aria-pressed="true"] { background:#7356e9; color:#fff; }
.parser-animation-overlay button:hover { background:#37343f; color:#fff; }
.parser-animation-overlay button:disabled { opacity:.35; cursor:default; }
.parser-animation-overlay button:focus-visible,.parser-animation-overlay input:focus-visible { outline:2px solid #b6b7ff; outline-offset:3px; }
.parser-animation-overlay .parser-animation-icon { width:36px; height:36px; padding:9px; flex-shrink:0; border-color:#46424f; background:#33303a; }
.parser-animation-icon svg { width:18px; height:18px; }
.parser-animation-overlay .parser-animation-play { min-width:88px; height:36px; border-radius:20px; background:#7356e9; color:white; font-weight:600; }
.parser-animation-play svg { width:14px; height:14px; fill:currentColor; }
.parser-animation-play [data-play-icon] { display:flex; }
.parser-animation-overlay.is-playing .parser-animation-play svg { stroke-width:4px; }
.parser-animation-viewport { position:absolute; inset:0; overflow:hidden; background:radial-gradient(circle,#2c293a 1px,transparent 1px) 0 0/24px 24px; }
.parser-animation-camera { position:absolute; top:0; left:0; width:max-content; transform-origin:0 0; transition:transform 450ms cubic-bezier(.22,1,.36,1); pointer-events:none; }
.parser-animation-camera * { animation:none!important; }
.parser-animation-viewport { touch-action:none; cursor:grab; user-select:none; }
.parser-animation-viewport.is-panning { cursor:grabbing; }
.parser-animation-highlight {
    --highlight-glow: 222, 222, 232;
    position:absolute;
    box-sizing:border-box;
    border:0;
    border-radius:14px;
    background:radial-gradient(ellipse at center, rgba(var(--highlight-glow),.075), rgba(var(--highlight-glow),.025) 65%, transparent);
    box-shadow:0 0 35px 10px rgba(var(--highlight-glow),.12);
    pointer-events:none;
    transition:left 450ms cubic-bezier(.22,1,.36,1), top 450ms cubic-bezier(.22,1,.36,1), width 450ms cubic-bezier(.22,1,.36,1), height 450ms cubic-bezier(.22,1,.36,1);
}
.parser-animation-highlight::before {
    content:'';
    position:absolute;
    inset:-7px;
    border-radius:inherit;
    background:radial-gradient(ellipse at center, rgba(var(--highlight-glow),.08), transparent 75%);
    filter:blur(8px);
    opacity:.55;
    animation:animationSpotlightBreathe 3.8s ease-in-out infinite;
}
.parser-animation-highlight::after {
    content:none;
}
.parser-animation-preview {
    --highlight-glow:222,222,232;
    background:radial-gradient(ellipse at center, rgba(var(--highlight-glow),.065), transparent 80%);
    box-shadow:0 0 30px 8px rgba(var(--highlight-glow),.1);
    transition:none;
}
.parser-animation-preview::before { animation:none; opacity:.65; }
@keyframes animationSpotlightBreathe { 0%,100% { opacity:.45; } 50% { opacity:.8; } }
@media(prefers-reduced-motion:reduce) {
    .parser-animation-highlight { transition:none !important; }
    .parser-animation-highlight::before { animation:none; opacity:.6; }
}
.parser-animation-overlay .parser-animation-caption { position:absolute; bottom:calc(var(--animation-dock-height,110px) + 42px); left:10%; right:10%; max-height:64px; overflow:auto; text-align:center; font-size:16px; color:#ded9ee; pointer-events:none; text-shadow:0 2px 10px #131314; }
.parser-animation-dock { position:absolute; z-index:3; bottom:24px; left:50%; transform:translateX(-50%); width:min(920px,calc(100% - 40px)); border:1px solid #ffffff18; border-radius:16px; background:linear-gradient(145deg,#29282ef5,#1d1e23fa); box-shadow:0 16px 40px #0005,inset 0 1px #ffffff08; backdrop-filter:blur(18px); }
.parser-animation-status-row { display:grid; grid-template-columns:minmax(110px,1fr) minmax(100px,2fr) minmax(60px,1fr); align-items:center; gap:20px; padding:8px 16px; border-bottom:1px solid #ffffff08; font-size:11px; }
.parser-animation-status { display:flex; align-items:center; gap:8px; font-weight:600; color:#ddd5ff; }
.parser-animation-status:empty::before { display:none; }
.parser-animation-status::before { content:''; width:7px; height:7px; flex-shrink:0; border-radius:50%; background:#c6b8ff; }
.parser-animation-count { text-align:right; color:#bbb3d1; font:600 11px/1.5 monospace; }
.parser-animation-timeline { display:flex; gap:4px; overflow-x:auto; padding:4px 2px; scrollbar-width:thin; scrollbar-color:#65587e transparent; }
.parser-animation-overlay .parser-animation-step { position:relative; flex:1 0 8px; min-width:8px; height:18px; border:0; padding:0; border-radius:4px; background:transparent; }
.parser-animation-step::before { content:''; width:100%; height:5px; background:#534b60; border-radius:4px; }
.parser-animation-step.is-filled::before { background:#c5b4ff; }
.parser-animation-step:hover::before,.parser-animation-step:focus-visible::before { height:8px; background:#e0d5ff; }
.parser-animation-step[aria-current="true"]::before { box-shadow:0 0 8px #bfa6ff55; }
.parser-animation-step-tooltip { position:fixed; z-index:5; min-width:170px; max-width:min(340px,calc(100vw - 24px)); box-sizing:border-box; padding:16px 18px 18px; border:1px solid #ffffff18; border-radius:16px; background:linear-gradient(145deg,#29282efc,#1d1e23fc); color:#f0edf3; overflow-wrap:anywhere; box-shadow:0 20px 55px #0007,inset 0 1px #ffffff08; backdrop-filter:blur(18px); pointer-events:none; animation:animationTooltipReveal .16s ease-out; }
.parser-animation-step-tooltip::after { content:''; position:absolute; left:var(--tooltip-arrow-x,50%); bottom:-6px; width:10px; height:10px; background:#1e1f24; border-right:1px solid #ffffff18; border-bottom:1px solid #ffffff18; transform:translateX(-50%) rotate(45deg); }
.parser-animation-tooltip-meta { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:12px; color:#a6a3af; font:400 10px/1.4 Inter,sans-serif; }
.parser-animation-tooltip-counter { display:block; margin-top:12px; text-align:right; color:#aaa6b2; font:400 10px/1.4 monospace; white-space:nowrap; }
.parser-animation-tooltip-badge { display:inline-flex; align-items:center; gap:7px; min-width:0; padding:5px 9px; border:1px solid #dedee830; border-radius:8px; background:#dedee809; color:#eeeef5; font-size:12px; line-height:1.5; }
.parser-animation-tooltip-badge::before { content:''; width:4px; height:4px; flex-shrink:0; border-radius:50%; background:#dedee8; box-shadow:0 0 7px #dedee833; }
.parser-animation-tooltip-text { font:400 17px/1.55 Inter,sans-serif; letter-spacing:.005em; white-space:pre-wrap; }
@keyframes animationTooltipReveal { from { opacity:0; margin-top:4px; } to { opacity:1; margin-top:0; } }
@media(prefers-reduced-motion:reduce) { .parser-animation-step-tooltip { animation:none; } }
.parser-animation-controls { display:flex; align-items:center; justify-content:center; gap:18px; padding:12px 15px; flex-wrap:wrap; }
.parser-animation-transport,.parser-animation-view-controls,.parser-animation-speech-controls { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; flex:0 1 auto; gap:8px; min-width:0; max-width:100%; box-sizing:border-box; }
.parser-animation-view-controls,.parser-animation-speech-controls { border-left:1px solid #544c605c; padding-left:18px; }
.parser-animation-modes { display:flex; align-items:center; padding:3px; border:1px solid #51495c; border-radius:7px; background:#1c1a22; }
.parser-animation-modes button { padding:4px 11px; font-size:12px; }
.parser-animation-modes button[aria-pressed="true"] { background:#7659e8; color:#fff; }
.parser-animation-speech-controls { gap:14px; }
.parser-animation-camera-controls { display:flex; align-items:center; min-width:0; }
.parser-animation-camera-controls label { display:flex; align-items:center; gap:8px; font-size:12px; }
.parser-animation-camera-controls .parser-animation-switch { flex-shrink:0; }
.parser-animation-camera-controls label > span:last-child { max-width:200px; line-height:1.45; }
.parser-animation-speech-controls label { display:flex; align-items:center; gap:8px; min-width:0; max-width:100%; font-size:12px; white-space:normal; }
.parser-animation-speech-controls .parser-animation-switch { flex-shrink:0; }
.parser-animation-controls > div { row-gap:10px; }
.parser-animation-controls .parser-animation-speed { flex-wrap:wrap; justify-content:center; }
.parser-animation-narration { position:relative; cursor:pointer; }
.parser-animation-narration input { position:absolute; left:0; width:36px; height:22px; margin:0; opacity:0; }
.parser-animation-switch { width:36px; height:20px; border-radius:20px; background:#534b60; transition:background .15s; }
.parser-animation-switch::after { content:''; display:block; margin:3px; width:14px; height:14px; border-radius:50%; background:#efebff; transition:transform .15s; }
.parser-animation-narration input:checked + .parser-animation-switch { background:#7659e8; }
.parser-animation-narration input:checked + .parser-animation-switch::after { transform:translateX(16px); }
.parser-animation-narration input:focus-visible + .parser-animation-switch { outline:2px solid #b6b7ff; outline-offset:3px; }
.parser-animation-speed input { width:80px; accent-color:#c5b4ff; }
.parser-animation-speed output { min-width:32px; color:#c9bff0; font:600 11px/1.5 monospace; }
.parser-animation-dock .parser-animation-controls button { height:36px; box-sizing:border-box; border:1px solid #ffffff1a; border-radius:10px; background:#202127; color:#dedee8; font-size:12px; font-weight:500; transition:background .16s,border-color .16s,color .16s; }
.parser-animation-dock .parser-animation-controls button:not(:disabled):hover,
.parser-animation-dock .parser-animation-controls button[aria-pressed="true"] { background:#29292f; border-color:#dedee866; color:#dedee8; }
.parser-animation-dock .parser-animation-controls button:not(:disabled):active { background:#191a1f; }
.parser-animation-dock button:focus-visible { outline:2px solid #dedee8; outline-offset:3px; }
.parser-animation-dock .parser-animation-controls button:disabled { opacity:.4; cursor:default; }
.parser-animation-dock .parser-animation-play { min-width:96px; }
.parser-animation-overlay.is-playing .parser-animation-dock .parser-animation-play { color:#dedee8; border-color:#dedee866; background:#29292f; }
.parser-animation-dock .parser-animation-modes { gap:3px; padding:3px; border-color:#ffffff0f; border-radius:12px; background:#17181c; }
.parser-animation-dock .parser-animation-modes button { height:30px; border-color:transparent; background:transparent; border-radius:8px; }
.parser-animation-dock .parser-animation-view-controls,
.parser-animation-dock .parser-animation-speech-controls { border-color:#ffffff12; }
.parser-animation-dock .parser-animation-switch { background:#46454f; }
.parser-animation-dock .parser-animation-narration input:checked + .parser-animation-switch { background:#dedee8; }
.parser-animation-dock .parser-animation-narration input:checked + .parser-animation-switch::after { background:#24242b; }
.parser-animation-dock .parser-animation-narration input:focus-visible + .parser-animation-switch { outline-color:#dedee8; }
.parser-animation-dock .parser-animation-speed input { accent-color:#dedee8; }
.parser-animation-dock .parser-animation-speed output { color:#c1c1ce; }
.parser-animation-dock .parser-animation-step::before { background:#4b4951; }
.parser-animation-dock .parser-animation-step.is-filled::before { background:#c8c8d5; }
.parser-animation-dock .parser-animation-step:hover::before,
.parser-animation-dock .parser-animation-step:focus-visible::before { background:#eeeef8; }
.parser-animation-dock .parser-animation-step[aria-current="true"]::before { box-shadow:0 0 8px #dedee855; }
.parser-animation-dock .parser-animation-status { color:#d6d6e2; }
.parser-animation-dock .parser-animation-status::before { background:#dedee8; }
.parser-animation-overlay.is-playing .parser-animation-status { color:#86d9ac; }
.parser-animation-overlay.is-playing .parser-animation-status::before { background:#86d9ac; box-shadow:0 0 0 3px #86d9ac12; }
.parser-animation-dock .parser-animation-count { color:#aaa6b2; }
@media(prefers-reduced-motion:reduce) { .parser-animation-dock .parser-animation-controls button { transition:none; } }
@media(max-width:850px) { .parser-animation-controls { gap:9px; } .parser-animation-view-controls,.parser-animation-speech-controls { padding-left:9px; } .parser-animation-caption { bottom:194px; } }
@media(max-width:550px) { .parser-animation-dock { bottom:12px; width:calc(100% - 20px); } .parser-animation-header { top:12px; left:14px; right:14px; } .parser-animation-status-row { grid-template-columns:1fr 1fr auto; gap:10px; } .parser-animation-controls { padding:10px; gap:12px; } .parser-animation-speech-controls { border-left:0; padding-left:0; flex-basis:100%; justify-content:center; } .parser-animation-caption { bottom:220px; } }
@media(max-width:550px) { .parser-animation-controls .parser-animation-view-controls { border-left:0; padding-left:0; } .parser-animation-controls .parser-animation-speech-controls { gap:12px 18px; } }
@media(prefers-reduced-motion:reduce) { .parser-animation-camera,.parser-animation-switch,.parser-animation-switch::after { transition:none; } }

.parser-animation-overlay.has-workspace-header .parser-animation-header { display:none; }
.parser-animation-overlay.has-workspace-header .parser-animation-settings { top:16px; }

/* Keep playback actions in one row; secondary controls live above the dock. */
.parser-animation-dock .parser-animation-controls { flex-wrap:nowrap; justify-content:safe center; gap:14px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#686875 transparent; }
.parser-animation-dock .parser-animation-controls > div { flex:0 0 auto; flex-wrap:nowrap; max-width:none; }
.parser-animation-dock .parser-animation-speech-controls { flex-basis:auto; gap:12px; border-left:1px solid #ffffff12; padding-left:14px; }
.parser-animation-dock .parser-animation-speech-controls label { flex-shrink:0; white-space:nowrap; }
.parser-animation-more-button svg { width:18px; height:18px; flex-shrink:0; }
.parser-animation-dock .parser-animation-more-button[aria-expanded="true"] { color:#eeeef5; border-color:#dedee866; background:#29292f; }
.parser-animation-overlay .parser-animation-more-panel,
.parser-animation-overlay.has-workspace-header .parser-animation-more-panel { top:auto; bottom:calc(var(--animation-dock-height,110px) + 36px); right:max(16px,calc((100% - 920px)/2 + 16px)); max-height:calc(100% - var(--animation-dock-height,110px) - 70px); }
.parser-animation-more-panel .parser-animation-speed { display:flex; align-items:center; gap:12px; margin-top:14px; padding:10px 12px; min-height:46px; border:1px solid #ffffff08; border-radius:10px; background:#ffffff03; color:#bbb8c5; font-size:12px; }
.parser-animation-more-panel > .parser-animation-narration + .parser-animation-narration { margin-top:10px; }
.parser-animation-more-panel .parser-animation-speed input { flex:1; min-width:40px; width:90px; accent-color:#dedee8; }
.parser-animation-more-panel .parser-animation-speed input:focus-visible { outline-color:#dedee8; }
.parser-animation-more-panel .parser-animation-speed output { color:#c1c1ce; }
@media(max-width:550px) { .parser-animation-dock .parser-animation-controls { gap:10px; } .parser-animation-overlay .parser-animation-more-panel { bottom:calc(var(--animation-dock-height,110px) + 24px); } }

.parser-animation-tooltip-phonetic { margin-top:7px; color:#aaa6b2; font:400 13px/1.65 "Segoe UI", "Noto Sans", sans-serif; letter-spacing:.02em; white-space:pre-wrap; overflow-wrap:anywhere; }
