:root{--bg: #0a0a0b;--panel: #141416;--panel-2: #1c1c1f;--panel-3: #2c2c30;--border: #26262a;--border-2: #2c2c30;--text: #ececee;--muted: #a1a4ab;--chord: #f5b942;--accent: #4f8cff;--link: #60a5fa;--action: #00c853;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}button,select,input{font:inherit;color:inherit}button,select{background:var(--panel-2);border:1px solid var(--border);border-radius:8px;padding:.35rem .7rem;cursor:pointer;min-height:2.25rem}button:hover{border-color:var(--muted)}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.spacer{flex:1}.mono{font-variant-numeric:tabular-nums}.app{position:relative;display:flex;flex-direction:column;height:100%;background:var(--bg)}.segmented{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}.segmented button{border:0;border-radius:0;background:transparent}.segmented button.on{background:var(--accent);color:#fff}.segmented.small button{min-height:1.8rem;padding:.15rem .5rem;font-size:.85em}.main{flex:1;display:flex;min-height:0}.song-scroll{flex:1;overflow-y:auto;position:relative;padding:1rem 1rem 70vh;outline:none}.song{max-width:900px;margin:0 auto;font-size:calc(1.15rem * var(--scale, 1));line-height:1.35}.song-head h1{margin:0 0 .25rem;font-size:1.6em}.meta{display:flex;flex-wrap:wrap;gap:.4rem 1rem;color:var(--muted);font-size:.8em}.section{border-left:4px solid var(--sec);margin:1.25rem 0;padding:.3rem 0 .5rem .8rem;border-radius:0 6px 6px 0;transition:background .3s}.section.active{background:color-mix(in srgb,var(--sec) 12%,transparent)}.section-head{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.35rem}.section-label{all:unset;cursor:pointer;color:var(--sec);font-weight:800;font-size:.85em;letter-spacing:.06em;text-transform:uppercase}.badge{font-size:.7em;padding:.1em .55em;border-radius:999px;background:var(--panel-2);color:var(--muted)}.badge.cue{background:color-mix(in srgb,var(--sec) 28%,transparent);color:var(--text)}.add-note{min-height:0;padding:.05rem .5rem;font-size:.7em;color:var(--muted);background:transparent;border-style:dashed}.line{display:flex;flex-wrap:wrap}.seg{display:inline-flex;flex-direction:column;white-space:pre}.chord{color:var(--chord);font-weight:700;font-size:.9em;height:1.3em;line-height:1.3;padding-right:.4em}.line.no-chords .chord{display:none}.lyric-only{white-space:pre-wrap;line-height:1.55}.comment{color:var(--muted);font-style:italic;font-size:.85em}.empty{height:.8em}.notes{display:flex;flex-direction:column;gap:8px;margin:2px 0 12px;max-width:560px;font-size:max(15px,.8em);line-height:1.35}.note{--note: #60a5fa;background:var(--panel);border:1px solid var(--border-2);border-left:3px solid var(--note);border-radius:8px;padding:7px 12px;color:var(--text)}.note.private{--note: #a78bfa}.note-text{white-space:pre-wrap}.note.editing{display:flex;flex-direction:column;gap:10px;font-size:15px;padding:12px 14px;border-radius:12px}.note-title{font-size:13px;font-weight:600}.note-details,.note-hint{font-size:12px;color:var(--muted)}.note.editing textarea{width:100%;min-height:64px;padding:8px 10px;border:1px solid #3a3a3e;border-radius:8px;background:#000;color:var(--text);font:inherit;font-size:15px;resize:vertical}.note.editing textarea:focus{outline:none;border-color:var(--note)}.note-scope{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.note-scope .note-hint{flex:1;min-width:12rem}.note-scope .pills button{height:36px}.note-scope .pills button.on{background:#3a3a3e}.note-actions{display:flex;align-items:center;gap:8px;padding-top:10px;border-top:1px solid var(--border)}.note-actions button{height:40px;min-height:0;padding:0 14px;border:0;border-radius:10px;font-weight:600;font-size:15px}.note-actions .delete{padding:0 12px;background:transparent;color:#f87171}.note-actions .cancel{background:var(--border)}.note-actions .save{padding:0 18px;background:var(--text);color:#000;font-weight:700}.note-actions .save:disabled{background:#3a3a3e;color:var(--muted);opacity:1}button.note{display:block;width:100%;min-height:0;text-align:left;font:inherit;cursor:pointer}button.note:hover{border-color:var(--note)}.notes.orphans{padding:10px 14px;border:1px dashed #3a3a3e;border-radius:12px}.orphans-title{font-size:13px;color:var(--muted)}.section-head .add-note:not(.add-cue){margin-left:auto;min-height:32px;padding:0 10px;border-color:#3a3a3e;border-radius:8px;font-size:13px}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;justify-content:flex-end;z-index:10}.field{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem}.field input:not([type=range]){background:var(--panel-2);border:1px solid var(--border);border-radius:8px;padding:.4rem .6rem}.hint{margin:0;font-size:.8rem;color:var(--muted)}.center-page{min-height:100%;display:grid;place-items:center;padding:1rem}.card{width:min(400px,100%);background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;gap:.75rem}.card h1{margin:0;font-size:1.4rem}.card .segmented button{flex:1}.field select{width:100%}.form-message{margin:0;color:#fca5a5;font-size:.9rem}.banner{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.4rem .75rem;background:#7f1d1d;color:#fee2e2;font-size:.9rem}.code{font-family:ui-monospace,monospace;font-size:1.1em;letter-spacing:.1em;color:var(--text)}.orphans{margin-top:1rem}button.danger{color:#fca5a5;border-color:#7f1d1d}.lyric,.lyric-only{color:var(--lyric, inherit)}.theme-songbook{--chord: #ffffff;--lyric: #00ff00}.theme-songbook .song-scroll{background:#000}.theme-songbook .section{border-left:0;padding-left:.4rem;border-radius:6px}.theme-songbook .section.active{background:none;box-shadow:inset 3px 0 0 var(--sec)}.theme-songbook .section-chorus{padding-left:1.4em}.theme-songbook .section-label{font-size:1.15em;font-weight:700;letter-spacing:0;text-transform:none}.theme-songbook .chord{font-size:.85em}.cue{display:inline-flex;align-items:center;gap:.2em;padding:0 .45em;border-radius:999px;font-size:.75em;font-weight:600;line-height:1.5;white-space:nowrap;vertical-align:middle;border:1px solid transparent;--cue: #60a5fa;background:color-mix(in srgb,var(--cue) 22%,transparent);color:color-mix(in srgb,var(--cue) 70%,white);border-color:color-mix(in srgb,var(--cue) 45%,transparent)}.cue-drums{--cue: #f59e0b}.cue-vocals{--cue: #f472b6}.chord .cue,.chord .part,.lyric-only .cue,.lyric-only .part{margin-right:.3em;font-size:.7em}.part{display:inline-flex;align-items:center;gap:.2em;padding:0 .45em;border-radius:4px;font-size:.75em;font-weight:700;line-height:1.5;white-space:nowrap;vertical-align:middle;color:#fff;background:var(--part)}.part-solo{--part: #db2777}.part-harmony{--part: #7c3aed}.in-part{background:color-mix(in srgb,var(--part) 30%,transparent);border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.word{all:unset;cursor:pointer;margin:0 1px 2px 0;padding:0 .15em;border:1px dashed #3a3a3e;border-radius:6px}.word:hover,.word:focus-visible{border-color:var(--muted)}.word.picked{border:2px solid #f472b6;background:color-mix(in srgb,#f472b6 15%,transparent)}.remove{all:unset;cursor:pointer;margin-left:.15em;padding:0 .15em;opacity:.8}.remove:hover{opacity:1}.cue-banner{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;min-height:56px;margin:-1rem -1rem 1rem;padding:6px 16px 6px 20px;background:#2a1d05;border-bottom:1px solid #f59e0b55;color:var(--text);font-size:15px}.cue-banner svg{flex-shrink:0;color:#f59e0b}.cue-banner-hint{flex:1;font-size:13px;color:#e5c78f}.cue-banner button{flex-shrink:0;height:40px;padding:0 18px;border:0;border-radius:10px;background:#f59e0b;color:#000;font-weight:700}.sheet-backdrop{align-items:flex-end;justify-content:center}.sheet{width:100%;max-height:85vh;font-size:15px;line-height:1.35;overflow-y:auto;background:var(--panel);border-top:1px solid var(--border-2);border-radius:22px 22px 0 0;padding:10px 24px max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px}.grabber{align-self:center;width:40px;height:5px;border-radius:3px;background:#3a3a3e}.sheet-sub{font-size:13px;color:var(--muted)}.sheet h3{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.sheet header{display:flex;justify-content:space-between;align-items:center;gap:10px}.sheet h2{margin:0;font-size:18px}.sheet .segmented button{flex:1}.parts{display:flex;flex-direction:column;gap:10px;padding:12px 14px;border:1px solid var(--border-2);border-radius:14px}.parts-row{display:flex;align-items:center;gap:8px}.parts-row select{flex:1;height:40px;border-color:#3a3a3e;border-radius:10px;background:#000}.part-button{height:40px;padding:0 16px;border:0;border-radius:10px;color:#fff;font-weight:700}.part-button.part-solo{background:#db2777}.part-button.part-harmony{background:#7c3aed}.presets{display:flex;flex-wrap:wrap;gap:8px}.presets .cue{min-height:44px;padding:0 16px;border-radius:10px;font-size:15px;cursor:pointer}.custom-cue{display:flex;gap:8px}.custom-cue button.light{height:48px;padding:0 22px;border:0;border-radius:12px;background:var(--text);color:#000;font-weight:700}.custom-cue input{flex:1;height:48px;padding:0 14px;border:1px solid #3a3a3e;border-radius:12px;background:#000;font-size:15px}.library{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;background:#000;padding-top:env(safe-area-inset-top)}.library-side{flex-shrink:0;display:flex;flex-direction:column;gap:2px;width:240px;padding:14px 10px;overflow-y:auto;background:var(--panel);border-right:1px solid var(--border-2)}.library-side-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px 12px;font-weight:700;font-size:20px}.side-row{display:flex;align-items:center;gap:10px;flex-shrink:0;width:100%;min-height:44px;padding:4px 12px;border:0;border-radius:10px;background:transparent;text-align:left;font-size:15px}.side-row:hover{background:#ffffff0a}.side-row.on{background:var(--panel-2);font-weight:600;box-shadow:0 1px 2px #00000080}.side-row.add{color:var(--link);font-weight:600}.side-count{margin-left:auto;font-size:13px;font-weight:400;color:var(--muted)}.side-two-lines{display:flex;flex-direction:column;min-width:0;line-height:1.2}.side-sub{font-size:12px;font-weight:400;color:var(--muted)}.side-caption{padding:14px 12px 4px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.library-main{flex:1;display:flex;flex-direction:column;min-width:0}.library-head{display:flex;align-items:flex-end;gap:10px;padding:22px 28px 14px;border-bottom:1px solid var(--border-2)}.library-head button{min-height:44px;padding:0 16px;border-radius:12px;border-color:var(--border-2);background:var(--panel-2);font-weight:600}.library-head button.light{display:inline-flex;align-items:center;gap:8px;padding:0 20px;border:0;background:var(--text);color:#000}.library-head .library-actions{flex:1}.library-title{flex:1;min-width:0}.library-title h1,.setlist-name{margin:2px 0 0;font-size:28px;font-weight:700}.setlist-name{width:100%;padding:0;border:0;border-bottom:1px solid transparent;background:transparent}.setlist-name:focus{outline:none;border-bottom-color:var(--border-2)}.library-sub{font-size:13px;color:var(--muted)}.library-sub input[type=date]{padding:0;border:0;background:transparent;color:inherit;font-size:13px}.library-scroll{flex:1;overflow-y:auto;padding:10px 20px 28px}.library-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.name-input{flex:1;min-width:12rem;height:44px;padding:0 14px;border:0;border-radius:12px;background:var(--border);font-size:15px}.choose-banner{margin:0 8px 10px;padding:10px 14px;border-radius:12px;background:color-mix(in srgb,var(--link) 18%,transparent);font-size:14px}.song-list{display:flex;flex-direction:column;gap:12px;padding-top:8px}.search{display:flex;align-items:center;gap:10px;height:44px;margin:0 8px;padding:0 14px;border-radius:12px;background:var(--border);color:var(--muted)}.search input{flex:1;min-width:0;border:0;background:transparent;font-size:15px;color:var(--text);outline:none}.filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 8px}.filters select{height:34px;min-height:0;border-radius:17px}.tag{display:inline-flex;align-items:center;padding:0 14px;min-height:34px;border-radius:17px;border:1px solid var(--border-2);background:var(--panel-2);font-size:14px}.tag.on{background:var(--text);border-color:var(--text);color:#000}.rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.song-row{display:flex;align-items:center;gap:14px;min-height:60px;padding:0 8px;border-bottom:1px solid var(--border)}.song-row.current .song-row-title{color:var(--action)}.song-row-main{all:unset;cursor:pointer;flex:1;min-width:0;display:flex;flex-direction:column;padding:8px 0;line-height:1.25}.song-row-title{font-weight:600;font-size:16px}.song-row-meta{font-size:13px;color:var(--muted)}.song-row-key{width:30px;font-weight:700;color:#fff}.row-action{flex-shrink:0}input.row-action{width:22px;height:22px;accent-color:var(--action)}.icon-button.add{position:relative;color:var(--link)}.added{position:absolute;top:4px;right:2px;min-width:16px;padding:0 4px;border-radius:8px;background:var(--link);color:#000;font-size:11px;font-weight:700}.empty-list{padding:.75rem 8px}.setlist-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.setlist-item{display:flex;align-items:center;gap:12px;min-height:64px;padding:0 8px;border-bottom:1px solid var(--border)}.setlist-move{display:flex;flex-direction:column}.setlist-move button{width:32px;min-height:0;height:24px;padding:0;border:0;background:transparent;color:var(--muted)}.setlist-index{width:22px;color:var(--muted);font-variant-numeric:tabular-nums}.setlist-title{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}.icon-button.play-from{color:var(--action)}.setlist-variant{max-width:9rem;min-height:36px;border-radius:10px;border-color:var(--border-2);background:transparent;font-size:13px;color:var(--muted)}.setlist-key{position:relative;display:grid;place-items:center;min-width:56px;height:36px;border:1px solid var(--border-2);border-radius:10px;background:var(--panel-2);font-weight:700;color:#fff;cursor:pointer}.setlist-key.moved{border-color:var(--link)}.setlist-key select{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;cursor:pointer}.setlist-hint{margin:8px;font-size:13px}.setlist-footer{display:flex;justify-content:flex-end;margin-top:24px;padding:0 8px}@media(max-width:700px){.library{flex-direction:column}.library-side{width:auto;max-height:40vh;border-right:0;border-bottom:1px solid var(--border-2)}.library-head{flex-wrap:wrap;padding:14px 16px 10px}}.cue-electric{--cue: #f87171}.cue-acoustic{--cue: #d6a35c}.cue-keys{--cue: #2dd4bf}.cue-bass{--cue: #a3e635}.cue-band{--cue: #60a5fa}.type-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.type-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:56px;padding:0;border:1px solid var(--border-2);border-radius:12px;background:var(--panel-2);color:var(--muted);font-size:13px;font-weight:600}.type-tabs button.on{border:1.5px solid var(--cue);background:color-mix(in srgb,var(--cue) 15%,transparent);color:#fff}.subtitle{margin:-.15rem 0 .25rem;color:var(--muted);font-style:italic}.setup{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.5rem}.setup .cue{font-size:.8em}.tab-line{margin:0;font:.85em/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--text);white-space:pre;overflow-x:auto}.field input,.field select{width:100%}.with-button{display:flex;gap:.35rem}.with-button input{flex:1;min-width:0}details>summary{cursor:pointer;color:var(--muted);font-size:.9rem}.setup-fields[open]>summary{margin-bottom:.5rem}.chord .held{opacity:.55}.setup-item{display:inline-flex;align-items:center;gap:.35rem}.setup-edit{cursor:pointer;font:inherit}.capo{gap:.35rem}.capo select{min-height:1.6rem;padding:0 .3rem;border-radius:6px;font-size:.95em;background:var(--panel)}.capo-shapes{font-weight:400;opacity:.85}.song-scroll{container-type:inline-size}@container (min-width: 700px){.song.columns-2,.song.columns-3{max-width:none}.song.columns-2 .sections{column-count:2;column-gap:2.5rem}.song.columns-3 .sections{column-count:3;column-gap:2rem}.song[class*=columns-] .section{break-inside:avoid;margin-top:0}.song[class*=columns-] .section.column-break{break-before:column}}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;min-height:0;padding:0;border:0;border-radius:12px;background:transparent;color:inherit}.icon-button:hover:not(:disabled),.icon-button.on{background:#ffffff14}.icon-button.on{color:var(--action)}.icon-button.narrow{width:36px}button.round{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--panel-3)}button.link.inline{min-height:0;font-size:13px}button.link{min-height:44px;padding:0;border:0;background:transparent;color:var(--link);font-weight:600}.topbar{flex-shrink:0;display:flex;align-items:center;gap:6px;min-height:60px;padding:0 10px;padding-top:env(safe-area-inset-top);padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right));background:var(--bg);border-bottom:1px solid var(--border)}.title-block{display:flex;align-items:center;min-width:0;height:44px;border-radius:12px;background:var(--panel)}.song-title{position:relative;display:flex;flex-direction:column;justify-content:center;min-width:160px;max-width:34vw;height:100%;padding:0 10px;line-height:1.15;cursor:pointer}.song-name{font-weight:700;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.version-name,.song-where{font-weight:500;font-size:13px;color:var(--muted)}.song-where{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.song-title select,.key select{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.song-title select:disabled{cursor:default}.key-stepper{display:flex;align-items:center;flex-shrink:0;height:40px;margin-left:6px;border:1px solid var(--border-2);border-radius:10px}.key-stepper button{width:36px;height:38px;min-height:0;padding:0;border:0;background:transparent;font-size:18px}.key{position:relative;display:grid;place-items:center;min-width:2.5rem;padding:0 4px;font-weight:700;font-size:15px;color:#fff;cursor:pointer}.key.moved{color:var(--link)}.avatar{flex-shrink:0;width:36px;height:36px;min-height:0;margin-left:4px;padding:0;border:0;border-radius:50%;background:var(--panel-2);font-weight:600;font-size:13px}.live{position:relative;display:flex;align-items:center}.live-pill{display:inline-flex;align-items:center;gap:8px;height:36px;min-height:0;padding:0 12px 0 10px;border:0;border-radius:18px;background:var(--panel-2);font-weight:600;font-size:14px;white-space:nowrap}.live-dot{width:8px;height:8px;border-radius:50%;background:currentColor}.live-pill.idle .live-dot{background:var(--muted)}.live-pill.leading{background:#3a0e12;color:#f87171}.live-pill.leading .live-dot{animation:pulse 1.5s infinite}.live-pill.following{background:#0e3a2a;color:#4ade80}.live-pill.offer{background:#0e2a4a;color:var(--link)}.live-pill.offline{color:#fbbf24;background:#3a2a0e}.live-more{height:36px;min-height:0;margin-left:2px;padding:0 10px;border:0;border-radius:18px;background:var(--panel-2);color:var(--muted)}@keyframes pulse{50%{opacity:.35}}.menu{position:absolute;top:calc(100% + 6px);right:0;z-index:20;display:flex;flex-direction:column;min-width:220px;padding:6px;border:1px solid var(--border-2);border-radius:14px;background:var(--panel-2);box-shadow:0 12px 40px #0009}.menu button{min-height:44px;border:0;border-radius:10px;background:transparent;text-align:left}.menu button:hover{background:var(--panel-3)}.setup-bar{flex-shrink:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 16px;border-bottom:1px solid var(--border);font-size:13px}.setup-meta{color:var(--muted)}.setup-bar .setup{margin:0;padding-left:8px;border-left:1px solid var(--border-2)}.setup-bar .setup .cue{min-height:30px;padding:0 10px;border-radius:8px;font-size:13px}.section-map{flex-shrink:0;display:flex;flex-direction:column;gap:6px;width:52px;padding:12px 6px 96px;overflow-y:auto;border-right:1px solid var(--border)}.map-row{position:relative;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:40px;padding:4px 0;border:0;border-radius:10px;background:transparent;box-shadow:inset 0 0 0 1.5px var(--sec);color:var(--sec);font-weight:700;font-size:13px}.map-bars{font-size:10px;font-weight:600;opacity:.8}.map-cue{position:absolute;top:4px;right:4px;width:6px;height:6px;border-radius:50%;background:currentColor}.map-row.active{background:var(--sec);color:#000}.player{position:absolute;left:50%;bottom:max(18px,env(safe-area-inset-bottom));z-index:5;transform:translate(-50%);display:flex;align-items:center;gap:10px;width:min(600px,calc(100% - 32px));height:56px;padding:0 8px 0 6px;border:1px solid var(--border-2);border-radius:28px;background:var(--panel-2);box-shadow:0 8px 30px #0009}.play{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;min-height:0;padding:0;border:0;border-radius:50%;background:var(--action);color:#000}.beats{display:flex;gap:4px}.beat{width:9px;height:9px;border-radius:50%;background:#3a3a3e}.beat.on{background:#0f0}.beat.one.on{background:#ef4444}.progress{flex:1;display:flex;align-items:center;gap:3px;min-width:0}.progress span{height:6px;flex-basis:0;border-radius:3px;background:linear-gradient(to right,var(--sec) var(--fill),#3a3a3e var(--fill))}.bar-status{flex-shrink:0;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.player .time{flex-shrink:0;font-size:13px;font-variant-numeric:tabular-nums;color:var(--muted)}.player .mode{flex-shrink:0;height:36px;min-height:0;padding:0 12px;border:0;border-radius:18px;background:var(--panel-3);font-size:13px;font-weight:600}.follow-bar{justify-content:center;padding:0 20px;color:#4ade80;font-size:14px}.follow-bar .hint{font-size:12px}.tools-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;background:#14141652}.tools{position:absolute;top:max(12px,env(safe-area-inset-top));right:12px;bottom:max(12px,env(safe-area-inset-bottom));display:flex;flex-direction:column;width:min(420px,calc(100% - 24px));overflow:hidden;border-radius:20px;background:var(--panel);box-shadow:0 20px 60px #00000080}.tools-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 10px 20px}.tools-title{font-weight:700;font-size:18px}.tools-sub{font-size:12px;color:var(--muted)}.tools-body{flex:1;display:flex;flex-direction:column;gap:18px;overflow-y:auto;padding:4px 20px 20px}.tools h3{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.tools-card{padding:6px 14px;border:1px solid var(--border-2);border-radius:14px;background:var(--panel-2)}.tools-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:15px}.tools-row+.tools-row,.key-grid+.tools-row{border-top:1px solid var(--border)}button.tools-row{width:100%;padding:0;border-width:0;border-radius:0;background:transparent;color:var(--link);text-align:left}button.tools-row span:first-child{color:var(--text)}.key-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:6px 0 8px}.key-grid button{height:44px;padding:0;border:1px solid var(--border-2);border-radius:10px;background:var(--panel);font-weight:600;font-size:15px}.key-grid button.on{background:var(--action);border-color:var(--action);color:#000}.stepper{display:flex;align-items:center;gap:8px}.stepper button{width:44px;height:36px;min-height:0;padding:0;border:1px solid var(--border-2);border-radius:10px;background:var(--panel-2);font-size:18px}.stepper span{min-width:28px;text-align:center;font-weight:600;font-variant-numeric:tabular-nums}.pills{display:flex;padding:2px;border-radius:10px;background:var(--border)}.pills button{height:34px;min-height:0;padding:0 14px;border:0;border-radius:8px;background:transparent}.pills button.on{background:var(--panel-2);font-weight:600}.toggle{position:relative;flex-shrink:0;width:51px;height:31px;min-height:0;padding:0;border:0;border-radius:16px;background:#3a3a3e}.toggle span{position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:var(--text);transition:left .15s}.toggle.on{background:var(--action)}.toggle.on span{left:22px}.tool-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tool-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:72px;border:1px solid var(--border-2);border-radius:14px;background:var(--panel-2);font-size:13px;font-weight:600}@media(max-width:700px){.topbar{flex-wrap:wrap;padding-bottom:6px}.song-title{max-width:52vw}.player .time{display:none}}.settings{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;background:#000;padding-top:env(safe-area-inset-top)}.settings-side{flex-shrink:0;display:flex;flex-direction:column;gap:2px;width:240px;padding:16px 10px;overflow-y:auto;background:var(--bg);border-right:1px solid var(--border)}.settings-side-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 12px 12px;font-weight:700;font-size:22px}.settings-side .side-row{min-height:46px}.settings-me{display:flex;align-items:center;gap:12px;padding:10px 12px 16px;font-weight:600}.avatar.big{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;margin:0;background:color-mix(in srgb,var(--link) 20%,transparent);color:var(--link);font-weight:700}.settings-main{flex:1;min-width:0;overflow-y:auto;padding:6px 28px 40px}.settings-main h2{margin:22px 0 6px 4px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.settings-card{overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--panel)}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:50px;padding:0 14px;border-top:1px solid var(--border);font-size:15px}.settings-row:first-child{border-top:0}.settings-row input:not([type=range]):not([type=color]),.settings-row select{height:36px;min-height:0;max-width:270px;padding:0 10px;border:1px solid #3a3a3e;border-radius:9px;background:#000}.settings-row input:not([type=range]):not([type=color]){width:220px}button.settings-row{border-width:1px 0 0;border-radius:0;background:transparent;color:var(--link);font-weight:600;text-align:left}button.settings-row:first-child{border-top:0}button.settings-row.danger-text{color:#f87171}.settings-value{font-size:14px;color:var(--muted)}.settings-hint{margin:6px 4px 0;font-size:12px;color:var(--muted)}.text-size{display:flex;align-items:center;gap:10px}.text-size input{width:160px;accent-color:var(--action)}.text-size .small{font-size:13px;color:var(--muted)}.text-size .large{font-size:20px}.cue-name{display:flex;align-items:center;gap:10px}.cue-dot{width:12px;height:12px;border-radius:50%;background:var(--cue)}.team-code{display:flex;align-items:center;gap:10px}.team-code .code{font-size:18px;letter-spacing:.12em}.team-code button.small{height:34px;min-height:0;padding:0 12px;border:0;border-radius:9px;background:var(--border)}.heading-name{font-weight:700;font-size:17px;text-transform:capitalize}.color-pick{display:flex;align-items:center;gap:10px}.color-pick input{width:32px;height:32px;padding:0;border:1px solid #3a3a3e;border-radius:8px;background:none;cursor:pointer}@media(max-width:700px){.settings{flex-direction:column}.settings-side{width:auto;max-height:40vh;border-right:0;border-bottom:1px solid var(--border)}.settings-main{padding:6px 16px 32px}}.add-cue{min-height:32px;padding:0 10px;border:1px dashed var(--sec);border-radius:8px;color:var(--sec);font-size:13px;font-weight:600}@media(max-width:700px){.type-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.cue-banner-hint{display:none}}.editor{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;flex-direction:column;background:#000;padding-top:env(safe-area-inset-top)}.editor-head{flex-shrink:0;display:flex;align-items:center;gap:10px;height:60px;padding:0 16px;border-bottom:1px solid var(--border)}.editor-head h2{flex:1;display:flex;flex-direction:column;align-items:center;margin:0;font-size:17px;line-height:1.2}.editor-count{font-size:12px;font-weight:400;color:var(--muted)}.editor-head button{height:40px;min-height:0;padding:0 14px;border:0;border-radius:10px;background:transparent;font-weight:600}.editor-head .delete{color:#f87171}.editor-head .save{padding:0 20px;background:var(--action);color:#000;font-weight:700}.editor-fields{flex-shrink:0;display:flex;flex-direction:column;gap:12px;max-height:45vh;overflow-y:auto;padding:16px 24px 0}.editor-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.editor-grid .field{gap:5px;font-size:12px;font-weight:600;color:var(--muted)}.editor-grid .field input,.editor-grid .field select,.editor-grid .with-button button{height:42px;min-height:0;padding:0 12px;border:1px solid var(--border-2);border-radius:10px;background:var(--panel);color:var(--text);font-size:15px;font-weight:400}.editor-grid .with-button button{font-size:13px;font-weight:600}.span-1{grid-column:span 1}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.span-4{grid-column:span 4}.span-6{grid-column:span 6}.editor-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.editor-label{margin-right:4px;font-size:12px;font-weight:600;color:var(--muted)}.editor-tags .tag{gap:6px;min-height:30px;padding:0 10px;border:0;border-radius:15px;background:var(--border);font-size:13px}.editor-tags .tag button{min-height:0;padding:0;border:0;background:transparent;color:var(--muted)}.editor-tags .tag.add,.editor-tags .tag.suggestion{border:1px dashed #3a3a3e;background:transparent;color:var(--muted)}.tag-input{width:9rem;height:30px;padding:0 10px;border:1px solid #3a3a3e;border-radius:15px;background:#000;font-size:13px}.editor-toolbar{flex-shrink:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:14px 24px 0;padding:8px;border:1px solid var(--border);border-bottom:0;border-radius:12px 12px 0 0;background:var(--bg)}.editor-toolbar>button{height:38px;min-height:0;padding:0 12px;border:1px solid var(--border-2);border-radius:9px;background:var(--panel);font-size:13px;font-weight:600;white-space:nowrap}.editor-text{flex:1;min-height:0;display:flex;flex-direction:column;margin:0 24px max(24px,env(safe-area-inset-bottom));border:1px solid var(--border);border-radius:0 0 12px 12px;background:var(--bg);overflow:hidden}.code-box{position:relative;flex:1;min-height:0}.code-box textarea,.code-colors{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;padding:14px 16px;border:0;overflow:auto;font:14px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre;-moz-tab-size:4;tab-size:4}.code-box textarea{resize:none;background:transparent;color:transparent;caret-color:#fff;outline:none}.code-box textarea::placeholder{color:var(--muted)}.code-colors{pointer-events:none;color:var(--text)}.code-directive,.code-markup{color:var(--muted)}.code-heading{font-weight:600}.code-chord{color:#fff}.code-held{color:#8a8d93}.code-lyric{color:#0f0}.editor-preview{flex:1;min-height:0;padding-bottom:2rem}.chordpro-help{flex-shrink:0;padding:8px 16px;border-top:1px solid var(--border)}@media(max-width:700px){.editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-grid .field{grid-column:span 2}.editor-grid .span-1{grid-column:span 1}.editor-fields,.editor-toolbar,.editor-text{margin-left:12px;margin-right:12px}}
