:root {
  --bg: #f4f2ed;
  --paper: #ffffff;
  --ink: #1d2224;
  --ink-2: #4d5558;
  --ink-3: #80888b;
  --line: #e2ded5;
  --line-2: #d0cbc0;
  --accent: #1f3a3d;
  --accent-2: #2f5d62;
  --accent-soft: #e3ecea;
  --gold: #b7862b;
  --danger: #b23a2e;
  --danger-soft: #f8e6e3;
  --mark: #ffe58a;
  --chord: #c0392b;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 30, 30, .06), 0 2px 8px rgba(20, 30, 30, .05);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "D2Coding", monospace;
  --topbar-h: 60px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; font-weight: 700; }
h2 { font-size: 1.1rem; font-weight: 650; }
h3 { font-size: .95rem; font-weight: 650; }
mark { background: var(--mark); color: inherit; border-radius: 2px; padding: 0 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ── 상단바 ── */
.topbar {
  position: sticky; top: 0; z-index: 20; height: var(--topbar-h);
  display: flex; align-items: center; gap: 24px; padding: 0 24px;
  background: var(--accent); color: #f3efe6;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: #f3efe6; color: var(--accent); display: grid; place-items: center; font-size: 18px; }
.mainnav { display: flex; gap: 4px; }
.mainnav a { color: #cfd9d6; padding: 6px 12px; border-radius: 6px; font-weight: 550; }
.mainnav a:hover { text-decoration: none; color: #fff; background: rgba(255,255,255,.08); }
.mainnav a.active { color: #fff; background: rgba(255,255,255,.14); }
.globalsearch { margin-left: auto; flex: 0 1 360px; }
.globalsearch input {
  width: 100%; height: 38px; border-radius: 8px; border: 1px solid transparent; padding: 0 12px 0 36px;
  background: rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23cfd9d6' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 12px center;
  color: #fff;
}
.globalsearch input::placeholder { color: #a9bab6; }
.globalsearch input:focus { background-color: rgba(255,255,255,.2); outline: none; border-color: rgba(255,255,255,.35); }
.tabbar { display: none; }
.auth-btn {
  flex: none; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: #e6ece9; font-size: .85rem; font-weight: 550; cursor: pointer; white-space: nowrap;
}
.auth-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.auth-btn[hidden] { display: none; }
/* 로그인 안 했으면 편집용 버튼·링크를 숨긴다 (서버도 쓰기 요청을 막음) */
body:not(.can-edit) [data-admin] { display: none !important; }

main { max-width: 1180px; margin: 0 auto; padding: 28px 24px 80px; outline: none; }
.loading, .empty { color: var(--ink-3); padding: 40px 0; text-align: center; }
.empty .btn { margin-top: 12px; }

/* ── 공통 ── */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head .sub { color: var(--ink-3); margin-top: 4px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--ink-3); }
.small { font-size: .85rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.section { margin-top: 28px; }
.section > h2 { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.section > h2 a { font-size: .85rem; font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--paper); color: var(--ink); cursor: pointer; font-weight: 550; white-space: nowrap; font-size: .9rem;
}
.btn:hover { background: #faf8f4; text-decoration: none; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); }
.btn.danger { color: var(--danger); border-color: #e7c3bd; }
.btn.danger:hover { background: var(--danger-soft); }
.btn.danger.solid { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: rgba(0,0,0,.05); }
.btn.sm { height: 30px; padding: 0 10px; font-size: .82rem; }
.btn.icon { width: 36px; padding: 0; }
.btn.sm.icon { width: 30px; }
.btn.on { background: var(--accent-soft); border-color: #b9cfcb; color: var(--accent); }
.fav-btn.on { color: var(--gold); background: #fbf3e2; border-color: #ebd5a6; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--paper); }
.seg button { border: 0; background: transparent; padding: 0 12px; height: 34px; cursor: pointer; font-size: .85rem; color: var(--ink-2); }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button.on { background: var(--accent); color: #fff; }

.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 550; border: 0; cursor: pointer; white-space: nowrap; }
.chip:hover { background: #d4e3e0; text-decoration: none; }
.chip.on { background: var(--accent); color: #fff; }
.chip.plain { background: #efece6; color: var(--ink-2); cursor: default; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.star { color: var(--gold); }

input.field, select.field, textarea.field {
  width: 100%; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); padding: 8px 11px; min-height: 38px;
}
textarea.field { resize: vertical; }
/* Safari/iOS는 기본 select에 높이·패딩을 적용하지 않으므로 직접 그린다 */
select.field {
  -webkit-appearance: none; appearance: none; height: 38px; padding: 0 30px 0 11px; line-height: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
input.field:focus, select.field:focus, textarea.field:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(47,93,98,.15); }
.field.invalid { border-color: var(--danger); }
label.lbl { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
label.lbl .req { color: var(--danger); }
.hint { font-size: .78rem; color: var(--ink-3); margin-top: 4px; }
.err { font-size: .8rem; color: var(--danger); margin-top: 4px; }

/* ── 홈 ── */
.hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-bottom: 8px; }
.hero-search { margin-top: 16px; display: flex; gap: 8px; max-width: 640px; }
.hero-search input { height: 46px; font-size: 1rem; }
.hero-search .btn { height: 46px; padding: 0 20px; }
.stats { display: flex; gap: 12px; }
.stat { padding: 14px 20px; min-width: 120px; color: inherit; }
.stat:hover { text-decoration: none; border-color: var(--line-2); }
.stat b { display: block; font-size: 1.8rem; font-weight: 700; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .8rem; color: var(--ink-3); }
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-list { list-style: none; margin: 0; padding: 4px 0; }
.mini-list li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 16px; color: var(--ink); }
.mini-list li a:hover { background: #faf8f4; text-decoration: none; }
.mini-list li + li { border-top: 1px solid #f0ede7; }
.mini-list .t { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list .d { color: var(--ink-3); font-size: .8rem; white-space: nowrap; }
.mini-list .empty { padding: 18px; font-size: .85rem; }

/* ── 라이브러리 ── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.filters .search-wrap { flex: 1 1 280px; display: flex; gap: 6px; }
.filters select.field { width: auto; }
.filters .btn { height: 38px; }
.filters .seg button { height: 36px; }
.tagbar { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.keybar { align-items: center; margin-bottom: 8px; }
.keybar-label { font-size: .78rem; font-weight: 600; color: var(--ink-2); margin-right: 3px; }
.result-info { color: var(--ink-3); font-size: .85rem; margin: 6px 0 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.song-table { width: 100%; border-collapse: collapse; }
.song-table th { text-align: left; font-size: .76rem; font-weight: 600; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .03em; }
.song-table td { padding: 11px 12px; border-bottom: 1px solid #f0ede7; vertical-align: top; }
.song-table tr:last-child td { border-bottom: 0; }
.song-table tbody tr { cursor: pointer; }
.song-table tbody tr:hover { background: #faf8f4; }
.song-table .title-cell a { font-weight: 600; color: var(--ink); }
.song-table .snippet { font-size: .82rem; color: var(--ink-2); margin-top: 3px; }
.song-table .key { font-family: var(--mono); font-size: .82rem; color: var(--ink-2); white-space: nowrap; }
.song-table .date { white-space: nowrap; color: var(--ink-3); font-size: .82rem; }
.song-table .chk { width: 34px; }
.song-table input[type=checkbox], .pick-list input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }

.song-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.song-card { padding: 16px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; position: relative; }
.song-card:hover { border-color: var(--line-2); }
.song-card .t { font-weight: 650; font-size: 1rem; padding-right: 26px; }
.song-card .m { font-size: .82rem; color: var(--ink-3); }
.song-card .snippet { font-size: .82rem; color: var(--ink-2); }
.song-card .chk { position: absolute; top: 14px; right: 14px; }
.song-card .fav { position: absolute; top: 14px; right: 16px; }
.song-card.sel, .song-table tr.sel { background: #eef5f3; }

.selectbar {
  position: sticky; bottom: 16px; z-index: 15; margin-top: 16px; display: flex; gap: 10px; align-items: center;
  background: var(--ink); color: #fff; padding: 10px 12px 10px 18px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.selectbar .btn { border-color: transparent; }

/* ── 악보 상세 ── */
.detail-head { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.detail-head .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); font-size: .88rem; margin-top: 8px; }
.detail-head .meta b { color: var(--ink-3); font-weight: 500; margin-right: 4px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.score-panel { overflow: hidden; }
.score-toolbar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.zoom-label { font-variant-numeric: tabular-nums; font-size: .82rem; color: var(--ink-2); min-width: 42px; text-align: center; }
.score { padding: 16px 12px; min-height: 160px; overflow-x: auto; }
.score svg { display: block; max-width: none; }
.score .abcjs-title { font-weight: 700; }
/* 코드 표기(C, Am7 …) 강조 — abcjs add_classes로 붙는 클래스 */
.score svg .abcjs-chord { fill: var(--chord); font-weight: 700; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.score svg .abcjs-playing { fill: #d9480f; }  /* 재생 중인 음표 */
.play-btn { min-width: 74px; }
.abc-source { margin: 0; padding: 16px; font: .85rem/1.6 var(--mono); white-space: pre-wrap; word-break: break-word; background: #fbfaf7; min-height: 160px; tab-size: 4; }
.abc-warn { margin: 0 12px 12px; padding: 8px 12px; background: #fdf6e7; border: 1px solid #f0dfb5; border-radius: 8px; font-size: .8rem; color: #7a5a12; }
.abc-warn summary { cursor: pointer; }
.side-box { padding: 16px; }
.side-box + .side-box { margin-top: 14px; }
.side-box h3 { margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.lyrics { white-space: pre-wrap; font-size: .92rem; line-height: 1.75; color: var(--ink); }
.lyrics-src { font-size: .72rem; color: var(--ink-3); font-weight: 500; }
.desc { white-space: pre-wrap; font-size: .9rem; color: var(--ink-2); }
.link-list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.link-list li { padding: 5px 0; display: flex; justify-content: space-between; gap: 8px; }
.link-list li + li { border-top: 1px dashed var(--line); }
.dates { font-size: .78rem; color: var(--ink-3); line-height: 1.8; }

/* ── 편집 ── */
.edit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 18px; }
.form-grid .c6 { grid-column: span 6; } .form-grid .c3 { grid-column: span 3; } .form-grid .c2 { grid-column: span 2; }
textarea.abc-input { font: .86rem/1.55 var(--mono); min-height: 300px; white-space: pre; overflow-wrap: normal; overflow-x: auto; tab-size: 4; }
.preview-panel { position: sticky; top: calc(var(--topbar-h) + 16px); max-height: calc(100vh - var(--topbar-h) - 32px); overflow: auto; }
.preview-panel .score-toolbar { position: sticky; top: 0; background: var(--paper); z-index: 1; }
.form-actions { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 18px; border-top: 1px solid var(--line); background: #fbfaf7; border-radius: 0 0 var(--radius) var(--radius); }

/* ── 세트 ── */
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.set-card { padding: 18px; color: inherit; display: flex; flex-direction: column; gap: 6px; }
.set-card:hover { text-decoration: none; border-color: var(--line-2); }
.set-card .t { font-weight: 650; font-size: 1.02rem; color: var(--ink); }
.set-card .n { font-size: .8rem; color: var(--accent-2); font-weight: 600; }
.set-card ol { margin: 4px 0 0; padding-left: 20px; font-size: .84rem; color: var(--ink-2); }
.set-card ol li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-card .d { font-size: .84rem; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.set-items { list-style: none; margin: 0; padding: 0; }
.set-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #f0ede7; background: var(--paper); }
.set-item:last-child { border-bottom: 0; }
.set-item .handle { cursor: grab; color: var(--ink-3); font-size: 18px; padding: 4px 6px; touch-action: none; user-select: none; }
.set-item .no { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; font-variant-numeric: tabular-nums; }
.set-item .info { flex: 1; min-width: 0; }
.set-item .info a { font-weight: 600; color: var(--ink); }
.set-item .info .m { font-size: .8rem; color: var(--ink-3); }
.set-item.sortable-ghost { opacity: .4; background: var(--accent-soft); }
.set-item.sortable-chosen { box-shadow: 0 6px 16px rgba(0,0,0,.12); }

/* ── 연속 보기 ── */
.play-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; }
.play-list { position: sticky; top: calc(var(--topbar-h) + 16px); padding: 8px 0; max-height: calc(100vh - var(--topbar-h) - 32px); overflow: auto; }
.play-list h3 { padding: 8px 16px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.play-list ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.play-list li a { display: flex; gap: 10px; padding: 8px 16px; color: var(--ink-2); font-size: .9rem; }
.play-list li a::before { counter-increment: n; content: counter(n); color: var(--ink-3); width: 18px; text-align: right; font-variant-numeric: tabular-nums; flex: none; }
.play-list li a:hover { background: #faf8f4; text-decoration: none; }
.play-list li a.cur { background: var(--accent-soft); color: var(--accent); font-weight: 650; }
.play-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.play-pos { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: 3px 12px; font-size: .9rem; }
.play-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 14px; }
.play-nav .btn { height: 48px; flex: 1; max-width: 320px; justify-content: space-between; padding: 0 16px; }
.play-nav .btn .lbl2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--ink-3); font-size: .82rem; }
.progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.progress > i { display: block; height: 100%; background: var(--accent-2); transition: width .2s; }

/* ── 모달 / 토스트 ── */
.modal-back { position: fixed; inset: 0; background: rgba(20, 26, 28, .45); z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal { background: var(--paper); border-radius: 14px; width: min(520px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal.wide { width: min(860px, 100%); }
.modal-h { padding: 18px 20px 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.modal-b { padding: 8px 20px 16px; overflow: auto; }
.modal-f { padding: 12px 20px 18px; display: flex; gap: 8px; justify-content: flex-end; border-top: 1px solid var(--line); }
.modal-b p { margin: 0 0 8px; color: var(--ink-2); }
.pick-list { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; max-height: 46vh; overflow: auto; }
.pick-list li { border-bottom: 1px solid #f0ede7; }
.pick-list li:last-child { border-bottom: 0; }
.pick-list label { display: flex; gap: 10px; align-items: center; padding: 9px 12px; cursor: pointer; }
.pick-list label:hover { background: #faf8f4; }
.pick-list .t { font-weight: 550; }
.pick-list .m { font-size: .78rem; color: var(--ink-3); }
.pick-list .in { margin-left: auto; font-size: .72rem; color: var(--accent-2); background: var(--accent-soft); padding: 1px 7px; border-radius: 99px; white-space: nowrap; }
#offlineBar { position: sticky; top: var(--topbar-h); z-index: 19; background: #8a6d1f; color: #fff; text-align: center; font-size: .82rem; padding: 6px 12px; }
#offlineBar[hidden] { display: none; }
#toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; opacity: 0; pointer-events: none; transition: .2s; z-index: 60; font-size: .9rem; max-width: calc(100vw - 32px); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.error { background: var(--danger); }

.login-box { max-width: 360px; margin: 10vh auto; padding: 28px; }
.login-box h1 { font-size: 1.3rem; margin-bottom: 16px; }

/* ── 반응형 ── */
@media (max-width: 960px) {
  .detail-layout, .edit-layout { grid-template-columns: minmax(0, 1fr); }
  .preview-panel { position: static; max-height: none; }
  .home-grid { grid-template-columns: 1fr 1fr; }
  .play-layout { grid-template-columns: minmax(0, 1fr); }
  .play-list { position: static; max-height: 240px; order: 2; }
}
@media (max-width: 680px) {
  :root { --topbar-h: 54px; }
  body { font-size: 15px; }
  .topbar { padding: 0 14px; gap: 12px; }
  .mainnav, .brand-text { display: none; }
  .globalsearch { flex: 1; }
  .tabbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: var(--paper);
    border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 7px 0 6px; font-size: .7rem; color: var(--ink-3); }
  .tabbar a span { font-size: 1.15rem; line-height: 1.2; }
  .tabbar a.active { color: var(--accent); font-weight: 650; }
  .tabbar a:hover { text-decoration: none; }
  main { padding: 18px 16px 96px; }
  h1 { font-size: 1.35rem; }
  .hero { grid-template-columns: 1fr; }
  .stats .stat { flex: 1; min-width: 0; padding: 12px 14px; }
  .home-grid { grid-template-columns: 1fr; }
  .form-grid .c3, .form-grid .c2 { grid-column: span 6; }
  .form-grid .c2.half { grid-column: span 3; }
  .song-table .hide-m { display: none; }
  .selectbar { bottom: 70px; }
  .play-nav .btn { height: 52px; }
  .score { padding: 10px 4px; }
  .detail-head .actions { width: 100%; }
}

@media print {
  @page { margin: 12mm; }
  body { background: #fff; }
  .topbar, .tabbar, .no-print, .score-toolbar, .side-col, .play-list, .play-nav, .progress, #toast, #offlineBar, .abc-warn, .page-head .row { display: none !important; }
  main { padding: 0; max-width: none; }
  .card { border: 0; box-shadow: none; }
  .detail-layout, .play-layout { display: block; }
  .score { padding: 0; overflow: visible; }
  .abc-source { background: none; }
  .print-lyrics { display: block !important; margin-top: 16px; }
}
.print-lyrics { display: none; }
