:root{font-family:system-ui,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.4;-webkit-tap-highlight-color:transparent}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100dvh;background:var(--bg);color:var(--text);transition:background .15s ease,color .15s ease}#root{min-height:100dvh}.app.theme-dark{--bg: #0f0f12;--text: #f0f0f2;--muted: #9898a3;--line: #2a2a32;--accent: #6ea8ff;--error: #ff8a7a;--surface: #18181e;--input-bg: #1e1e26;--lyrics-fg: #e8e8ed;--lyrics-shadow: .02em .02em 0 #0a0a0c}.app.theme-light{--bg: #f4f4f5;--text: #141418;--muted: #5b5b66;--line: #d8d8de;--accent: #2563eb;--error: #b91c1c;--surface: #fff;--input-bg: #fff;--lyrics-fg: #1a1a1f;--lyrics-shadow: none}a{color:var(--accent)}.page{min-height:100dvh;display:flex;flex-direction:column;background:var(--bg);color:var(--text)}.page.home .home-footer{margin-top:auto;flex-shrink:0;text-align:center;padding:1.25rem .75rem 1.5rem;border-top:1px solid var(--line);background:var(--bg);font-size:.875rem;display:flex;flex-direction:column;align-items:center;gap:.65rem}.page.home .home-footer-owner{margin:0;color:var(--muted);font-size:.8rem;letter-spacing:.02em}.page.home .home-footer-social{margin:0;line-height:1.35}.page.home .home-footer-link{color:var(--accent);text-decoration:none;font-weight:500;padding:.35rem .5rem;margin:-.35rem -.5rem;border-radius:.4rem;background:none;border:none;font-size:inherit;font-family:inherit;cursor:pointer;display:inline-block}.page.home .home-footer-link:hover{text-decoration:underline}.page.home .home-footer-link:disabled{opacity:.6;cursor:not-allowed;text-decoration:none}.page.home .home-footer-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.page.home .home-footer-auth-wrap{display:flex;flex-direction:column;align-items:center;gap:.5rem}.page.home .home-footer-auth-note{margin:0;font-size:.8rem;color:var(--muted)}.bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:.5rem;padding:.65rem .75rem;background:var(--bg);border-bottom:1px solid var(--line);flex-shrink:0}.bar-lyrics{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.35rem .5rem;padding:.5rem}.bar-lyrics .bar-lyrics-right{justify-self:end}.bar-lyrics-right{display:flex;align-items:center;gap:.2rem;flex-shrink:0}.btn-lyrics-chord-quick{font-weight:700;font-size:.8rem;letter-spacing:-.03em;padding:.4rem .45rem;min-width:2.5rem}.btn-lyrics-chord-quick[aria-pressed=true]{background:var(--input-bg);border-color:var(--accent);color:var(--text)}.bar-lyrics-menu{position:relative;display:flex;align-items:center;justify-content:flex-end}.btn-lyrics-menu{padding:.4rem .45rem}.lyrics-menu-icon{display:block}.bar-lyrics-menu-panel{position:absolute;right:0;top:calc(100% + 4px);z-index:20;min-width:9.5rem;padding:.4rem;display:flex;flex-direction:column;gap:.35rem;align-items:stretch;background:var(--surface);border:1px solid var(--line);border-radius:.5rem;box-shadow:0 4px 16px #0000001f}.app.theme-dark .bar-lyrics-menu-panel{box-shadow:0 6px 20px #00000073}.bar-lyrics-menu-btn{display:block;width:100%;font:inherit;font-weight:600;font-size:.8rem;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:.45rem;cursor:pointer;padding:.5rem .65rem;min-height:44px;text-align:center}.bar-lyrics-menu-btn[aria-pressed=true]{background:var(--input-bg);border-color:var(--accent);color:var(--text)}.bar-lyrics-menu-btn:active{filter:brightness(.97)}.bar-lyrics-btn-group{display:flex;width:100%;border:1px solid var(--line);border-radius:.45rem;overflow:hidden;background:var(--surface)}.bar-lyrics-seg{flex:1 1 50%;min-width:0;min-height:44px;font:inherit;font-weight:700;font-size:.88rem;letter-spacing:-.03em;color:var(--text);background:var(--input-bg);border:none;border-right:1px solid var(--line);border-radius:0;cursor:pointer;padding:.5rem;text-align:center}.bar-lyrics-seg:last-child{border-right:none}.bar-lyrics-seg:hover{background:var(--surface)}.bar-lyrics-seg:active{filter:brightness(.96)}.bar-lyrics-seg:focus-visible,.bar-lyrics-menu-btn:focus-visible{outline:2px solid var(--accent);outline-offset:1px;z-index:1;position:relative}.title{font-size:1.1rem;font-weight:600;margin:0;flex:1;text-align:left;letter-spacing:-.02em}.bar .title{text-align:center;flex:1 1 auto;min-width:0}.song-title{font-size:.95rem;font-weight:600;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.song-number{color:var(--muted);font-variant-numeric:tabular-nums;margin-right:.25rem;font-weight:400}.bar-spacer{width:2.75rem}.btn-ghost{display:inline-flex;align-items:center;justify-content:center;padding:.45rem .5rem;color:var(--text);text-decoration:none;border-radius:.4rem;font-size:.9rem;min-height:44px;min-width:44px;border:1px solid transparent;background:transparent}.btn-ghost:active{background:var(--surface)}.search-wrap{padding:.6rem .75rem .4rem}.search-row{display:flex;align-items:center;gap:.45rem}.search{width:auto;flex:1 1 auto;min-width:0;padding:.6rem .75rem;font:inherit;font-size:1rem;color:var(--text);background:var(--input-bg);border:1px solid var(--line);border-radius:.5rem;min-height:44px}.search-toggle{min-height:44px;min-width:44px;border:1px solid var(--line);border-radius:.5rem;background:var(--surface);color:var(--text);font:inherit;font-size:1.05rem;font-weight:600;line-height:1;padding:.45rem;cursor:pointer;white-space:nowrap}.search-toggle[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.search-toggle:active{filter:brightness(.95)}.search-toggle-unplayed{min-width:2.5rem;font-size:.8rem;font-weight:700;padding:.4rem .45rem}.search-toggle-unplayed[aria-pressed=true]{background:var(--input-bg);border-color:var(--accent);color:var(--text)}.song-list{list-style:none;margin:0;padding:0 .25rem 1.5rem;flex:1}.song-item{display:flex;align-items:center;border-bottom:1px solid var(--line)}.song-link{flex:1;display:flex;justify-content:space-between;align-items:center;padding:.9rem .75rem;color:var(--text);text-decoration:none;min-height:48px;line-height:1.3;border-radius:.25rem;min-width:0}.song-actions{display:flex;gap:.25rem;padding-right:.75rem;flex-shrink:0}.song-action-btn{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:.4rem;width:2.75rem;height:2.75rem;display:flex;align-items:center;justify-content:center;font-size:1.1rem;cursor:pointer}.song-action-btn[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.song-link-external{color:var(--accent);display:block}.song-link:active{background:var(--surface)}.song-queue-info{color:var(--muted);font-weight:400;margin-left:.5rem;white-space:nowrap}.empty,.error,.pad{padding:1rem .75rem;margin:0;color:var(--muted)}.error{color:var(--error)}code{font-size:.85em;color:var(--accent);word-break:break-all}.lyrics-block{box-sizing:border-box;flex:1;display:flex;flex-direction:column;min-height:0;padding-top:1.75rem;max-width:min(100%,calc(var(--lyrics-max-ch, 40) * 1ch))}.lyrics{margin:0 0 2rem;width:100%;max-width:100%;padding-top:.5rem;padding-bottom:2.5rem;white-space:pre-wrap;word-wrap:break-word;font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,Monaco,monospace;font-size:1.125rem;line-height:1.55;color:var(--lyrics-fg);text-shadow:var(--lyrics-shadow);overflow-x:auto;-webkit-overflow-scrolling:touch;flex:1}.lyrics-cta-btn{width:44px;min-width:44px;max-width:44px}.lyrics-cta-spotify{display:inline-flex;align-items:center;justify-content:center;color:#1db954;text-decoration:none}.lyrics-cta-spotify:hover{background:#1db954;color:#fff;border-color:#1db954}@media (min-width: 1024px){.page.song .lyrics-block{max-width:min(100%,92vw);overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.page.song .lyrics{max-height:calc(100dvh - 5.25rem);column-width:22ch;column-count:auto;column-gap:1.25rem;column-fill:auto;width:max-content;min-width:100%;max-width:none;box-sizing:border-box;overflow-x:visible;flex:0 0 auto}}.form-row{display:flex;align-items:center;gap:.6rem}.form-row-color input[type=color]{width:3rem;height:2.5rem;padding:0;border:1px solid var(--line);border-radius:.35rem;background:var(--input-bg);cursor:pointer}.chord-hex-preview{font-size:.9rem;color:var(--muted);font-weight:400}.form{display:flex;flex-direction:column;gap:1.1rem;padding:1rem .75rem 2rem;max-width:28rem;margin:0 auto}.form label{display:flex;flex-direction:column;gap:.4rem;font-size:.9rem;color:var(--text);font-weight:500}label.form-checkbox{gap:.3rem}.form-checkbox-row{display:flex;align-items:center;gap:.55rem}.form-checkbox-row input[type=checkbox]{width:1.15rem;height:1.15rem;min-width:1.15rem;min-height:1.15rem;accent-color:var(--accent);cursor:pointer}.form-hint{font-size:.8rem;font-weight:400;color:var(--muted);line-height:1.35}.form select,.form .btn{min-height:44px}.form select,.form .btn,.form input[type=range]{width:100%}.form select{font:inherit;padding:.5rem .6rem;background:var(--input-bg);color:var(--text);border:1px solid var(--line);border-radius:.45rem}.form input[type=range]{padding:.25rem 0;accent-color:var(--accent)}.form-actions{margin-top:.5rem}.form-actions .btn+.btn{margin-top:.6rem}.btn{font:inherit;font-weight:500;padding:.6rem 1rem;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:.5rem;width:100%;min-height:48px;cursor:pointer}.btn:active{filter:brightness(.95)}.btn:disabled{cursor:not-allowed;opacity:.6}.notes-form{display:flex;gap:.5rem;padding:.75rem 1rem;border-bottom:1px solid var(--line)}.notes-input{flex:1;min-width:0}.notes-add-btn{flex-shrink:0;width:2.75rem;height:2.75rem;font-size:1.5rem;line-height:1;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center}.notes-add-btn:disabled{opacity:.35;cursor:not-allowed}.notes-list{list-style:none;margin:0;padding:0;flex:1;overflow-y:auto}.note-item{display:flex;align-items:baseline;gap:.5rem;padding:.75rem 1rem;border-bottom:1px solid var(--line)}.note-text{flex:1;min-width:0;word-break:break-word}.note-time{flex-shrink:0;font-size:.75rem;color:var(--muted)}.note-delete{flex-shrink:0;width:1.75rem;height:1.75rem;font-size:1.1rem;line-height:1;background:none;color:var(--muted);border:none;border-radius:.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center}.note-delete:hover{color:var(--error)}.notes-footer{padding:1rem;border-top:1px solid var(--line)}.notes-empty{padding:2rem 1rem;text-align:center;color:var(--muted)}
