/* v1.5.93: understated 8px optional per-line dots, no text labels. */
.line-marker-button{position:absolute;z-index:8;display:grid;place-items:center;width:19px;height:20px;padding:0;border:0;border-radius:6px;background:transparent;cursor:pointer;color:inherit;box-sizing:border-box}
.line-marker-button:hover,.line-marker-button:focus-visible{background:color-mix(in srgb,var(--accent) 11%,transparent);outline:none}
.line-marker-circle{display:block;width:8px;height:8px;min-width:8px;min-height:8px;border-radius:50%;box-sizing:border-box;background:transparent;border:1px solid var(--muted);opacity:.42;pointer-events:none}
.line-marker-button:hover .line-marker-circle,.line-marker-button:focus-visible .line-marker-circle{opacity:.9}
[data-marker="green"]>.line-marker-circle{background:#27b574;border-color:#27b574;opacity:1}
[data-marker="yellow"]>.line-marker-circle{background:#e9ba38;border-color:#e9ba38;opacity:1}
[data-marker="red"]>.line-marker-circle{background:#e85c66;border-color:#e85c66;opacity:1}
.line-marker-palette{position:fixed;z-index:100100;display:flex;align-items:center;gap:6px;padding:5px;background:var(--panel,#1c2b3f);border:1px solid var(--border,#45516a);border-radius:8px;box-shadow:0 7px 22px #0008;box-sizing:border-box}
.line-marker-choice{display:grid;place-items:center;width:28px;height:28px;border:1px solid transparent;border-radius:6px;background:transparent;padding:0;cursor:pointer}
.line-marker-choice:hover,.line-marker-choice.selected{background:color-mix(in srgb,var(--accent) 12%,transparent);border-color:var(--border)}
.line-marker-choice>.line-marker-circle{width:12px;height:12px;border-width:1.5px;opacity:.9}
.score-line.score-inline-row{position:relative;padding-left:19px!important}
.score-line .line-marker-score{left:0;top:13px}
.score-line.score-first-empty .line-marker-score,.score-line.score-empty-plain .line-marker-score{top:1px}
/* Preserve the single multiline textarea; the gutter is just decoration. */
.lyric-marker-shell{position:relative;width:100%;min-width:0}
.lyric-marker-shell .lyrics-document{box-sizing:border-box!important;padding-left:27px!important}
.lyric-marker-gutter{position:absolute;left:2px;top:0;width:21px;bottom:0;pointer-events:none;z-index:3}
.lyric-marker-gutter .line-marker-button{left:0;pointer-events:auto}
.lyric-marker-mirror{position:absolute;left:0;top:0;box-sizing:border-box;width:100%;padding:0 6px 0 27px;visibility:hidden;pointer-events:none;z-index:-1;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;font:400 16px/1.95 'Noto Sans SC','Microsoft YaHei',sans-serif;letter-spacing:.3px;tab-size:4}
.lyric-marker-measure{white-space:pre-wrap;overflow-wrap:break-word;min-height:1.95em}
html[data-theme="white"] .line-marker-palette{box-shadow:0 8px 22px #1b355340}

/* v1.5.94: the score already reserves 19px for the color marker.
   Do not add the legacy 22px pickup-chord gutter a second time;
   pure text and 0243 must start at the same visual column.
   Chord anchors remain relative to the score track and its first glyph. */
.score-line.score-inline-row .score-token-grid{padding-left:3px!important}

/* v1.5.98: one 19px marker gutter is enough in 0243 mode.
   The continuous number and Chinese lanes both start at 3px inside it. */
.score-line.score-inline-row .score-token-grid.score-continuous-grid{padding-left:0!important;}
.score-line.score-inline-row .line-marker-score{left:0!important;}
