/* Mumbled Melodies — a studio at night: near-black lit copper from the lower left and blue from the upper right, soft glass, DM Sans. (Round 13, Oct 14 2026; boards 32–40) */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('../fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #101114;
  --surface: #1B1D22;
  --raised: #252830;
  --espresso: #51382E;
  --leather: #B97950;
  --leather-2: #252830;
  --caramel: #D49A70;
  --peach: #F1B88D;
  --peach-2: #F6C7A2;
  --blue: #2F64B9;
  --blue-2: #619EED;
  --sky: #A8C8F8;
  --sky-2: #C3D9FB;
  --midnight: #1B2A44;
  --text: #F4EEE7;
  --text-2: #ABA9A7;
  --text-3: #9C9996;
  --line: rgba(255,255,255,0.08);
  --danger: #E5674A;
  --body: 'DM Sans', -apple-system, system-ui, 'Segoe UI', sans-serif;
  --display: var(--body);
  --tab-h: 64px;
  --tab-gap: max(12px, calc(env(safe-area-inset-bottom, 0px) - 12px));
  --glass: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 48%, rgba(255,255,255,0.05) 100%), rgba(20,21,26,0.5);
  --glass-edge: rgba(255,255,255,0.09);
  --glass-hi: inset 0 1px 0 rgba(255,255,255,0.09);
  --glass-btn: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045));
  --glass-blue: linear-gradient(180deg, rgba(126,174,243,0.58) 0%, rgba(70,120,206,0.52) 100%);
  --tint-blue: linear-gradient(180deg, rgba(168,200,248,0.22), rgba(97,158,237,0.13));
  --tint-copper: linear-gradient(180deg, rgba(241,184,141,0.22), rgba(185,121,80,0.14));
  --sig: linear-gradient(90deg, #B97950 0%, #F1B88D 28%, #CDC5C6 50%, #A8C8F8 72%, #619EED 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.app {
  position: relative;
  max-width: 480px;
  min-height: 100%;
  margin: 0 auto;
  background:
    radial-gradient(110% 40% at 105% -5%, rgba(97,158,237,0.28) 0%, rgba(97,158,237,0) 60%),
    radial-gradient(90% 35% at -10% 100%, rgba(185,104,54,0.45) 0%, rgba(185,104,54,0) 65%),
    linear-gradient(180deg, #101114 0%, var(--ink) 55%, #101114 100%);
  overflow-x: hidden;
}
.view {
  position: relative;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 20px calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100vh;
}
.row { display: flex; align-items: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gap-10 { gap: 10px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }

/* headings (were marker graffiti until round 13) */
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; font-family: var(--body); font-size: 19px; line-height: 24px; font-weight: 600; letter-spacing: -0.2px; color: var(--text); white-space: nowrap; }
.logo-mark { display: block; flex: none; width: 40px; height: 19px; }
.marker { margin: 0; font-family: var(--body); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.2px; color: var(--text); }
.marker.big { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.6px; }
.marker.caramel { color: var(--text); font-size: 17px; }
.tilt { transform: none; text-shadow: none; }
.lede { margin: -4px 0 0; font-size: 17px; color: var(--text-2); }
.tiny { margin: 0; font-size: 13.5px; color: var(--text-2); }
.foot { text-align: center; margin-top: 8px; }

/* buttons */
.icon-btn { width: 48px; height: 48px; flex: none; border-radius: 24px; border: 1px solid rgba(244,238,231,0.18); background: rgba(244,238,231,0.06); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.btn { min-height: 48px; padding: 0 18px; border-radius: 24px; border: none; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:disabled { opacity: .5; }
.btn-ghost { background: transparent; border: 1px solid rgba(244,238,231,0.28); color: var(--text); font-weight: 600; }
.btn-danger { background: transparent; border: 1px solid rgba(229,103,74,0.45); color: #F2A493; font-weight: 600; margin-top: 8px; }
.link-btn { background: none; border: none; color: var(--sky); font-weight: 600; font-size: 15px; min-height: 44px; padding: 0 4px; }
.dashed-link { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px dashed rgba(212,154,112,0.6); background: transparent; color: var(--caramel); font-size: 15px; font-weight: 600; text-align: left; }

/* chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; border: none; }
.chip-caramel { background: var(--caramel); color: #17120F; }
.chip-blue { background: var(--blue); color: #fff; }
.chip-ghost { background: rgba(244,238,231,0.10); border: 1px solid rgba(244,238,231,0.22); color: var(--text); font-weight: 600; }
.chip-toggle { background: transparent; border: 1px solid rgba(244,238,231,0.28); color: var(--text); min-height: 40px; border-radius: 20px; padding: 0 14px; }
.chip-toggle.on { background: var(--blue); border-color: var(--blue); color: #fff; }
button.chip { cursor: pointer; }

/* record card */
.rec-card { border-radius: 24px; padding: 18px; background: linear-gradient(160deg, var(--midnight) 0%, #1B2A44 45%, var(--espresso) 100%); border: 1px solid rgba(168,200,248,0.28); box-shadow: 0 18px 40px rgba(0,0,0,0.45); display: flex; flex-direction: column; gap: 12px; }
.rec-status { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 5px; background: var(--text-3); }
.dot.live { background: #E0603F; box-shadow: 0 0 10px #E0603F; animation: pulse 1.2s infinite; }
.dot.busy { background: var(--sky); box-shadow: 0 0 10px var(--sky); animation: pulse .8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.timer { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.live-wave { width: 100%; height: 64px; display: block; }

.rec-zone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 2px; }
.rec-ring { width: 116px; height: 116px; border-radius: 58px; display: flex; align-items: center; justify-content: center; background: conic-gradient(from 200deg, var(--blue), var(--sky), var(--leather), var(--caramel), var(--blue)); box-shadow: 0 0 44px rgba(97,158,237,0.55); }
.rec-ring.small { width: 88px; height: 88px; border-radius: 44px; flex: none; }
.rec-btn { width: calc(100% - 16px); height: calc(100% - 16px); border-radius: 50%; border: 4px solid var(--ink); background: radial-gradient(circle at 35% 30%, var(--sky) 0%, var(--blue) 45%, var(--midnight) 100%); display: flex; align-items: center; justify-content: center; padding: 0; color: #fff; }
.rec-btn:active { transform: scale(.97); }
.rec-btn.busy { opacity: .6; animation: breathe 1s ease-in-out infinite; pointer-events: none; }
.rec-icon { width: 34px; height: 34px; border-radius: 17px; background: #E0603F; box-shadow: 0 0 0 4px rgba(255,255,255,.25); transition: border-radius .15s; }
.rec-btn.on .rec-icon { border-radius: 9px; background: var(--text); box-shadow: none; }
.rec-icon.mic { background: none; box-shadow: none; width: auto; height: auto; display: flex; }
.rec-btn.on .rec-icon.mic { width: 28px; height: 28px; border-radius: 8px; background: var(--text); }
.rec-btn.on .rec-icon.mic svg { display: none; }
.hint { font-size: 15px; color: var(--text-2); text-align: center; }
.hint.left { text-align: left; }
.notice { border-radius: 14px; padding: 12px 14px; background: rgba(229,103,74,0.12); border: 1px solid rgba(229,103,74,0.4); font-size: 15px; display: flex; flex-direction: column; gap: 10px; }

.section-head { margin-top: 6px; }
.list { display: flex; flex-direction: column; gap: 10px; }
.idea { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, var(--leather-2) 0%, #1B1D22 100%); border: 1px solid rgba(212,154,112,0.25); color: var(--text); text-align: left; width: 100%; }
.idea .play-btn { width: 44px; height: 44px; }
.idea .meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.idea .name { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idea .sub { font-size: 14px; color: var(--text-2); }
.idea .tag { padding: 5px 9px; border-radius: 8px; background: var(--caramel); color: #17120F; font-size: 13px; font-weight: 700; flex: none; }
.empty-inline, .empty { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 18px; border: 1.5px dashed rgba(244,238,231,0.25); }
.empty p, .empty-inline p { margin: 0; color: var(--text-2); }

.play-btn { width: 52px; height: 52px; flex: none; border-radius: 50%; border: none; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.play-btn .i-pause { display: none; }
.play-btn.playing .i-pause { display: block; }
.play-btn.playing .i-play { display: none; }

/* song */
.title-input { flex: 1; min-width: 0; text-overflow: ellipsis; background: transparent; border: none; border-bottom: 1.5px dashed transparent; font-family: var(--display); font-size: 22px; line-height: 1.2; padding: 4px 2px; text-shadow: 2px 2px 0 var(--leather); }
.title-input:focus { border-bottom-color: var(--caramel); outline: none; }
.player-card { border-radius: 22px; padding: 14px; background: linear-gradient(160deg, var(--midnight) 0%, #1B2A44 50%, var(--espresso) 100%); border: 1px solid rgba(168,200,248,0.25); display: flex; flex-direction: column; gap: 10px; }
.time-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600; white-space: nowrap; }
.toggle { display: inline-flex; border: 1px solid rgba(244,238,231,0.25); border-radius: 18px; overflow: hidden; }
.seg { min-height: 36px; padding: 0 12px; border: none; background: transparent; font-size: 14px; font-weight: 600; color: var(--text-2); }
.seg.on { background: var(--text); color: #17120F; }
.strip-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-radius: 12px; scrollbar-width: none; }
.strip-scroll::-webkit-scrollbar { display: none; }
.strip { position: relative; height: 118px; min-width: 100%; }
.strip canvas { position: absolute; left: 0; bottom: 0; height: 56px; }
.chord-row { position: absolute; left: 0; top: 0; height: 56px; display: flex; }
.chord-cell { position: absolute; top: 0; height: 56px; padding: 0 3px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.chord-chip { min-width: 46px; height: 36px; padding: 0 10px; border-radius: 9px; border: none; background: var(--text); color: #17120F; font-size: 16px; font-weight: 700; white-space: nowrap; }
.chord-chip.sel { background: var(--blue); color: #fff; box-shadow: 0 0 0 3px var(--sky), 0 0 18px rgba(168,200,248,0.6); }
.chord-chip.none { background: rgba(244,238,231,0.12); color: var(--text-2); }
.chord-chip.edited { background: var(--caramel); }
.bar-no { font-size: 12.5px; color: #C3D9FB; padding-left: 2px; }
.playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--text); left: 0; pointer-events: none; box-shadow: 0 0 8px rgba(255,255,255,.6); }
.lyrics { width: 100%; min-height: 150px; resize: vertical; border-radius: 16px; padding: 14px; background: rgba(244,238,231,0.05); border: 1px solid var(--line); font-size: 18px; line-height: 1.5; }
.lyrics:focus { outline: none; border-color: var(--sky); }
.daw-card { border-radius: 18px; padding: 16px; background: linear-gradient(135deg, var(--leather-2), #1B1D22); border: 1px solid rgba(212,154,112,0.3); display: flex; flex-direction: column; gap: 12px; }
.daw-card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.45; }

/* sheet */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 30; }
.sheet { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; max-height: 86vh; overflow-y: auto; z-index: 31; padding: 10px 16px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 28px 28px 0 0; background: linear-gradient(180deg, var(--leather-2) 0%, #1B1D22 60%, #16171B 100%); border-top: 1px solid rgba(212,154,112,0.35); box-shadow: 0 -18px 40px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 12px; }
.sheet-grab { width: 44px; height: 5px; border-radius: 3px; background: rgba(244,238,231,0.3); margin: 0 auto 4px; }
#sheet-body { display: flex; flex-direction: column; gap: 10px; }
.idea-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 12px; border-radius: 16px; background: rgba(244,238,231,0.06); border: 1px solid rgba(244,238,231,0.12); }
.idea-row .badge { min-width: 64px; padding: 9px 6px; text-align: center; border-radius: 10px; font-size: 17px; font-weight: 700; background: var(--text); color: #17120F; flex: none; }
.idea-row:nth-child(3n+1) .badge { background: var(--caramel); }
.idea-row:nth-child(3n+2) .badge { background: var(--blue); color: #fff; }
.idea-row .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.idea-row .kind { font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--caramel); }
.idea-row .why { font-size: 14.5px; line-height: 1.35; }
.idea-row .acts { display: flex; gap: 6px; flex: none; }
.small-btn { min-width: 44px; height: 44px; border-radius: 22px; border: 1px solid rgba(244,238,231,0.28); background: transparent; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; font-weight: 700; font-size: 14px; }
.small-btn.fill { background: var(--blue); border-color: var(--blue); color: #fff; }
.picker { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.picker button { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: rgba(244,238,231,0.06); font-weight: 700; font-size: 15px; padding: 0; }
.picker button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.picker.q { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field { width: 100%; min-height: 48px; border-radius: 14px; padding: 0 14px; background: rgba(244,238,231,0.06); border: 1px solid var(--line); font-size: 16px; }
.field:focus { outline: none; border-color: var(--sky); }
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 14px; top: 14px; color: var(--text-3); }
.search-wrap .field { padding-left: 44px; }
.divider { height: 1px; background: var(--line); margin: 4px 0; }

/* booth */
.pill-note { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: rgba(168,200,248,0.14); border: 1px solid rgba(168,200,248,0.4); font-size: 14px; font-weight: 600; color: #C3D9FB; flex: none; }
.karaoke { border-radius: 22px; padding: 16px; background: linear-gradient(165deg, var(--midnight) 0%, #1B2A44 55%, var(--espresso) 100%); border: 1px solid rgba(168,200,248,0.3); font-size: 21px; font-weight: 600; line-height: 1.45; white-space: pre-wrap; max-height: 220px; overflow-y: auto; }
.karaoke .muted { color: rgba(244,238,231,0.5); font-size: 16px; font-weight: 500; }
.booth-rec { display: flex; align-items: center; gap: 16px; }
.layer { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 16px; background: rgba(244,238,231,0.05); border: 1px solid var(--line); }
.layer.guitar { background: linear-gradient(135deg, var(--leather-2), #1B1D22); border-color: rgba(212,154,112,0.25); }
.layer.sel { border-color: var(--sky); background: rgba(97,158,237,0.14); }
.layer .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.layer .name { font-size: 16px; font-weight: 600; }
.layer .sub { font-size: 13px; color: var(--text-2); }
.layer .muted-btn { color: var(--text-3); }
.mumble { display: flex; flex-direction: column; gap: 10px; }
.phrase { border-radius: 16px; padding: 10px 12px; background: rgba(244,238,231,0.05); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.phrase-head { display: flex; align-items: center; gap: 8px; }
.phrase-head .ttl { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; }
.phrase-head .ttl span { font-weight: 500; color: var(--text-2); font-size: 13.5px; margin-left: 6px; }
.slots { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.slot { flex: 1; max-width: 44px; height: 20px; border-radius: 6px; background: #2C2F37; }
.slot.stress { height: 30px; background: var(--blue); }
.count { font-weight: 700; font-size: 15px; min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.line-opt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(97,158,237,0.12); border: 1px solid rgba(168,200,248,0.35); }
.line-opt .l { flex: 1; min-width: 0; font-size: 17px; line-height: 1.35; }
.line-opt .n { display: block; font-size: 13px; color: #C3D9FB; margin-top: 2px; }

/* tab bar */
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; z-index: 20; display: flex; justify-content: space-around; align-items: flex-start; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(16,17,20,0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(244,238,231,0.10); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 72px; min-height: 52px; border: none; background: none; color: var(--text-3); font-size: 13px; font-weight: 600; padding: 4px 0; }
.tab.on { color: var(--sky); font-weight: 700; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 40; pointer-events: none; width: max-content; text-align: center; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 14px; background: var(--text); color: #17120F; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ===== Round 2: layout helpers ===== */
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-tight { display: flex; flex-direction: column; gap: 8px; }
.nowrap { white-space: nowrap; }
.clip { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 22px; }
.caramel-text { color: var(--caramel); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.lede { line-height: 1.4; }

/* Song: compact player + 3 tabs */
.player-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 18px; background: linear-gradient(135deg, var(--midnight) 0%, #1B2A44 60%, var(--espresso) 100%); border: 1px solid rgba(168,200,248,0.28); }
.player-row .play-btn { width: 48px; height: 48px; }
.mini-wave { flex: 1; min-width: 0; height: 40px; display: block; cursor: pointer; }
.time { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.seg3 { display: flex; padding: 4px; border-radius: 16px; background: rgba(244,238,231,0.07); border: 1px solid rgba(244,238,231,0.12); }
.seg3 button { flex: 1; min-height: 40px; border-radius: 12px; border: none; background: transparent; color: var(--text-2); font-size: 15px; font-weight: 600; transition: background .2s, color .2s; }
.seg3 button.on { background: var(--text); color: #17120F; font-weight: 700; }
.pane { display: flex; flex-direction: column; gap: 12px; animation: paneIn .28s cubic-bezier(.2,.9,.3,1.2) both; }
.mini-toggle { min-height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid rgba(244,238,231,0.28); background: transparent; font-size: 14px; font-weight: 700; color: var(--text-2); }
.mini-toggle[aria-pressed="true"] { background: var(--caramel); border-color: var(--caramel); color: #17120F; }

/* Song chart */
.chart-card { border-radius: 20px; padding: 14px 16px 8px; background: rgba(244,238,231,0.04); border: 1px solid rgba(244,238,231,0.10); min-height: 120px; }
.chart-sec { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--caramel); background: none; border: none; padding: 6px 0; min-height: 32px; }
.chart-sec.add { color: rgba(212,154,112,0.55); letter-spacing: .5px; text-transform: none; font-weight: 600; }
.chart-line { display: flex; flex-wrap: wrap; align-items: flex-end; margin: 0 0 12px; padding: 2px 0; border: none; background: none; text-align: left; width: 100%; color: inherit; border-radius: 8px; }
.chart-line:active { background: rgba(244,238,231,0.06); }
.cw { display: inline-flex; flex-direction: column; align-items: flex-start; margin-right: 6px; }
.cw .c { font-size: 14px; font-weight: 700; color: var(--sky); line-height: 18px; min-height: 18px; }
.cw .t { font-size: 18px; line-height: 25px; white-space: pre; }
.cw .t.low { color: var(--caramel); text-decoration: underline dashed rgba(212,154,112,0.7); text-underline-offset: 5px; }
.chart-bars { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 14px; }
.chart-bars span { min-width: 46px; padding: 6px 10px; border-radius: 9px; background: rgba(168,200,248,0.12); border: 1px solid rgba(168,200,248,0.3); color: var(--sky-2); font-weight: 700; font-size: 15px; text-align: center; }
.chart-empty { color: var(--text-2); font-size: 15px; line-height: 1.45; padding: 4px 0 10px; }

/* Sing */
.route-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid rgba(168,200,248,0.45); background: rgba(168,200,248,0.14); color: #C3D9FB; font-size: 15px; font-weight: 600; max-width: 210px; }
.route-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-btn.speaker { border-color: rgba(212,154,112,0.5); background: rgba(212,154,112,0.12); color: #F6C7A2; }
.sing-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 20px; background: linear-gradient(165deg, var(--midnight) 0%, #1B2A44 55%, var(--espresso) 100%); border: 1px solid rgba(168,200,248,0.3); }
.heard-card { border-radius: 18px; padding: 12px; background: rgba(244,238,231,0.05); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.words { display: flex; flex-wrap: wrap; gap: 6px; }
.w { min-height: 36px; padding: 4px 10px; border-radius: 9px; background: rgba(168,200,248,0.16); border: 1px solid rgba(168,200,248,0.35); font-size: 16px; font-weight: 600; color: var(--text); animation: popIn .32s cubic-bezier(.2,.9,.3,1.4) both; }
.w.low { background: transparent; border: 1.5px dashed rgba(212,154,112,0.75); color: var(--caramel); }
details.fine { border-radius: 16px; border: 1px solid var(--line); padding: 0 12px; }
details.fine summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--text-2); cursor: pointer; }
details.fine[open] { padding-bottom: 12px; }
.phrase-head { display: flex; align-items: center; gap: 8px; }
.phrase-head .ttl { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; }
.phrase-head .ttl span { font-weight: 500; color: var(--text-2); font-size: 13.5px; margin-left: 6px; }
.count { font-weight: 700; font-size: 15px; min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.slots { height: 30px; }
.slot { max-width: 44px; height: 20px; border-radius: 6px; }
.slot.stress { height: 30px; }
#phrases { display: flex; flex-direction: column; gap: 8px; }
.layer.import { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); }
.layer.import .sub { color: #ABA9A7; }

/* Library: swipe to delete */
.swipe { position: relative; border-radius: 18px; overflow: hidden; }
.swipe .del { position: absolute; right: 0; top: 0; bottom: 0; width: 96px; border: none; background: #B33E35; color: #fff; font-weight: 700; font-size: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.swipe .idea { position: relative; transition: transform .28s cubic-bezier(.2,.9,.3,1.15); touch-action: pan-y; }
.swipe.open .idea { transform: translateX(-96px); }
.import-card { border-radius: 18px; padding: 14px; background: rgba(244,238,231,0.06); border: 1px solid rgba(244,238,231,0.14); display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35; }
.step b { flex: none; width: 24px; height: 24px; border-radius: 12px; background: var(--caramel); color: #17120F; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.menu-item { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(244,238,231,0.05); font-size: 16px; font-weight: 600; text-align: left; width: 100%; }
.menu-item small { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); }
.menu-item.danger { color: #F2A493; border-color: rgba(229,103,74,0.4); }

/* ===== Motion: bounce on tap, smooth screens ===== */
button, .idea, [role="button"] { transition: transform .18s cubic-bezier(.2,.9,.3,1.4), background-color .2s, opacity .2s; -webkit-user-select: none; user-select: none; }
.pressing { transform: scale(.94) !important; }
.boing { animation: boing .42s cubic-bezier(.2,.9,.3,1.4); }
@keyframes boing { 0% { transform: scale(.94); } 45% { transform: scale(1.05); } 70% { transform: scale(.99); } 100% { transform: scale(1); } }
@keyframes popIn { from { opacity: 0; transform: scale(.7) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes sheetUp { from { transform: translate(-50%, 100%); } 70% { transform: translate(-50%, -2%); } to { transform: translate(-50%, 0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { box-shadow: 0 0 64px rgba(229,103,74,0.55); } }
.view.enter { animation: viewIn .32s cubic-bezier(.2,.9,.3,1.1) both; }
.sheet:not([hidden]) { animation: sheetUp .42s cubic-bezier(.2,.9,.3,1) both; }
.scrim:not([hidden]) { animation: fadeIn .2s ease both; }
.toast:not([hidden]) { animation: toastIn .3s cubic-bezier(.2,.9,.3,1.3) both; }
.chord-chip, .chart-bars span, .idea-row, .line-opt { animation: popIn .34s cubic-bezier(.2,.9,.3,1.4) both; }
.rec-ring.live { animation: breathe 1.6s ease-in-out infinite; }
.rec-ring.live::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px dashed rgba(255,255,255,.35); animation: spin 6s linear infinite; pointer-events: none; }
.rec-ring { position: relative; }
.tab svg { transition: transform .25s cubic-bezier(.2,.9,.3,1.6); }
.tab.on svg { transform: translateY(-2px) scale(1.12); }

/* Round 2b: follow-along chart, spinners */
.spinner { display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: 50%; border: 2px solid rgba(168,200,248,0.3); border-top-color: var(--sky); animation: spin .8s linear infinite; }
#chart-status { display: inline-flex; align-items: center; }
.chart-line, .chart-bars { transition: background-color .25s, box-shadow .25s; }
.chart-line.now { background: rgba(97,158,237,0.14); box-shadow: -6px 0 0 rgba(97,158,237,0.14), 6px 0 0 rgba(97,158,237,0.14); }
.chart-line.now .c { color: #fff; }
.chart-bars.now span { background: rgba(97,158,237,0.35); color: #fff; }
.cw .c[role="button"] { cursor: pointer; padding-right: 2px; }
.lyrics.mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; white-space: pre; overflow-x: auto; }
.layer .name.clip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.layer .small-btn[aria-pressed] { min-width: 56px; }
.w[disabled] { opacity: 1; }
.more-lines { align-self: flex-start; min-height: 36px; padding: 0 4px; font-size: 14px; }
#line-results .tiny { margin-top: 6px; }

/* ===== Round 3: loops, key change, tuner, chord finder ===== */
.gap-8 { gap: 8px; }
.center { text-align: center; }
.baseline { align-items: baseline; }
.clip-col { display: flex; flex-direction: column; min-width: 0; }
.chip-lg { min-height: 40px; padding: 0 14px; border-radius: 20px; font-size: 14px; border: 1px solid rgba(244,238,231,0.28); background: transparent; }
.chip.moved { box-shadow: 0 0 0 2px rgba(168,200,248,0.7); }
.quality-badge { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 17px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.4); color: #ABA9A7; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.pill-toggle { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid rgba(244,238,231,0.28); background: transparent; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pill-toggle.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
#cf-listen.on { background: #E0603F; border-color: #E0603F; }
.rec-mini { width: 8px; height: 8px; border-radius: 4px; background: #E0603F; flex: none; }
#cf-listen.on .rec-mini { background: #fff; animation: breathe 1.2s ease-in-out infinite; }

/* loop card */
.loop-card { border-radius: 20px; padding: 14px; background: linear-gradient(160deg, rgba(255,255,255,0.12) 0%, rgba(20,21,26,0.5) 55%, rgba(20,21,26,0.8) 100%); border: 1px solid rgba(255,255,255,0.35); display: flex; flex-direction: column; gap: 12px; animation: paneIn .28s cubic-bezier(.2,.9,.3,1.2) both; }
.loop-empty { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.loop-empty p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.4; }
.loop-body { display: flex; flex-direction: column; gap: 12px; }
.loop-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #D9D4CF; color: #1A1210; display: flex; align-items: center; justify-content: center; }
.loop-name { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loop-sub { font-size: 13.5px; color: #ABA9A7; }
.loop-wave { width: 100%; height: 40px; display: block; }

/* key change sheet */
.tp-row { display: flex; align-items: center; gap: 12px; }
.tp-btn { width: 64px; height: 64px; flex: none; border-radius: 32px; border: 1px solid rgba(244,238,231,0.3); background: rgba(244,238,231,0.06); font-size: 30px; font-weight: 600; padding: 0; }
.tp-btn.up { background: var(--blue); border-color: var(--blue); color: #fff; }
.tp-mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.tp-key { font-size: 32px; font-weight: 700; line-height: 1.1; }
.tp-sub { font-size: 14.5px; color: var(--caramel); font-weight: 600; }
.switch-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(244,238,231,0.06); border: 1px solid rgba(244,238,231,0.14); text-align: left; width: 100%; }
.switch-row .txt, .capo-card .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.switch-row b, .capo-card b { font-size: 16px; }
.switch-row small, .capo-card small { font-size: 13.5px; color: var(--text-2); }
.switch-row .knob { width: 52px; height: 32px; flex: none; border-radius: 16px; background: rgba(244,238,231,0.2); position: relative; transition: background .2s; }
.switch-row .knob::after { content: ''; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 13px; background: #fff; transition: transform .25s cubic-bezier(.2,.9,.3,1.4); }
.switch-row.on .knob { background: var(--blue); }
.switch-row.on .knob::after { transform: translateX(20px); }
.capo-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(212,154,112,0.10); border: 1px solid rgba(212,154,112,0.35); }
.capo-card small { color: #F6C7A2; }

/* tuner */
.tuning-pick { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 14px; border-radius: 16px; border: 1px solid rgba(212,154,112,0.4); background: rgba(212,154,112,0.10); text-align: left; }
.tuning-pick b { display: block; font-size: 16px; }
.tuning-pick small { display: block; font-size: 13.5px; color: #F6C7A2; }
.gauge-wrap { position: relative; width: 320px; height: 170px; margin: 0 auto; }
.gauge-wrap svg { display: block; }
.gauge-note { position: absolute; left: 0; right: 0; top: 66px; display: flex; justify-content: center; align-items: flex-start; gap: 2px; pointer-events: none; }
#t-note { font-size: 64px; font-weight: 700; line-height: 1; transition: color .2s, text-shadow .2s; }
#t-oct { font-size: 20px; font-weight: 700; color: var(--text-2); margin-top: 6px; }
.gauge-wrap.in-tune #t-note { color: var(--sky-2); text-shadow: 0 0 24px rgba(168,200,248,0.7); }
.t-readout { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; min-height: 36px; }
.t-status { padding: 6px 14px; border-radius: 16px; background: rgba(244,238,231,0.08); border: 1px solid rgba(244,238,231,0.2); font-size: 15px; font-weight: 700; }
.t-status.ok { background: rgba(168,200,248,0.18); border-color: rgba(168,200,248,0.6); color: #C3D9FB; }
.t-status.near { background: rgba(212,154,112,0.16); border-color: rgba(212,154,112,0.5); color: #F6C7A2; }
.t-status.off { background: rgba(229,103,74,0.14); border-color: rgba(229,103,74,0.5); color: #F2B3A5; }
#t-cents { font-variant-numeric: tabular-nums; }
.strobe { height: 30px; border-radius: 10px; border: 1px solid rgba(168,200,248,0.35); background: repeating-linear-gradient(90deg, rgba(168,200,248,0.65) 0px, rgba(168,200,248,0.65) 12px, rgba(20,21,26,0.4) 12px, rgba(20,21,26,0.4) 24px); }
.t-strings { display: flex; justify-content: space-between; gap: 6px; }
.t-string { width: 52px; height: 52px; border-radius: 26px; border: 2px solid rgba(244,238,231,0.22); background: rgba(244,238,231,0.06); font-size: 18px; font-weight: 700; padding: 0; transition: background .2s, border-color .2s, box-shadow .2s; }
.t-string.active { background: var(--blue); border-color: var(--sky-2); color: #fff; box-shadow: 0 0 18px rgba(97,158,237,0.6); }
.t-string.done { border-color: var(--caramel); background: rgba(212,154,112,0.18); color: #F6C7A2; }
.t-string.done.active { background: var(--blue); color: #fff; }
.t-string.locked { outline: 2px dashed var(--caramel); outline-offset: 3px; }
.tuning-row { display: flex; align-items: center; gap: 8px; }
.tuning-row .menu-item { flex: 1; }
.menu-item.on { border-color: var(--sky); background: rgba(97,158,237,0.16); }

/* what's my tuning */
.cap-rows { display: flex; flex-direction: column; gap: 6px; }
.cap-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: 14px; background: rgba(244,238,231,0.05); border: 1px solid rgba(244,238,231,0.12); text-align: left; }
.cap-row.now { border-color: var(--sky); background: rgba(97,158,237,0.14); animation: breatheBlue 1.6s ease-in-out infinite; }
.cap-row.got { border-color: rgba(212,154,112,0.4); }
@keyframes breatheBlue { 50% { box-shadow: 0 0 22px rgba(97,158,237,0.45); } }
.cap-row .n { width: 26px; height: 26px; border-radius: 13px; background: var(--caramel); color: #17120F; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.cap-row .note { width: 52px; font-size: 18px; font-weight: 700; }
.cap-row .c { width: 48px; font-size: 14px; font-weight: 600; color: var(--sky-2); font-variant-numeric: tabular-nums; }
.cap-row .ch { flex: 1; font-size: 13.5px; color: var(--text-2); text-align: right; }
#cap-result { display: flex; flex-direction: column; gap: 10px; }
.cap-match { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; background: rgba(97,158,237,0.16); border: 1px solid rgba(168,200,248,0.45); animation: popIn .34s cubic-bezier(.2,.9,.3,1.4) both; }
.cap-match b { font-size: 17px; }
.cap-match small { font-size: 13.5px; color: #C3D9FB; }

/* chord finder */
.cf-card { border-radius: 20px; padding: 14px 16px; background: linear-gradient(160deg, var(--midnight) 0%, #1B2A44 55%, var(--espresso) 100%); border: 1px solid rgba(168,200,248,0.3); display: flex; flex-direction: column; gap: 6px; min-height: 132px; }
.cf-name { font-size: 52px; font-weight: 700; line-height: 1; animation: popIn .3s cubic-bezier(.2,.9,.3,1.4) both; }
.cf-degree { font-size: 14px; font-weight: 700; color: var(--sky-2); }
.cf-desc { font-size: 15px; color: var(--text-2); line-height: 1.35; }
.role { font-size: 13px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: rgba(168,200,248,0.18); }
.role.root { background: var(--caramel); color: #17120F; }
.cf-alt:empty { display: none; }
#cf-hear { width: 44px; height: 44px; flex: none; }
.cf-song { display: flex; flex-direction: column; gap: 8px; }
.cf-song:empty { display: none; }
.cf-song-label { font-size: 16px; }
.cf-tile { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 20px; background: rgba(244,238,231,0.05); border: 1px solid var(--line); }
.cf-tile-head { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cf-tile-head b { font-size: 19px; }
.cf-tile-head small { font-size: 13.5px; color: var(--text-2); }
.cf-play { flex: none; gap: 8px; min-height: 44px; padding: 0 18px; }
.cf-preview { display: block; width: 100%; padding: 0; border: none; background: none; }
.cf-preview svg { display: block; max-width: 360px; margin: 0 auto; }
.cf-tuning { align-self: flex-start; padding: 0; min-height: 28px; font-size: 14px; }

/* ---------- sideways player (guitar neck / piano) ---------- */
html:has(body.player-open), body.player-open { overflow: hidden; overscroll-behavior: none; height: 100%; }
body.player-open .tabbar, body.player-open .view { visibility: hidden; }
.player {
  position: fixed; inset: 0; z-index: 60;
  display: grid; grid-template-rows: 46px 38px 28px minmax(0, 1fr); row-gap: 6px;
  padding: max(6px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(6px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
  background:
    radial-gradient(70% 70% at 0% 0%, rgba(185,104,54,0.35) 0%, rgba(185,104,54,0) 60%),
    radial-gradient(60% 60% at 100% 0%, rgba(97,158,237,0.18) 0%, rgba(97,158,237,0) 60%),
    linear-gradient(180deg, #1B1D22 0%, var(--ink) 70%);
  color: var(--text);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  touch-action: manipulation; overscroll-behavior: none;
  animation: fadeIn .2s ease both;
}
.pl-top, .pl-chords { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pl-icon { width: 44px; height: 44px; flex: none; border-radius: 22px; border: 1px solid rgba(244,238,231,0.2); background: rgba(244,238,231,0.06); display: flex; align-items: center; justify-content: center; padding: 0; }
.pl-seg { display: flex; flex: none; padding: 3px; border-radius: 14px; background: rgba(244,238,231,0.07); border: 1px solid rgba(244,238,231,0.12); }
.pl-seg button { width: 74px; height: 36px; border-radius: 11px; border: none; background: transparent; color: var(--text-2); font-size: 14.5px; font-weight: 600; }
.pl-seg button.on { background: var(--text); color: #17120F; font-weight: 700; }
.pl-title { flex: 1; min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 10px; white-space: nowrap; overflow: hidden; }
.pl-name { font-size: 28px; font-weight: 700; line-height: 1; animation: popIn .25s cubic-bezier(.2,.9,.3,1.4) both; }
.pl-notes { font-size: 13.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; }
.pl-degree { font-size: 13px; font-weight: 700; color: var(--sky-2); }
.pl-shapes { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); align-self: center; }
.pl-mini { width: 32px; height: 32px; border-radius: 16px; border: 1px solid rgba(244,238,231,0.25); background: transparent; padding: 0; font-size: 18px; line-height: 1; }
.pl-pill { flex: none; height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid rgba(244,238,231,0.28); background: transparent; font-size: 14.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.pl-pill.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.pl-pill.rec { background: #E0603F; border-color: #E0603F; color: #fff; }
.pl-pill.rec .rec-mini { background: #fff; animation: breathe 1.2s ease-in-out infinite; }
.pl-label { font-family: var(--display); font-size: 15px; color: var(--caramel); flex: none; }
.pl-chiprow { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.pl-chiprow::-webkit-scrollbar { display: none; }
.pl-tuning { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-chip { flex: none; height: 34px; min-width: 50px; padding: 0 12px; border-radius: 17px; border: 1px solid rgba(244,238,231,0.18); background: rgba(244,238,231,0.06); font-size: 15px; font-weight: 700; }
.pl-chip.on { background: var(--caramel); border-color: var(--caramel); color: #17120F; }
.pl-chip.outline { border-color: rgba(168,200,248,0.45); background: transparent; color: var(--sky-2); font-size: 14px; }
.pl-chip.pl-sus.on2 { border-color: var(--sky); background: rgba(168,200,248,0.14); color: var(--sky-2); font-size: 14px; }
.pl-tuning { flex: none; font-size: 13px; color: var(--caramel); font-weight: 700; }
.pl-nav { min-width: 0; }
.pl-navsvg { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.pl-navsvg:focus:not(:focus-visible) { outline: none; }
.pl-stage { position: relative; overflow-x: auto; overflow-y: hidden; display: flex; min-width: 0; min-height: 0; border-radius: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.pl-stage::-webkit-scrollbar { display: none; }
.pl-inner { position: relative; flex: none; touch-action: none; }
.pl-strings, .pl-dots { position: absolute; inset: 0; pointer-events: none; }
.pl-str { position: absolute; left: 0; right: 0; background: linear-gradient(180deg, #FFFFFF, #CBD0D8 50%, #868C95); will-change: transform; transform-origin: center; }
.pl-str.wound { background: linear-gradient(180deg, #EBCB98, #B98A52 50%, #76512D); }
.pl-dot { position: absolute; box-sizing: border-box; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #2F64B9; color: #FFFFFF; border: 2px solid rgba(16,17,20,0.6); font-size: 14px; font-weight: 700; line-height: 1; }
.pl-dot.bass { background: #D49A70; color: #17120F; }
/* each note's job in the chord, beside its dot (root = caramel) */
.pl-tag { position: absolute; height: 22px; padding: 0 9px; box-sizing: border-box; border-radius: 11px; display: flex; align-items: center; background: rgba(16,17,20,0.82); border: 1px solid rgba(244,238,231,0.28); color: #F4EEE7; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.pl-tag.root { background: #D49A70; border-color: #D49A70; color: #17120F; }
.pl-open.open.root { border-color: var(--caramel); background: rgba(212,154,112,0.16); color: #F6C7A2; }
/* "or G6/E" beside the chord name → What you're playing */
.pl-title { align-items: center; }
.pl-also { flex: none; height: 40px; padding: 0 12px; border-radius: 20px; border: 1px solid rgba(168,200,248,0.45); background: rgba(168,200,248,0.10); color: var(--sky-2); font-size: 14.5px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.pl-title .pl-name { flex: none; }
.pl-also { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.pl-also span { overflow: hidden; text-overflow: ellipsis; }
.pl-also svg { flex: none; }
.pl-also.on { background: var(--sky); border-color: var(--sky); color: #0E1B2E; }
.pl-chords .pl-degree, .pl-chords .pl-shapes { flex: none; white-space: nowrap; }
.pl-about-scrim { position: absolute; left: 0; right: 0; top: 100px; bottom: 0; z-index: 4; background: rgba(16,17,20,0.62); }
.pl-about { position: absolute; left: 0; right: 0; margin: 0 auto; top: 62px; z-index: 5; width: min(540px, 92vw); max-height: calc(100% - 70px); overflow-y: auto; box-sizing: border-box; padding: 16px 18px; border-radius: 18px; background: #1B1D22; border: 1px solid rgba(244,238,231,0.22); box-shadow: 0 18px 50px rgba(0,0,0,0.6); display: flex; flex-direction: column; gap: 12px; animation: popIn .22s cubic-bezier(.2,.9,.3,1.2) both; }
.pl-about-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pl-about-title { font-family: var(--display); font-size: 18px; color: var(--caramel); }
.pl-about-done { height: 44px; padding: 0 16px; }
.pl-about-names { display: flex; gap: 10px; }
.pl-about-name { flex: 1; min-width: 0; min-height: 64px; padding: 8px 14px; border-radius: 14px; border: 1px solid rgba(244,238,231,0.22); background: rgba(244,238,231,0.05); color: var(--text); text-align: left; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.pl-about-name.on { border: 2px solid var(--caramel); background: rgba(212,154,112,0.14); }
.pl-about-name b { font-size: 24px; font-weight: 700; line-height: 1.1; }
.pl-about-name small { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.pl-about-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-role { height: 34px; padding: 0 12px; border-radius: 17px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; background: rgba(97,158,237,0.22); border: 1px solid rgba(168,200,248,0.45); color: var(--text); }
.pl-role small { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.pl-role.root { background: var(--caramel); border-color: var(--caramel); color: #17120F; }
.pl-role.root small { color: #2A1A12; }
.pl-about-story { margin: 0; font-size: 14.5px; line-height: 1.45; color: #DDD8D3; }
.pl-inner svg { display: block; }
.pl-nutcol { touch-action: none; position: sticky; left: 0; z-index: 2; flex: none; width: 46px; margin-right: -2px; background: linear-gradient(90deg, rgba(16,17,20,0.96) 70%, rgba(16,17,20,0)); }
.pl-open { position: absolute; left: 3px; width: 38px; height: 40px; border-radius: 20px; border: none; background: transparent; color: #9C9996; font-size: 13px; font-weight: 700; padding: 0; }
.pl-open.open { border: 2.5px solid var(--sky); background: rgba(168,200,248,0.12); color: var(--sky-2); width: 34px; height: 34px; left: 5px; margin-top: 3px; }
.pl-open.muted { color: var(--text-3); font-size: 22px; }
/* (keys light up at once: no fade — a fade repaints the keyboard for several frames per note) */
.pl-key.down { fill: #A8C8F8 !important; }
.pl-key.black.down { fill: #2F64B9 !important; }
.pl-picker { position: absolute; left: 0; right: 0; margin: 0 auto; top: 56px; z-index: 5; width: min(780px, 94vw); display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(27,29,34,0.98); border: 1px solid rgba(244,238,231,0.16); box-shadow: 0 20px 60px rgba(0,0,0,0.6); animation: popIn .2s ease both; }
.pl-pick-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-pick-close { align-self: flex-end; }
.pl-rotate { display: none; }
.player.portrait > :not(.pl-rotate) { display: none; }
.player.portrait { display: flex; align-items: center; justify-content: center; }
.player.portrait .pl-rotate { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--text-2); padding: 24px; }
.player.portrait .pl-rotate b { color: var(--text); font-size: 20px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* loop browser */
.chips.scroll-x { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; -webkit-overflow-scrolling: touch; }
.chips.scroll-x::-webkit-scrollbar { display: none; }
.chips.scroll-x .chip { flex: none; }
.loop-list { display: flex; flex-direction: column; gap: 6px; }
.loop-row { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 8px; border-radius: 16px; background: rgba(244,238,231,0.05); border: 1px solid var(--line); animation: popIn .3s cubic-bezier(.2,.9,.3,1.3) both; }
.loop-row .play-btn { width: 44px; height: 44px; flex: none; }
.loop-row .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.loop-row .name { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loop-row .sub { font-size: 13px; color: var(--text-2); }

/* ===== Round 5: loop player (▶/■, playhead, live tempo) + quick-delete takes ===== */
.loop-info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; justify-content: center; padding: 0; border: none; background: transparent; color: var(--text); text-align: left; }
.loop-sub { font-size: 14px; white-space: nowrap; }
.loop-transport { display: flex; align-items: flex-start; gap: 12px; }
.loop-play { width: 52px; height: 52px; flex: none; border-radius: 50%; border: none; padding: 0; display: flex; align-items: center; justify-content: center; background: var(--text); color: #17120F; transition: background .15s, box-shadow .15s; }
.loop-play .i-stop, .loop-play .i-busy { display: none; }
.loop-play.playing { background: var(--caramel); box-shadow: 0 0 0 5px rgba(212,154,112,0.25); }
.loop-play.playing .i-play { display: none; }
.loop-play.playing .i-stop { display: block; }
.loop-play.busy .i-play { display: none; }
.loop-play.busy .i-busy { display: inline-block; margin: 0; width: 20px; height: 20px; border-color: rgba(26,15,8,0.25); border-top-color: #17120F; }
.loop-track { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.loop-bar { position: relative; height: 52px; padding: 6px 0; box-sizing: border-box; border-radius: 10px; background: rgba(16,17,20,0.35); touch-action: pan-y; cursor: pointer; -webkit-user-select: none; user-select: none; }
.loop-bar .loop-wave { height: 40px; }
.loop-lit { position: absolute; left: 0; top: 6px; height: 40px; width: 0; overflow: hidden; pointer-events: none; }
.loop-lit .loop-wave { height: 40px; max-width: none; }
.loop-head { position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--text); box-shadow: 0 0 8px rgba(255,255,255,.55); opacity: 0; pointer-events: none; will-change: transform; }
.loop-head::before { content: ''; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 5px; background: var(--text); }
.loop-nums { position: relative; height: 18px; }
.loop-nums span { position: absolute; top: 0; font-size: 13px; font-weight: 600; color: #9C9996; padding-left: 2px; }
.loop-nums span.on { color: var(--text); font-weight: 800; }
.loop-tempo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tempo-step { display: flex; align-items: center; height: 44px; border-radius: 22px; background: var(--blue); color: #fff; overflow: hidden; }
.tempo-step button { height: 44px; border: none; background: transparent; color: #fff; padding: 0; display: flex; align-items: center; justify-content: center; }
.tempo-step button:not(.tempo-val) { width: 44px; }
.tempo-step .tempo-val { min-width: 84px; padding: 0 6px; font-size: 17px; font-weight: 700; border-left: 1px solid rgba(255,255,255,0.25); border-right: 1px solid rgba(255,255,255,0.25); white-space: nowrap; }
.speed-seg { display: flex; gap: 2px; padding: 2px; height: 44px; box-sizing: border-box; border-radius: 22px; border: 1px solid rgba(244,238,231,0.28); }
.speed-seg button { width: 42px; height: 38px; border: none; border-radius: 19px; padding: 0; background: transparent; color: var(--text); font-size: 16px; font-weight: 700; }
.speed-seg button.on { background: var(--text); color: #17120F; }
.loop-status-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; margin-top: -4px; font-size: 14px; color: #ABA9A7; }
.loop-reset { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.own-tempo { display: flex; align-items: baseline; gap: 10px; }
.own-tempo .big { font-size: 22px; font-weight: 700; }

/* Record tab lists: takes over the loop / recent ideas, with one-tap delete */
.count-pill { min-width: 28px; height: 28px; padding: 0 9px; box-sizing: border-box; border-radius: 14px; background: rgba(244,238,231,0.10); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.idea .name-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.idea .name-row .name { min-width: 0; }
.idea .sub.chords { color: var(--caramel); font-weight: 600; }
.idea.take .name { font-weight: 700; }
.idea.new { background: linear-gradient(135deg, rgba(212,154,112,0.22), rgba(97,158,237,0.14)); border-color: rgba(212,154,112,0.55); animation: popIn .34s cubic-bezier(.2,.9,.3,1.3) both; }
.new-tag { flex: none; padding: 2px 8px; border-radius: 8px; background: var(--caramel); color: #17120F; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.quick-del { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid rgba(240,140,115,0.45); background: rgba(229,103,74,0.10); color: #F2A493; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.quick-del svg { width: 20px; height: 20px; }
.undo-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 12px); z-index: 40; width: calc(100% - 32px); max-width: 448px; min-height: 56px; box-sizing: border-box; padding: 6px 6px 6px 18px; border-radius: 16px; background: var(--text); color: #17120F; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.undo-bar:not([hidden]) { animation: undoIn .28s cubic-bezier(.2,.9,.3,1.2) both; }
.undo-btn { min-height: 44px; padding: 0 18px; border-radius: 22px; border: none; background: var(--blue); color: #fff; font-size: 16px; font-weight: 700; flex: none; }
@keyframes undoIn { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.hint { text-wrap: balance; }

/* ---- round 7: ukulele + banjo — tuner, tunings sheet, the instrument menu, the short string ---- */
.t-string.short { position: relative; }
.t-string[data-sub]::after { content: attr(data-sub); position: absolute; left: 50%; top: calc(100% + 5px); transform: translateX(-50%); font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.t-strings:has(.t-string.short) { margin-bottom: 16px; }
.inst-chips { display: flex; gap: 6px; }
.inst-chip { flex: 1; min-width: 0; min-height: 44px; padding: 0; border-radius: 22px; border: 1px solid rgba(244,238,231,0.22); background: rgba(244,238,231,0.06); color: var(--text); font-size: 15px; font-weight: 700; }
.inst-chip.on { background: var(--text); border-color: var(--text); color: #17120F; }
.tn-list { display: flex; flex-direction: column; gap: 8px; }
.tn-head { margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--caramel); }
.menu-item.tn-item { min-height: 56px; padding: 6px 14px; border-radius: 16px; }
.tn-item .tn-name { flex: 1; min-width: 0; font-size: 16.5px; font-weight: 700; }
.tn-item .tn-notes { flex: none; font-size: 16px; font-weight: 700; letter-spacing: 1.5px; color: #F6C7A2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tn-item .tn-check { flex: none; width: 32px; height: 32px; border-radius: 16px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
#tn-search::-webkit-search-cancel-button { -webkit-appearance: none; }
.pl-seg #pl-g { width: auto; min-width: 74px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.pl-seg #pl-g svg { flex: none; opacity: 0.75; }
.pl-seg #pl-g:not(.on) svg { display: none; }
.pl-instmenu .pl-chip { height: 40px; }
.pl-tunings { max-height: 44vh; overflow-y: auto; align-content: flex-start; }
.pl-instmenu .pl-chip.pl-tn { height: 46px; padding: 0 14px; border-radius: 14px; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; text-align: left; }
.pl-tn b { font-size: 14.5px; font-weight: 700; line-height: 1.1; }
.pl-tn small { font-size: 12px; font-weight: 600; letter-spacing: 0.8px; color: var(--text-2); line-height: 1.1; }
.pl-chip.pl-tn.on2 { border-color: var(--sky); background: rgba(97,158,237,0.18); }

/* ---- round 7b: the Band tab — a mixer row per part, add a layer, shape it ---- */
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 2px; }
.band-head h2 { margin: 0; font-size: 24px; font-weight: 400; }
.band-follows { font-size: 14px; font-weight: 600; color: var(--sky-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.band-rows, .band-cards { display: flex; flex-direction: column; gap: 8px; }
.band-row, .band-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(244,238,231,0.06); border: 1px solid rgba(244,238,231,0.12); }
.band-row.fresh, .band-card.try { background: linear-gradient(135deg, rgba(212,154,112,0.20), rgba(97,158,237,0.12)); border-color: rgba(212,154,112,0.55); }
.band-row.muted .band-ico, .band-row.muted .band-meta { opacity: 0.5; }
.band-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.band-ico.rec { background: rgba(229,103,74,0.18); color: #F2A493; }
.band-meta { flex: 1; min-width: 0; min-height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0; border: none; background: transparent; color: var(--text); text-align: left; }
.band-name { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; white-space: nowrap; }
.band-sub { font-size: 14px; line-height: 1.3; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band-sub.wrap { white-space: normal; overflow: visible; }
.band-tag { padding: 2px 8px; border-radius: 8px; background: var(--caramel); color: #17120F; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }
.band-mute { width: 44px; height: 44px; flex: none; border-radius: 22px; border: 1px solid rgba(244,238,231,0.22); background: transparent; color: var(--text); display: flex; align-items: center; justify-content: center; padding: 0; }
.band-mute.on { border-color: rgba(240,140,115,0.5); background: rgba(229,103,74,0.12); color: #F2A493; }
.band-vol { -webkit-appearance: none; appearance: none; width: 84px; height: 44px; flex: none; margin: 0; padding: 0; background: transparent; touch-action: pan-y; cursor: pointer; }
.band-vol.wide { flex: 1; width: auto; min-width: 0; }
.band-vol:focus { outline: none; }
.band-vol::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--c, #619EED) var(--p, 50%), rgba(244,238,231,0.18) var(--p, 50%)); }
.band-vol::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 11px; border: none; background: #F4EEE7; box-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.band-vol.wide::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -11px; border-radius: 13px; }
.band-vol::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--c, #619EED) var(--p, 50%), rgba(244,238,231,0.18) var(--p, 50%)); }
.band-vol::-moz-range-thumb { width: 22px; height: 22px; border-radius: 11px; border: none; background: #F4EEE7; box-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.band-add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; border-radius: 26px; border: 1.5px dashed rgba(244,238,231,0.4); background: transparent; color: var(--text); font-size: 16px; font-weight: 700; }
.tiny.center { text-align: center; }
.band-foot { line-height: 1.4; font-size: 14px; }
.band-lede { margin: 0; font-size: 15px; line-height: 1.4; color: var(--text-2); }
.band-lede b { color: var(--sky-2); }
.band-card .band-ico { width: 46px; height: 46px; }
.band-hear { width: 46px; height: 46px; flex: none; border-radius: 23px; border: none; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; }
.band-hear.on { background: var(--text); color: #17120F; }
.band-go { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--text-2); }
.band-or { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--caramel); }
.band-or::after { content: ''; flex: 1; height: 1px; background: rgba(212,154,112,0.35); }
.band-label { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--caramel); }
.band-playrow { display: flex; align-items: center; gap: 12px; }
.band-play { width: 48px; height: 48px; }
.band-chips { display: flex; gap: 6px; }
.band-chips.wrap { flex-wrap: wrap; }
.band-chip { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 10px; border-radius: 22px; border: 1px solid rgba(244,238,231,0.22); background: rgba(244,238,231,0.06); color: var(--text); font-size: 15px; font-weight: 700; white-space: nowrap; }
.band-chips.wrap .band-chip { flex: none; padding: 0 14px; }
.band-chip.on { background: var(--sky); border-color: var(--sky); color: #0E1B2E; }
.band-chip:disabled { opacity: 0.4; }
.band-lineup { margin-top: -2px; }
.band-seg button { min-height: 44px; }
.band-lane { display: flex; gap: 6px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg, var(--midnight) 0%, #1B2A44 60%, var(--espresso) 100%); border: 1px solid rgba(168,200,248,0.28); }
.band-lane-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.band-lane-col b { font-size: 16px; font-weight: 700; color: var(--sky-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band-lane-box { display: flex; flex-direction: column; justify-content: space-around; height: 56px; padding: 4px; border-radius: 8px; background: rgba(16,17,20,0.35); border: 1px solid rgba(244,238,231,0.10); }
.band-lane-row { position: relative; display: block; height: 8px; }
.band-lane-row i { position: absolute; top: 0; height: 8px; border-radius: 4px; background: var(--sky); opacity: 0.8; max-width: 100%; }
.band-volrow { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.band-volrow .band-label { width: 66px; flex: none; }
.band-remove { min-width: 108px; border: 1px solid rgba(240,140,115,0.5); background: transparent; color: #F2A493; }

/* ---- round 7c: drums lane, one-row bass lane ---- */
.band-lane.one .band-lane-box { height: 26px; }
.band-lane.drums { flex-direction: column; gap: 8px; }
.band-drum-row { display: flex; align-items: center; gap: 10px; }
.band-drum-row b { width: 58px; flex: none; font-size: 14px; font-weight: 700; color: var(--sky-2); }
.band-steps { flex: 1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.band-steps i { height: 14px; border-radius: 4px; background: rgba(244,238,231,0.08); }
.band-steps i.beat { background: rgba(244,238,231,0.14); }
.band-steps i.on { background: #F1B88D; }
/* a long loop name wraps to two lines (then …) and never runs under "Change" */
.loop-info { min-width: 0; overflow: hidden; }
.loop-info .loop-name { max-width: 100%; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; line-height: 1.2; overflow-wrap: anywhere; }
.loop-info .loop-sub { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
#loop-change { flex: none; }

/* Round 11: Tidy the chords (mock boards 27–29) */
.tidy-strip { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 12px 8px 14px; border-radius: 18px; background: rgba(241,184,141,0.10); border: 1px solid rgba(241,184,141,0.55); color: var(--text); text-align: left; }
.tidy-badge { width: 40px; height: 40px; flex: none; border-radius: 20px; background: #F1B88D; color: #1A1210; display: flex; align-items: center; justify-content: center; }
.tidy-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tidy-txt b { font-size: 16px; font-weight: 700; }
.tidy-txt small { font-size: 14px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tidy-i { display: inline-flex; flex: none; }
.tidy-i.go { color: #F1B88D; }
.tidy-done { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 4px 6px 4px 14px; border-radius: 18px; background: rgba(244,238,231,0.05); border: 1px solid rgba(244,238,231,0.12); }
.tidy-dot { width: 8px; height: 8px; flex: none; border-radius: 4px; background: var(--caramel); display: block; }
.tidy-done-txt { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; }
.tidy-link { height: 44px; padding: 0 14px; flex: none; border-radius: 22px; border: none; background: transparent; color: var(--sky); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.chart-tools { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.mini-toggle.wand { width: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.chart-card { position: relative; }
.cw .c.tsus { color: #F1B88D; padding: 0 5px; margin-right: 4px; border: 1.5px dashed #F1B88D; border-radius: 7px; background: rgba(241,184,141,0.12); }
.chart-line.now .c.tsus { color: #F1B88D; }
.chart-bars span.tsus { color: #F1B88D; border: 1.5px dashed #F1B88D; background: rgba(241,184,141,0.12); }
.cw .c.tdot::after, .chart-bars span.tdot::after, .chord-chip.tidied::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 3px; background: var(--caramel); margin-left: 4px; vertical-align: middle; position: relative; top: -1px; }
.chord-chip.tidied::after { background: #B97950; }
.tidy-lede { margin: 0; font-size: 15px; line-height: 1.38; color: var(--text-2); }
.tidy-card { padding: 12px 14px 14px; border-radius: 18px; background: rgba(244,238,231,0.05); border: 1px solid rgba(244,238,231,0.12); display: flex; flex-direction: column; gap: 9px; }
.tidy-top { display: flex; align-items: baseline; justify-content: space-between; }
.tidy-kick { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; color: var(--caramel); }
.tidy-at { font-size: 14px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.tidy-move { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 24px; font-weight: 700; line-height: 1.2; }
.tidy-move .stay, .tidy-move .arrow { color: var(--text-2); }
.tidy-move .from { color: #F1B88D; text-decoration: line-through; text-decoration-thickness: 2px; }
.tidy-move .to { color: var(--sky); }
.tidy-why { font-size: 15px; line-height: 1.38; color: var(--text-2); }
.tidy-acts { display: flex; gap: 8px; }
.tidy-acts button { height: 44px; border-radius: 22px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.tidy-hear { padding: 0 14px 0 12px; flex: none; border: 1px solid rgba(168,200,248,0.5); background: rgba(168,200,248,0.12); color: var(--sky); display: inline-flex; align-items: center; gap: 6px; }
.tidy-hear.on { background: var(--sky); border-color: var(--sky); color: #0E1B2E; }
.tidy-leave { flex: 1; min-width: 0; padding: 0 8px; border: 1px solid rgba(244,238,231,0.22); background: transparent; color: var(--text); }
.tidy-go { flex: 1; min-width: 0; padding: 0 8px; border: none; background: var(--blue); color: #fff; }
.tidy-tally { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-left: 4px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.tidy-ok { width: 100%; min-height: 50px; border-radius: 25px; }
.tidy-pop { position: absolute; z-index: 6; width: 206px; padding: 12px 12px 12px 14px; border-radius: 16px; background: #1E2026; border: 1px solid rgba(212,154,112,0.6); box-shadow: 0 10px 28px rgba(0,0,0,0.6); display: flex; flex-direction: column; gap: 8px; animation: tidyIn .2s ease-out both; }
.tidy-pop .tip { position: absolute; left: 22px; top: -7px; width: 12px; height: 12px; background: #1E2026; border-left: 1px solid rgba(212,154,112,0.6); border-top: 1px solid rgba(212,154,112,0.6); transform: rotate(45deg); display: block; }
.tidy-pop-txt { font-size: 15px; line-height: 1.35; }
.tidy-pop-txt .dim { color: var(--text-2); }
.tidy-back { height: 44px; border-radius: 22px; border: 1px solid rgba(168,200,248,0.5); background: rgba(168,200,248,0.12); color: var(--sky); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
@keyframes tidyIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.tidy-note { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 16px; background: rgba(212,154,112,0.10); border: 1px solid rgba(212,154,112,0.5); font-size: 15px; }
.tidy-note span { flex: 1; min-width: 0; }

/* Round 12: pick a drummer (mock boards 30–31) */
.band-drummer { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 12px; border-radius: 18px; background: rgba(241,184,141,0.10); border: 1px solid rgba(241,184,141,0.55); color: var(--text); text-align: left; }
.band-drummer-ico { width: 40px; height: 40px; flex: none; border-radius: 20px; background: #F1B88D; color: #1A1210; display: flex; align-items: center; justify-content: center; }
.band-drummer-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.band-drummer-txt b { font-size: 17px; font-weight: 700; }
.band-drummer-txt small { font-size: 14px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band-drummer-go { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 700; color: #F1B88D; }
.band-drummer-go span { display: inline-flex; }
.band-card.drummer { min-height: 78px; padding: 8px 10px 8px 14px; background: rgba(244,238,231,0.05); }
.band-card.drummer.kept { background: rgba(241,184,141,0.10); border-color: rgba(241,184,141,0.55); }
.band-card.drummer.sounding { background: rgba(168,200,248,0.10); border-color: rgba(168,200,248,0.75); }
.band-card.drummer .band-tag { background: #F1B88D; color: #1A1210; font-size: 11px; letter-spacing: 1px; padding: 2px 7px; }
.band-card.drummer .band-tag.sky { background: var(--sky); color: #0E1B2E; }
.band-card.drummer .band-hear.try { width: 48px; height: 48px; border-radius: 24px; border: 1px solid rgba(168,200,248,0.5); background: rgba(168,200,248,0.12); color: var(--sky); }
.band-card.drummer .band-hear.try.on { border-color: var(--sky); background: var(--sky); color: #0E1B2E; }
.band-pick-done { width: 100%; min-height: 50px; border-radius: 25px; }

/* ===================== Round 13: the new look (boards 32–40) =====================
   Studio light: copper from the lower left, blue from the upper right, the middle stays dark.
   Soft glass on cards, rows, buttons and chips (no blur on them: the light behind is already smooth);
   real blur only where content passes underneath (tab bar, sheets, toasts).
   Copper = you (key, chords, your take). Blue = action and what's selected. Lyrics sit on a darker surface. */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 0% 85%, rgba(185,104,54,0.42) 0%, rgba(105,58,34,0.18) 30%, rgba(105,58,34,0) 60%),
    radial-gradient(ellipse at 100% 0%, rgba(56,119,202,0.42) 0%, rgba(30,65,112,0.18) 32%, rgba(30,65,112,0) 62%),
    var(--ink); }
.app { background: transparent; }
.view { padding-bottom: calc(var(--tab-h) + var(--tab-gap) + 24px); }

/* glass building blocks */
.rec-card, .player-card, .player-row, .chart-card, .sing-card, .heard-card, .cf-card, .cf-tile, .loop-card, .import-card, .daw-card,
.idea, .band-row, .band-card, .layer, .phrase, .menu-item, .switch-row, .cap-row, .tidy-card, .tidy-done, .loop-row, .idea-row, .tuning-pick, details.fine {
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--glass-hi); }
.rec-card, .cf-card, .loop-card, .sing-card { border-radius: 24px; box-shadow: var(--glass-hi), 0 12px 30px rgba(0,0,0,0.22); }
.idea, .band-row, .loop-row { border-radius: 20px; box-shadow: var(--glass-hi), 0 10px 24px rgba(0,0,0,0.20); }

/* buttons */
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.11); background: var(--glass-btn); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 6px 16px rgba(0,0,0,0.22); }
.btn { min-height: 50px; padding: 0 20px; border-radius: 25px; font-weight: 600; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-primary, .undo-btn, .tidy-go, .cf-play { background: var(--glass-blue); color: #F7F3EE; border: 1px solid rgba(168,200,248,0.42); box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), inset 0 -10px 18px rgba(18,40,92,0.28), 0 10px 26px rgba(97,158,237,0.26); }
.btn-primary:disabled { opacity: .5; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.btn-ghost, .tidy-leave, .band-add, .speed-seg, .pill-toggle, .chip-lg, .mini-toggle, .pl-pill, .pl-icon, .route-btn, .small-btn, .tidy-back, .tidy-hear, .t-string, .tp-btn, .inst-chip, .band-chip, .pl-chip, .pl-also, .band-mute, .quick-del, .pl-mini {
  background: var(--glass-btn); border: 1px solid rgba(255,255,255,0.12); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 8px 20px rgba(0,0,0,0.20); }
.btn-ghost { font-weight: 600; }
.btn-danger, .band-remove { background: linear-gradient(180deg, rgba(229,103,74,0.16), rgba(229,103,74,0.07)); border: 1px solid rgba(240,140,115,0.40); color: #F2A493; }
.link-btn, .tidy-link { color: var(--sky); }
.dashed-link { background: var(--tint-copper); border: 1px solid rgba(241,184,141,0.25); color: var(--peach-2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10); }
.small-btn.fill, .tn-item .tn-check { background: var(--glass-blue); border-color: rgba(168,200,248,0.42); color: #F7F3EE; }

/* play buttons: the main one is blue glass; ones in lists are quiet glass with a blue glyph */
.play-btn, .loop-play, .band-hear, #cf-hear { background: var(--glass-blue); color: #F7F3EE; border: 1px solid rgba(168,200,248,0.45); box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), inset 0 -8px 14px rgba(18,40,92,0.28), 0 8px 22px rgba(97,158,237,0.30); }
.idea .play-btn, .loop-row .play-btn, .band-card.drummer .band-hear.try { background: linear-gradient(180deg, rgba(168,200,248,0.16), rgba(97,158,237,0.07)); border: 1px solid rgba(168,200,248,0.20); color: #BBD5FA; box-shadow: inset 0 1px 0 rgba(255,255,255,0.14); }
.play-btn.playing, .loop-play.playing, .band-hear.on, .band-card.drummer .band-hear.try.on { background: var(--glass-blue); color: #F7F3EE; border-color: rgba(168,200,248,0.55); box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 0 0 4px rgba(97,158,237,0.18), 0 8px 22px rgba(97,158,237,0.34); }
.loop-play.busy .i-busy { border-color: rgba(247,243,238,0.3); border-top-color: #F7F3EE; }

/* chips */
.chip { min-height: 32px; padding: 6px 12px; border-radius: 16px; font-weight: 600; }
.chip-caramel, .role.root, .new-tag, .band-tag, .band-card.drummer .band-tag, .step b, .cap-row .n, .pl-chip.on, .pl-role.root {
  background: var(--tint-copper); color: var(--peach-2); border: none; box-shadow: inset 0 0 0 1px rgba(241,184,141,0.24), inset 0 1px 0 rgba(255,255,255,0.12); }
.chip-blue, .band-tag.sky, .band-card.drummer .band-tag.sky, .pl-role, .w, .line-opt { background: var(--tint-blue); color: #BBD5FA; border: none; box-shadow: inset 0 0 0 1px rgba(168,200,248,0.22), inset 0 1px 0 rgba(255,255,255,0.12); }
.w, .line-opt, .pl-role { color: var(--text); }
.chip-ghost, .role, .count-pill, .idea .tag { background: var(--glass-btn); color: #DDD8D3; border: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.09), inset 0 1px 0 rgba(255,255,255,0.10); }
.idea .tag { color: var(--text-2); font-size: 13px; font-weight: 600; border-radius: 14px; padding: 5px 10px; }
.new-tag, .band-tag, .band-card.drummer .band-tag { padding: 3px 9px; border-radius: 11px; font-size: 12.5px; font-weight: 700; letter-spacing: 0; }
.chip-toggle { background: var(--glass-btn); border: 1px solid rgba(255,255,255,0.12); }
.chip-toggle.on, .pill-toggle.on, .band-chip.on, .inst-chip.on, .pl-chip.pl-sus.on2, .pl-chip.pl-tn.on2, .menu-item.on, .pl-also.on, .tidy-hear.on {
  background: linear-gradient(180deg, rgba(168,200,248,0.26), rgba(97,158,237,0.12)); color: #C3D9FB; border: 1.5px solid rgba(168,200,248,0.55); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 18px rgba(97,158,237,0.22); }
.mini-toggle[aria-pressed="true"] { background: var(--tint-copper); border-color: rgba(241,184,141,0.40); color: var(--peach-2); }
.mini-toggle.wand { color: var(--peach); }
.chip.moved { box-shadow: 0 0 0 2px rgba(168,200,248,0.7); }
.role { font-weight: 600; padding: 5px 10px; border-radius: 13px; }

/* segmented controls: a glass track with a lit glass thumb */
.seg3, .toggle, .speed-seg, .pl-seg { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025)), rgba(16,17,21,0.45); border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.seg3 { padding: 3px; border-radius: 23px; }
.seg3 button { min-height: 38px; border-radius: 19px; color: var(--text-2); font-weight: 500; }
.band-seg button { min-height: 44px; }
.seg3 button.on, .seg.on, .speed-seg button.on, .pl-seg button.on { background: linear-gradient(180deg, rgba(255,255,255,0.17), rgba(255,255,255,0.07)); color: var(--text); font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 0 0 1px rgba(255,255,255,0.08), 0 4px 12px rgba(0,0,0,0.30); }
.toggle { border-radius: 18px; }
.inst-chips { gap: 6px; }

/* Record */
.rec-card { padding: 16px 16px 14px; gap: 10px; }
.rec-status { min-width: 0; gap: 8px; }
#rec-status-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 4px; background: #6F6D6B; }
.dot.live { background: #E0603F; box-shadow: 0 0 10px rgba(224,96,63,0.8); }
.timer { font-size: 30px; font-weight: 600; letter-spacing: -0.5px; }
.live-wave { height: 52px; }
.quality-badge { flex: none; height: 28px; padding: 0 10px; margin-left: 4px; gap: 5px; border-radius: 14px; border: none; background: var(--glass-btn); color: var(--text-2); font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.09), inset 0 1px 0 rgba(255,255,255,0.10); }
.rec-status:has(.dot.busy) .quality-badge { display: none; }
.readout { display: flex; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.07); }
.ro { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 0 12px; border-left: 1px solid rgba(255,255,255,0.07); }
.ro:first-child { padding-left: 0; border-left: none; }
.ro-l { font-size: 13px; line-height: 17px; font-weight: 500; color: var(--text-3); }
.ro-v { font-size: 17px; line-height: 22px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro-v.key { color: var(--peach); }
.ro-v.bpm { color: var(--sky); }
.ro-v.wait { font-size: 15px; font-weight: 500; color: var(--text-3); }
.lede { font-size: 15px; line-height: 20px; color: var(--text-2); margin: -2px 0 0; }
.rec-zone { gap: 10px; padding-top: 6px; }
.rec-zone::before { content: ''; position: absolute; left: 50%; top: -4px; width: 300px; height: 170px; margin-left: -150px; pointer-events: none;
  background: radial-gradient(45% 50% at 32% 55%, rgba(185,121,80,0.20) 0%, rgba(185,121,80,0) 70%), radial-gradient(45% 50% at 68% 55%, rgba(97,158,237,0.20) 0%, rgba(97,158,237,0) 70%); }
.rec-ring { width: 132px; height: 132px; padding: 2px; box-sizing: border-box; border-radius: 50%;
  background: conic-gradient(from 215deg, #B97950, #F1B88D, #CDC5C6, #A8C8F8, #619EED, #8E7FA6, #B97950);
  box-shadow: 0 22px 50px rgba(0,0,0,0.6), 0 0 0 6px rgba(255,255,255,0.025); }
.rec-ring.small { width: 88px; height: 88px; }
.rec-btn { width: 100%; height: 100%; border: none; color: var(--text);
  background: radial-gradient(115% 85% at 50% -5%, rgba(255,255,255,0.17) 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0) 66%), radial-gradient(90% 70% at 50% 108%, rgba(97,158,237,0.14) 0%, rgba(97,158,237,0) 70%), #17181D;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.38), inset 0 -16px 30px rgba(0,0,0,0.5); }
.rec-icon { width: 52px; height: 52px; border-radius: 26px; background: radial-gradient(circle at 36% 30%, #FFD3B3 0%, #F28C63 38%, #D2523A 100%); box-shadow: 0 0 26px rgba(232,110,74,0.45), inset 0 -3px 6px rgba(120,30,10,0.35); }
.rec-ring.small .rec-icon:not(.mic) { width: 34px; height: 34px; }
.rec-btn.on .rec-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--text); box-shadow: 0 0 22px rgba(244,238,231,0.22); }
.rec-ring.small .rec-btn.on .rec-icon { width: 28px; height: 28px; border-radius: 8px; }
.rec-icon.mic { color: #F6B08F; background: none; box-shadow: none; filter: drop-shadow(0 0 10px rgba(232,110,74,0.45)); }
.rec-btn.on .rec-icon.mic { background: var(--text); filter: none; }
.rec-ring.live { animation: breathe 1.6s ease-in-out infinite; }
.rec-ring.live::before { display: none; }
@keyframes breathe { 50% { box-shadow: 0 22px 50px rgba(0,0,0,0.6), 0 0 0 6px rgba(97,158,237,0.12), 0 0 46px rgba(97,158,237,0.42); } }
.hint { font-size: 15px; line-height: 20px; color: var(--text-2); }
.notice { background: linear-gradient(180deg, rgba(229,103,74,0.14), rgba(229,103,74,0.06)); border: 1px solid rgba(240,140,115,0.38); border-radius: 18px; }

/* lists */
.idea { padding: 12px 14px; gap: 12px; }
.idea .name { font-size: 17px; font-weight: 600; }
.idea .sub { font-size: 14px; color: var(--text-2); }
.idea .sub.chords { color: var(--caramel); font-weight: 600; }
.idea.new { background: linear-gradient(135deg, rgba(241,184,141,0.16), rgba(97,158,237,0.10)), rgba(20,21,26,0.5); border-color: rgba(241,184,141,0.40); }
/* (a library row slides over its red Delete, so it can't be see-through) */
.swipe .idea { background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 48%, rgba(255,255,255,0.05) 100%), #17181D; }
.quick-del { width: 44px; height: 44px; color: #E5937F; }
.empty-inline, .empty { border: 1px solid rgba(255,255,255,0.10); background: var(--glass); border-radius: 20px; }
.swipe { border-radius: 20px; }
.swipe .del { background: #B33E35; color: #F7F3EE; }
.section-head .marker, .band-head .marker { font-size: 19px; }
.field, .lyrics { background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)), rgba(16,17,21,0.5); border: 1px solid rgba(255,255,255,0.10); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.field { border-radius: 14px; }
.field:focus, .lyrics:focus { border-color: rgba(168,200,248,0.6); }

/* the song */
.title-input { font-family: var(--body); font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.3px; text-shadow: none; }
.title-input:focus { border-bottom-color: var(--caramel); }
.player-row { border-radius: 20px; padding: 10px 14px 10px 10px; box-shadow: var(--glass-hi), 0 12px 30px rgba(0,0,0,0.22); }
.player-row .play-btn { width: 52px; height: 52px; }
.time { color: #D9D4CF; }
.chart-card { background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)), rgba(13,14,17,0.80); border: 1px solid rgba(255,255,255,0.08); border-radius: 22px; padding: 16px 18px 8px; }
.chart-sec { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--caramel); }
.chart-sec.add { color: rgba(212,154,112,0.6); }
.cw .c { font-size: 15px; line-height: 20px; min-height: 20px; color: var(--peach); }
.cw .t { font-size: 18px; line-height: 26px; }
.cw .t.low { color: var(--caramel); text-decoration-color: rgba(212,154,112,0.7); }
.chart-bars span { background: var(--glass-btn); border: 1px solid rgba(255,255,255,0.12); color: var(--peach-2); border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16); }
.chart-line.now { background: rgba(97,158,237,0.14); box-shadow: -6px 0 0 rgba(97,158,237,0.14), 6px 0 0 rgba(97,158,237,0.14); }
.chart-line.now .c { color: var(--text); }
.chart-bars.now span { background: var(--tint-blue); color: var(--text); border-color: rgba(168,200,248,0.5); }
.chord-chip { background: var(--glass-btn); color: var(--text); border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16); border-radius: 11px; }
.chord-chip.sel { background: linear-gradient(180deg, rgba(168,200,248,0.30), rgba(97,158,237,0.14)); color: #F7F3EE; border-color: rgba(168,200,248,0.65); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 18px rgba(97,158,237,0.35); }
.chord-chip.none { background: rgba(255,255,255,0.05); color: var(--text-2); }
.chord-chip.edited { background: var(--tint-copper); color: var(--peach-2); border-color: rgba(241,184,141,0.35); }
.bar-no { color: var(--text-3); }
.playhead { background: var(--text); box-shadow: 0 0 8px rgba(244,238,231,0.5); }
.daw-card { border-radius: 20px; }
.idea-row .badge { background: var(--glass-btn); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.idea-row:nth-child(3n+1) .badge { background: var(--tint-copper); color: var(--peach-2); box-shadow: inset 0 0 0 1px rgba(241,184,141,0.3); }
.idea-row:nth-child(3n+2) .badge { background: var(--tint-blue); color: #C3D9FB; box-shadow: inset 0 0 0 1px rgba(168,200,248,0.3); }
.idea-row .kind { letter-spacing: 0; text-transform: none; font-size: 13.5px; font-weight: 600; color: var(--caramel); }
.picker button { background: var(--glass-btn); border: 1px solid rgba(255,255,255,0.10); }
.picker button.on { background: var(--glass-blue); border-color: rgba(168,200,248,0.45); color: #F7F3EE; }

/* Tidy the chords */
.tidy-strip, .band-drummer, .capo-card, .tidy-note { background: linear-gradient(160deg, rgba(241,184,141,0.14), rgba(185,121,80,0.06)), rgba(20,21,26,0.5); border: 1px solid rgba(241,184,141,0.30); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.tidy-badge, .band-drummer-ico { background: var(--tint-copper); color: var(--peach); box-shadow: inset 0 0 0 1px rgba(241,184,141,0.3); }
.tidy-i.go, .band-drummer-go { color: var(--peach); }
.tidy-kick { letter-spacing: 0; font-size: 13.5px; font-weight: 600; }
.tidy-move .from { color: var(--peach); }
.tidy-move .to { color: var(--sky); }
.cw .c.tsus, .chart-bars span.tsus { color: var(--peach); border: 1.5px dashed rgba(241,184,141,0.8); background: rgba(241,184,141,0.10); }
.chart-line.now .c.tsus { color: var(--peach); }
.cw .c.tdot::after, .chart-bars span.tdot::after, .chord-chip.tidied::after { background: var(--caramel); }
.tidy-pop { background: rgba(30,32,38,0.96); border: 1px solid rgba(241,184,141,0.45); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.tidy-pop .tip { background: rgba(30,32,38,0.96); border-color: rgba(241,184,141,0.45); }

/* the band */
.band-head h2 { font-size: 19px; font-weight: 600; }
.band-follows { color: var(--sky); }
.band-row, .band-card { border-radius: 20px; }
.band-row.fresh, .band-card.try { background: linear-gradient(135deg, rgba(241,184,141,0.16), rgba(97,158,237,0.10)), rgba(20,21,26,0.5); border-color: rgba(241,184,141,0.40); }
.band-ico.rec { background: rgba(229,103,74,0.16); color: #F2A493; }
.band-name { font-weight: 600; }
.band-mute.on { background: linear-gradient(180deg, rgba(229,103,74,0.18), rgba(229,103,74,0.08)); border-color: rgba(240,140,115,0.45); color: #F2A493; }
.band-vol::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #A8C8F8 0, var(--c, #619EED) var(--p, 50%), rgba(255,255,255,0.12) var(--p, 50%)); }
.band-vol::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #A8C8F8 0, var(--c, #619EED) var(--p, 50%), rgba(255,255,255,0.12) var(--p, 50%)); }
.band-vol::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -9px; border-radius: 12px; background: radial-gradient(circle at 40% 30%, #FFFFFF, #E9E3DC 60%, #CFC8C0); box-shadow: 0 2px 8px rgba(0,0,0,0.5), inset 0 -1px 2px rgba(0,0,0,0.15); }
.band-vol.wide::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -10px; border-radius: 13px; }
.band-vol::-moz-range-thumb { width: 24px; height: 24px; border-radius: 12px; background: radial-gradient(circle at 40% 30%, #FFFFFF, #E9E3DC 60%, #CFC8C0); }
.band-add { min-height: 52px; border-radius: 26px; border: 1px solid rgba(255,255,255,0.12); font-weight: 600; }
.band-label, .band-or, .tn-head { letter-spacing: 0; text-transform: none; font-size: 13.5px; font-weight: 600; color: var(--caramel); }
.band-or::after { background: rgba(212,154,112,0.30); }
.band-lede b { color: var(--sky); }
.band-card.drummer { background: var(--glass); }
.band-card.drummer.kept { background: linear-gradient(160deg, rgba(241,184,141,0.14), rgba(185,121,80,0.05)), rgba(20,21,26,0.5); border-color: rgba(241,184,141,0.30); }
.band-card.drummer.sounding { background: linear-gradient(160deg, rgba(168,200,248,0.16), rgba(97,158,237,0.06)), rgba(20,21,26,0.5); border-color: rgba(168,200,248,0.34); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 0 22px rgba(97,158,237,0.18); }
.band-lane { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)), rgba(13,14,17,0.7); border: 1px solid rgba(255,255,255,0.08); }
.band-lane-col b, .band-drum-row b { color: var(--sky); }
.band-lane-box { background: rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.08); }
.band-lane-row i, .band-steps i.on { background: var(--blue-2); }

/* Sing */
.route-btn { background: var(--tint-blue); border: 1px solid rgba(168,200,248,0.32); color: #C3D9FB; }
.route-btn.speaker { background: var(--tint-copper); border-color: rgba(241,184,141,0.32); color: var(--peach-2); }
.karaoke { background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)), rgba(13,14,17,0.80); border: 1px solid rgba(255,255,255,0.08); }
.karaoke .muted { color: var(--text-3); }
.w.low { background: transparent; border: 1.5px dashed rgba(241,184,141,0.75); color: var(--peach); box-shadow: none; }
.layer.guitar { background: linear-gradient(160deg, rgba(241,184,141,0.12), rgba(185,121,80,0.05)), rgba(20,21,26,0.5); border-color: rgba(241,184,141,0.26); }
.layer.import { background: var(--glass); border-color: var(--glass-edge); }
.layer.import .sub { color: var(--text-2); }
.layer.sel { background: linear-gradient(160deg, rgba(168,200,248,0.16), rgba(97,158,237,0.06)), rgba(20,21,26,0.5); border-color: rgba(168,200,248,0.45); }
.slot { background: rgba(255,255,255,0.10); }
.slot.stress { background: var(--blue-2); }
.line-opt .n { color: var(--text-2); }

/* sheets float on glass */
.scrim { background: rgba(6,7,9,0.62); }
.sheet { bottom: 6px; width: calc(100% - 12px); max-width: 468px; max-height: calc(90vh - 6px); border-radius: 34px; padding: 10px 14px max(18px, calc(env(safe-area-inset-bottom, 0px) - 2px));
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)), rgba(26,28,34,0.92); -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.09); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 -10px 40px rgba(0,0,0,0.6); }
.sheet-grab { width: 38px; background: rgba(244,238,231,0.28); }
#sheet-title { font-size: 21px; font-weight: 700; }
.sheet .band-card, .sheet .menu-item, .sheet .switch-row, .sheet .idea-row, .sheet .tidy-card, .sheet .loop-row { background: linear-gradient(160deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.03) 55%, rgba(255,255,255,0.045) 100%), rgba(20,21,26,0.40); }

/* tab bar: a floating glass capsule */
.tabbar { left: 50%; bottom: var(--tab-gap); width: calc(100% - 24px); max-width: 456px; height: var(--tab-h); align-items: center; justify-content: space-between; padding: 0 5px; box-sizing: border-box; border-radius: 32px;
  background: rgba(28,30,36,0.82); -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%); border: 1px solid rgba(255,255,255,0.09); border-top: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 14px 34px rgba(0,0,0,0.55); }
.tab { flex: 1; max-width: 72px; min-width: 0; height: 54px; min-height: 54px; justify-content: center; gap: 2px; padding: 0; border-radius: 27px; color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.tab.on { color: #C3D9FB; font-weight: 600; background: linear-gradient(180deg, rgba(168,200,248,0.24), rgba(97,158,237,0.12)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), inset 0 0 0 1px rgba(168,200,248,0.18), 0 4px 16px rgba(97,158,237,0.22); }
.tab.on svg { transform: none; }

/* toasts + undo float on glass too */
.toast, .undo-bar { background: rgba(37,40,48,0.94); color: var(--text); border: 1px solid rgba(255,255,255,0.10); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 30px rgba(0,0,0,.45); }
.undo-bar { bottom: calc(var(--tab-h) + var(--tab-gap) + 12px); }

/* loops */
.loop-icon { background: var(--glass-btn); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.loop-sub, .loop-status-row { color: var(--text-2); }
.loop-bar { background: rgba(0,0,0,0.25); }
.loop-nums span { color: var(--text-3); }
.tempo-step { background: var(--glass-btn); color: var(--text); border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16); }
.tempo-step button { color: var(--text); }
.tempo-step .tempo-val { border-left-color: rgba(255,255,255,0.12); border-right-color: rgba(255,255,255,0.12); }
.speed-seg button { color: var(--text-2); }

/* key change, menus */
.tp-btn.up { background: var(--glass-blue); border-color: rgba(168,200,248,0.45); color: #F7F3EE; }
.switch-row.on .knob { background: var(--blue-2); }
.menu-item.danger { color: #F2A493; border-color: rgba(240,140,115,0.40); }

/* tuner */
.tuning-pick { border-radius: 18px; }
.tuning-pick small { color: var(--text-2); letter-spacing: 3px; }
.gauge-wrap.in-tune #t-note { color: var(--sky-2); text-shadow: 0 0 24px rgba(97,158,237,0.7); }
.t-status { background: var(--glass-btn); border: 1px solid rgba(255,255,255,0.12); font-weight: 600; }
.t-status.ok { background: var(--tint-blue); border-color: rgba(168,200,248,0.45); color: #C3D9FB; }
.t-status.near { background: var(--tint-copper); border-color: rgba(241,184,141,0.40); color: var(--peach-2); }
.t-status.off { background: linear-gradient(180deg, rgba(229,103,74,0.18), rgba(229,103,74,0.08)); border-color: rgba(240,140,115,0.45); color: #F2B3A5; }
.strobe { border: 1px solid rgba(255,255,255,0.09); background: repeating-linear-gradient(90deg, rgba(168,200,248,0.30) 0 12px, rgba(168,200,248,0) 12px 24px), linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)), rgba(16,17,21,0.5); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.t-string { border-width: 1px; font-weight: 600; }
.t-string.active, .t-string.done.active { background: var(--glass-blue); border-color: rgba(168,200,248,0.45); color: #F7F3EE; box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 0 0 4px rgba(97,158,237,0.16), 0 8px 22px rgba(97,158,237,0.30); }
.t-string.done { background: var(--tint-copper); border-color: rgba(241,184,141,0.45); color: var(--peach-2); }
.t-string.locked { outline-color: var(--caramel); }
.cap-row.now { background: linear-gradient(160deg, rgba(168,200,248,0.16), rgba(97,158,237,0.06)), rgba(20,21,26,0.5); border-color: rgba(168,200,248,0.45); }
.cap-match { background: var(--tint-blue); border-color: rgba(168,200,248,0.40); }

/* chord finder */
.cf-card { padding: 16px 16px 16px 18px; }
.cf-name { font-size: 56px; letter-spacing: -1.4px; }
.cf-degree { color: var(--sky); }
#cf-hear { width: 52px; height: 52px; }
.cf-tile { border-radius: 22px; }
.cf-tuning { color: var(--sky); }
#cf-listen.on { background: linear-gradient(180deg, rgba(229,103,74,0.40), rgba(210,82,58,0.30)); border-color: rgba(240,140,115,0.55); color: #F7F3EE; }
.rec-mini { background: radial-gradient(circle at 35% 30%, #FFD3B3, #E0603F); }

/* the sideways player */
.player { background:
    radial-gradient(ellipse at 0% 100%, rgba(185,104,54,0.34) 0%, rgba(105,58,34,0.14) 30%, rgba(105,58,34,0) 60%),
    radial-gradient(ellipse at 100% 0%, rgba(56,119,202,0.34) 0%, rgba(30,65,112,0.14) 32%, rgba(30,65,112,0) 62%),
    var(--ink); }
.pl-pill.blue { background: var(--glass-blue); border-color: rgba(168,200,248,0.45); color: #F7F3EE; }
.pl-pill.rec { background: linear-gradient(180deg, rgba(229,103,74,0.45), rgba(210,82,58,0.32)); border-color: rgba(240,140,115,0.55); color: #F7F3EE; }
.pl-label, .pl-about-title { font-family: var(--body); font-weight: 600; color: var(--caramel); }
.pl-chip.outline { background: transparent; border-color: rgba(168,200,248,0.45); color: var(--sky); box-shadow: none; }
.pl-dot { background: #2F64B9; color: #F7F3EE; border-color: rgba(16,17,20,0.6); }
.pl-dot.bass { background: var(--caramel); color: #17120F; }
.pl-tag { background: rgba(20,21,26,0.86); border-color: rgba(255,255,255,0.22); }
.pl-open.open { border-color: var(--sky); background: rgba(168,200,248,0.12); color: var(--sky); }
.pl-open.open.root { border-color: var(--caramel); background: rgba(212,154,112,0.16); color: var(--peach-2); }
.pl-key.down { fill: #A8C8F8 !important; }
.pl-key.black.down { fill: #619EED !important; }
.pl-about, .pl-picker { background: rgba(26,28,34,0.95); border: 1px solid rgba(255,255,255,0.10); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.pl-about-name { background: var(--glass-btn); border-color: rgba(255,255,255,0.12); }
.pl-about-name.on { border-color: rgba(241,184,141,0.6); background: var(--tint-copper); }
.pl-role.root small { color: var(--peach-2); }
.pl-nutcol { background: linear-gradient(90deg, rgba(16,17,20,0.96) 70%, rgba(16,17,20,0)); }
.pl-degree { color: var(--sky); }

/* round 13 fixes after the first screenshots */
.band-row .band-ico { width: 40px; height: 40px; }
.band-row .band-vol { width: 78px; }
.idea .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idea:has(.quick-del) .tag { display: none; }
.toggle { flex: none; }
.sheet-grab { flex: none; }
.tidy-card { gap: 8px; padding: 12px 14px; }

/* ===================== Round 14: crisp buttons (boards 41–50, Oct 14 2026) =====================
   Flat fills, clean edges, no glow — the soft glass stays on cards, rows and sheets, the studio light stays.
   Main action = solid blue. Everything else = flat charcoal (it no longer takes on the copper light).
   Picked = blue tint with a crisp blue edge. Record = a flat coral dot (64 px) inside the copper→blue ring.
   Borders go transparent, never away, so no box changes size. */
:root {
  --glass-btn: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)), rgba(28,29,34,0.55);
  --glass-blue: #2F64B9;
  --tint-blue: rgba(97,158,237,0.18);
  --tint-copper: rgba(212,154,112,0.18);
  --accent: #2F64B9;
  --tint-play: rgba(97,158,237,0.16);
  --pick-edge: rgba(97,158,237,0.8);
  --tint-red: rgba(229,103,74,0.16);
}

/* quiet buttons: flat charcoal, no edge, no shine, no shadow */
.icon-btn,
.btn-ghost, .tidy-leave, .band-add, .pill-toggle, .chip-lg, .mini-toggle, .pl-pill, .pl-icon, .route-btn, .small-btn, .tidy-back, .tidy-hear, .t-string, .tp-btn, .inst-chip, .band-chip, .pl-chip, .pl-also, .band-mute, .quick-del, .pl-mini,
.chip-toggle, .picker button, .chord-chip, .chart-bars span, .tempo-step, .pl-about-name, .dashed-link {
  border-color: transparent; box-shadow: none; }

/* the main action: solid blue, no outline, no glow */
.btn-primary, .undo-btn, .tidy-go, .cf-play, .small-btn.fill, .tn-item .tn-check, .tp-btn.up, .pl-pill.blue, .picker button.on, .t-string.active, .t-string.done.active,
.play-btn, .loop-play, .band-hear, #cf-hear,
.play-btn.playing, .loop-play.playing, .band-hear.on {
  background: var(--accent); color: #F7F3EE; border-color: transparent; box-shadow: none; }
.btn-primary:disabled { box-shadow: none; }

/* play in a list: quiet blue; while it plays it turns solid */
.idea .play-btn, .loop-row .play-btn, .band-card .band-hear, .band-card.drummer .band-hear.try {
  background: var(--tint-play); color: #C3D9FB; border-color: transparent; box-shadow: none; }
.idea .play-btn.playing, .loop-row .play-btn.playing, .band-card .band-hear.on, .band-card.drummer .band-hear.try.on {
  background: var(--accent); color: #F7F3EE; border-color: transparent; box-shadow: none; }

/* picked: a blue tint with a crisp edge, no glow */
.chip-toggle.on, .pill-toggle.on, .band-chip.on, .inst-chip.on, .pl-chip.pl-sus.on2, .pl-chip.pl-tn.on2, .menu-item.on, .pl-also.on, .tidy-hear.on, .chord-chip.sel, .chart-bars.now span {
  background: var(--tint-blue); color: #C3D9FB; border: 1.5px solid var(--pick-edge); box-shadow: none; }
.chord-chip.sel, .chart-bars.now span { border-width: 1px; }
.chart-bars.now span { color: var(--text); }
.chart-bars.now span.tsus { color: var(--peach); border: 1.5px dashed rgba(241,184,141,0.8); background: rgba(241,184,141,0.10); }
.mini-toggle[aria-pressed="true"] { border-color: rgba(212,154,112,0.75); }

/* chips and badges: flat tints, no rings or shine */
.chip-caramel, .role.root, .new-tag, .band-tag, .band-card.drummer .band-tag, .step b, .cap-row .n, .pl-chip.on, .pl-role.root,
.chip-blue, .band-tag.sky, .band-card.drummer .band-tag.sky, .pl-role, .w, .line-opt,
.chip-ghost, .role, .count-pill, .idea .tag, .quality-badge, .loop-icon, .tidy-badge, .band-drummer-ico,
.idea-row .badge, .idea-row:nth-child(3n+1) .badge, .idea-row:nth-child(3n+2) .badge {
  box-shadow: none; }
.t-status, .t-status.ok, .t-status.near, .t-status.off, .cap-match { border-color: transparent; box-shadow: none; }
.t-status.off { background: var(--tint-red); }
.t-string.done { border-color: transparent; }
.route-btn.speaker { border-color: transparent; }

/* red things: a flat red tint */
.btn-danger, .band-remove, .band-mute.on { background: var(--tint-red); border-color: transparent; color: #F2A493; box-shadow: none; }
#cf-listen.on, .pl-pill.rec { background: rgba(229,103,74,0.22); border: 1.5px solid rgba(229,103,74,0.8); color: #F6B5A5; box-shadow: none; }
#cf-listen.on .rec-mini, .pl-pill.rec .rec-mini { background: #E5674A; animation: r14blink 1.2s ease-in-out infinite; }
.rec-mini { background: #E5674A; }

/* segmented controls: a flat track, a solid thumb */
.seg3, .toggle, .speed-seg, .pl-seg { background: linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0.05)), rgba(24,25,30,0.5); border-color: transparent; box-shadow: none; }
.seg3 button.on, .seg.on, .speed-seg button.on, .pl-seg button.on { background: #3A3D44; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,0.35); }

/* tab bar: the selected tab is a flat neutral pill */
.tabbar { box-shadow: 0 14px 34px rgba(0,0,0,0.55); }
.tab.on { background: rgba(255,255,255,0.10); box-shadow: none; }

/* sliders: a thin flat track, a flat knob */
.band-vol::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--c, #619EED) var(--p, 50%), rgba(255,255,255,0.14) var(--p, 50%)); }
.band-vol::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--c, #619EED) var(--p, 50%), rgba(255,255,255,0.14) var(--p, 50%)); }
.band-vol::-webkit-slider-thumb { margin-top: -10px; background: #F4F1EC; box-shadow: 0 1px 2px rgba(0,0,0,0.35), 0 3px 8px rgba(0,0,0,0.22); }
.band-vol.wide::-webkit-slider-thumb { margin-top: -11px; }
.band-vol::-moz-range-thumb { background: #F4F1EC; box-shadow: 0 1px 2px rgba(0,0,0,0.35), 0 3px 8px rgba(0,0,0,0.22); }
.switch-row.on .knob { background: var(--accent); }

/* a playing drummer's card loses its glow too */
.band-card.drummer.sounding { box-shadow: var(--glass-hi); }

/* record: a flat coral dot in the ring, a flat ivory stop; no pool of light, no glow */
.rec-zone::before { display: none; }
.rec-ring { padding: 3px; box-shadow: none; }
.rec-ring.live { animation: none; }
.rec-btn { background: #141519; box-shadow: none; }
.rec-btn.busy { animation: r14dim 1s ease-in-out infinite; }
.rec-icon { width: 64px; height: 64px; border-radius: 32px; background: #E5674A; box-shadow: none; }
.rec-ring.small .rec-icon:not(.mic) { width: 42px; height: 42px; border-radius: 21px; }
.rec-btn.on .rec-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--text); box-shadow: none; }
.rec-ring.small .rec-btn.on .rec-icon { width: 26px; height: 26px; border-radius: 7px; }
.rec-icon.mic { width: auto; height: auto; border-radius: 0; background: none; filter: none; }
.rec-btn.on .rec-icon.mic { width: 28px; height: 28px; border-radius: 8px; background: var(--text); }
.dot.live { box-shadow: none; animation: r14blink 1.6s ease-in-out infinite; }
@keyframes r14blink { 50% { opacity: .35; } }
@keyframes r14dim { 0%, 100% { opacity: .6; } 50% { opacity: .35; } }

/* ===================== Round 15: delete with one short warning (boards 51–52, Oct 14 2026) =====================
   Every list row (Songs, Record's recent ideas, takes over a loop) has a quiet trash on its right edge.
   No slide-to-delete, no Undo bar. The layer count rides at the end of the chords line. */
.quick-del { background: var(--glass-btn); color: #ABA9A7; border-color: transparent; box-shadow: none; }
.quick-del svg { width: 19px; height: 19px; }
.idea .sub.chords .layers { color: var(--text-3); font-weight: 500; }
.sheet.ask #sheet-close { display: none; }
.sheet .ask-text { margin: 0 2px; font-size: 15px; line-height: 21px; color: #D9D4CF; }

/* ===================== Round 17: a capo (boards 53–55, Oct 15 2026) =====================
   One capo per song. The chip after the length opens "Capo" (None, 1–7); with one on it turns blue,
   the chords on screen are the shapes you play and the chart's first line says what it sounds in. */
.chip-capo { gap: 6px; }
.chip-capo svg { width: 15px; height: 15px; flex: none; }
.chip-capo.on { background: var(--tint-blue); color: #C3D9FB; box-shadow: inset 0 0 0 1.5px var(--pick-edge); }
.chart-capo { display: flex; align-items: flex-start; gap: 8px; margin: 0 2px 6px; font-size: 14px; line-height: 19px; color: #C3D9FB; }
.chart-capo-i { display: inline-flex; flex: none; padding-top: 1px; }
.capo-frets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.capo-fret { height: 52px; border-radius: 26px; font: inherit; font-size: 17px; font-weight: 600; color: var(--text); background: var(--glass-btn); border: 1.5px solid transparent; cursor: pointer; }
.capo-fret.on { background: var(--tint-blue); color: #C3D9FB; border-color: var(--pick-edge); }
.capo-preview { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,0.05); }
.capo-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; line-height: 20px; }
.capo-row[hidden] { display: none; }
.capo-row > span:first-child { color: var(--text-2); flex: none; }
.capo-row b { color: var(--peach-2); font-weight: 700; text-align: right; }
.capo-row > span + span { color: #DDD8D3; font-weight: 600; text-align: right; }
.tn-capo-note { margin: 0 2px 4px; }
.tn-capo .inst-chip:first-child { flex: 1.8; }
.pl-chip.pl-capo-k.on2 { background: var(--tint-blue); color: #C3D9FB; border: 1.5px solid var(--pick-edge); }
.pl-capo-open { position: absolute; width: 15px; height: 15px; border-radius: 50%; border: 2.2px solid #A8C8F8; box-sizing: border-box; pointer-events: none; }

/* ===================== Round 18: the song's tuning (Oct 15 2026) =====================
   A song keeps the tuning it was played in, beside its capo. The Capo sheet's first row says which and
   opens the tunings. A guitar tuned down as a whole plays the usual shapes, and they're named so. */
.capo-tuning { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; border: 0; border-radius: 18px; background: rgba(255,255,255,0.05); font: inherit; font-size: 15px; color: var(--text-2); text-align: left; cursor: pointer; }
.capo-tuning b { color: #C3D9FB; font-weight: 600; text-align: right; }

/* ===================== Round 21: the real chord first (boards 60–62, Oct 27 2026) =====================
   With a capo (or a guitar tuned down as a whole) every chord name is the real chord, what the band plays;
   the shape you play is the small line under it. Copper = you (your shape). */
.cf-sounds { display: block; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--text-2); margin-bottom: 2px; }
.cf-sounds[hidden] { display: none; }
.cf-desc.you { color: var(--peach); font-weight: 600; }
#cf-song .chip.two-line { flex-direction: column; justify-content: center; gap: 1px; min-height: 56px; min-width: 62px; padding: 0 12px; border-radius: 20px; }
#cf-song .chip.two-line b { font-size: 18px; line-height: 22px; font-weight: 700; }
#cf-song .chip.two-line small { font-size: 12px; line-height: 15px; font-weight: 500; color: var(--text-2); }
#cf-song .chip.two-line.on small { color: #DCE8FB; }
.shp { display: block; font-size: 12px; line-height: 15px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.chart-bars span.has-shp { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 62px; padding-top: 5px; padding-bottom: 5px; }
.chart-bars span.has-shp .cn { line-height: 22px; }
.chart-bars.now span.has-shp .shp { color: #DCE8FB; }
#chart.with-shp .cw .c { min-height: 36px; }
.cw .c.has-shp { display: inline-flex; flex-direction: column; align-items: flex-start; }
.chord-chip.has-shp { height: 48px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 20px; }
.chord-chip.has-shp .shp { font-size: 11.5px; line-height: 14px; }
.chord-chip.sel .shp { color: #DCE8FB; }
.strip.with-shp { height: 130px; }
.strip.with-shp .chord-row, .strip.with-shp .chord-cell { height: 68px; }
.chord-shape-line { margin: 0 0 4px; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--peach); }
.pick-shape { color: var(--peach); font-weight: 600; }
.pick-shape:empty { display: none; }

/* round 24 (board 65): a quick chord, an 8th or a beat, gets a smaller copper chip; the chip after it makes room */
.chord-chip.quick { height: 30px; margin-top: 3px; padding: 0 8px; min-width: 0; font-size: 13px; border-radius: 9px; background: rgba(212,154,112,0.16); border: 1px solid rgba(241,184,141,0.45); color: #F6C7A2; }
.chord-chip.quick.has-shp { height: 44px; }
.chord-chip.quick.sel { background: rgba(212,154,112,0.30); border-color: #F1B88D; }
.bar-no.quick { color: #C99A78; }
.quick-line { color: #F6C7A2; margin: 0; }

/* ---- round 24b: Space (boards 63-64) ---- */
.space-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 20px; background: var(--glass); border: 1px solid rgba(168,200,248,0.30); box-shadow: var(--glass-hi), 0 10px 24px rgba(0,0,0,0.20); }
.space-row .band-ico { width: 40px; height: 40px; }
.space-row .band-vol { width: 78px; }
.space-row.off .band-ico { opacity: 0.72; }
.space-go { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; padding: 0; border: none; background: transparent; color: var(--text-2); }
.space-group { display: flex; flex-direction: column; gap: 8px; }
.space-opts { gap: 6px; }
.band-chip.space-opt { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 2px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; font-size: 15px; font-weight: 600; line-height: 17px; }
.space-opt small { font-size: 11px; line-height: 13px; font-weight: 500; color: var(--text-2); }
.space-opt.on small { color: #A8C8F8; }
.space-amt { display: flex; align-items: center; gap: 12px; }
.space-amt > span { width: 52px; flex: none; font-size: 13px; font-weight: 500; color: var(--text-2); }
.space-amt > span:last-child { text-align: right; }
.space-amt.dim .band-vol { opacity: 0.45; }
.space-tgs { display: flex; flex-direction: column; }
.sheet .switch-row.space-tg { min-height: 48px; padding: 0 2px; border: none; border-radius: 0; background: transparent; box-shadow: none; }

/* ===== Round 26: the Chords strip, every chord where it starts (board 68), moving a start (board 69) ===== */
.strip { height: 156px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.strip canvas { top: 78px; bottom: auto; }
.strip .chord-row { top: 0; height: 72px; display: block; }
.strip .chord-cell { top: 32px; height: 40px; padding: 0; display: block; gap: 0; }
.strip .chord-chip { position: relative; width: 100%; min-width: 0; height: 40px; margin: 0; padding: 0 0 0 8px; border-radius: 8px; border: none; box-shadow: none; display: flex; align-items: center; justify-content: flex-start; overflow: hidden; white-space: nowrap; font-size: 16px; font-weight: 700; color: var(--text); text-align: left; animation: none; }
.strip .chord-chip.pa { background: rgba(97,158,237,0.36); }
.strip .chord-chip.pb { background: rgba(168,200,248,0.22); }
.strip .chord-chip.sm { font-size: 13px; padding-left: 5px; }
.strip .chord-chip.none { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(244,238,231,0.18); color: var(--text-2); }
.strip .chord-chip.edited { color: var(--peach-2); box-shadow: inset 0 0 0 1.5px rgba(241,184,141,0.55); }
.strip .chord-chip.sliver { padding: 0; background: rgba(212,154,112,0.55); }
.strip .chord-chip.sliver.alt { background: rgba(212,154,112,0.38); }
.strip .chord-chip.sliver:not(.quick) { background: rgba(168,200,248,0.30); }
.strip .chord-chip.moved::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #F1B88D; }
.strip .chord-chip.has-shp { height: 48px; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 19px; }
.strip .chord-chip.has-shp .shp { font-size: 11.5px; line-height: 14px; font-weight: 600; color: var(--text-2); }
.strip.with-shp { height: 164px; }
.strip.with-shp .chord-row { height: 80px; }
.strip.with-shp .chord-cell { height: 48px; }
.strip.with-shp canvas { top: 86px; }
.strip.with-shp .bar-line { height: 110px; }
.strip.with-shp .bar-num { top: 148px; }
.chord-call { position: absolute; top: 0; display: inline-flex; align-items: center; gap: 2px; height: 26px; padding: 0 5px; box-sizing: border-box; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); white-space: nowrap; }
.chord-call.q { background: rgba(212,154,112,0.16); border-color: rgba(241,184,141,0.45); }
.chord-call button { border: none; background: none; padding: 0 3px; height: 24px; font: inherit; font-size: 13px; font-weight: 700; color: var(--text); }
.chord-call.q button { color: var(--peach-2); }
.chord-call i { font-style: normal; font-size: 12px; color: #C99A78; }
.chord-brace { position: absolute; top: 27px; height: 5px; box-sizing: border-box; border: 1.5px solid rgba(241,184,141,0.7); border-bottom: none; border-radius: 3px 3px 0 0; pointer-events: none; }
.strip-bars { position: absolute; left: 0; top: 0; height: 100%; pointer-events: none; }
.bar-line { position: absolute; top: 32px; height: 102px; width: 1px; background: rgba(244,238,231,0.28); }
.bar-num { position: absolute; top: 140px; font-size: 11.5px; line-height: 14px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
#strip-hint.moving { color: var(--peach-2); font-weight: 600; }
.strip-scroll.locked { overflow-x: hidden; }
.strip.dragging .chord-call, .strip.dragging .chord-brace { visibility: hidden; }
.strip .chord-chip.lift { box-shadow: inset 0 0 0 2px var(--sky), 0 8px 22px rgba(0,0,0,0.45); transform: translateY(-3px); z-index: 2; }
#strip-drag { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.beat-tick { position: absolute; top: 80px; height: 54px; width: 1px; background: rgba(244,238,231,0.30); }
.drag-ghost { position: absolute; top: 30px; height: 106px; border-left: 1.5px dashed rgba(244,238,231,0.45); }
.drag-line { position: absolute; top: 26px; height: 112px; width: 3px; margin-left: -1px; border-radius: 2px; background: var(--text); box-shadow: 0 0 0 1px rgba(16,17,20,0.6); }
.drag-grip { position: absolute; top: 98px; width: 26px; height: 40px; margin-left: -13px; border-radius: 13px; background: var(--text); box-shadow: 0 4px 12px rgba(0,0,0,0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.drag-grip i { display: block; width: 12px; height: 2px; border-radius: 1px; background: #5C6270; }
.drag-read { position: absolute; top: 0; min-width: 140px; transform: translateX(-50%); padding: 5px 12px; white-space: nowrap; box-sizing: border-box; border-radius: 12px; background: var(--text); color: #141519; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 1px; }
.drag-read b { font-size: 15px; line-height: 18px; }
.drag-read small { font-size: 11.5px; line-height: 14px; font-weight: 600; color: #5C6270; }
/* the toast can carry one action (Undo) */
.toast.act { pointer-events: auto; display: flex; align-items: center; gap: 14px; text-align: left; padding: 8px 8px 8px 16px; }
.toast-act { flex: none; height: 36px; padding: 0 14px; border: none; border-radius: 18px; background: rgba(97,158,237,0.22); color: #C3D9FB; font: inherit; font-size: 15px; font-weight: 700; }
/* the chord sheet: where it starts, an 8th at a time (board 70) */
.starts-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 18px; background: rgba(255,255,255,0.05); }
.starts-row .txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.starts-row .txt small { font-size: 12px; line-height: 15px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; color: var(--text-2); }
.starts-row .txt b { font-size: 17px; line-height: 22px; }
.starts-row .arrows { display: flex; gap: 8px; flex: none; }
.nudge { width: 44px; height: 44px; border-radius: 22px; border: none; background: var(--glass-btn); color: var(--text); display: flex; align-items: center; justify-content: center; padding: 0; }
.nudge:disabled { opacity: 0.35; }

/* ---------- Round 27: not sure (board 73) ---------- */
/* A chord it isn't sure of: its bass and a "?" ("C ?"), dashed copper, on the chart, the Chords strip and in a tag. */
.chart-bars span.notsure, .chart-bars.now span.notsure { color: var(--peach-2); border: 1.5px dashed rgba(241,184,141,0.8); background: rgba(212,154,112,0.06); box-shadow: none; }
.chart-bars.now span.notsure { background: rgba(212,154,112,0.18); }
.cw .c.notsure { color: var(--peach-2); padding: 0 5px; margin-right: 4px; border: 1.5px dashed rgba(241,184,141,0.8); border-radius: 7px; background: rgba(212,154,112,0.06); }
.chart-line.now .c.notsure { color: var(--peach-2); background: rgba(212,154,112,0.18); }
.strip .chord-chip.notsure { background: rgba(212,154,112,0.10); outline: 1.5px dashed rgba(241,184,141,0.8); outline-offset: -1.5px; color: var(--peach-2); }
.chord-call button.notsure { color: var(--peach-2); }
.notsure-line { margin: 0; font-size: 15px; line-height: 21px; font-weight: 600; color: var(--peach-2); }

/* ---------- Round 28: Share the mix (boards 66-67) ---------- */
.band-head.with-share { align-items: center; }
.band-head-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.band-share { flex: none; gap: 8px; }
.band-share svg { flex: none; }
.share-lede { margin: -4px 2px 2px; font-size: 15px; line-height: 20px; color: var(--text-2); }
.mix-group { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.sheet-lbl { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-2); }
.mix-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mix-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 22px; border: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--text-2); background: var(--glass-btn); }
.mix-chip.on { background: rgba(97,158,237,0.16); color: #DCE8FB; box-shadow: inset 0 0 0 1.5px rgba(97,158,237,0.55); }
.mix-check { width: 20px; height: 20px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px rgba(244,238,231,0.32); }
.mix-chip.on .mix-check { background: var(--blue); color: #F7F3EE; box-shadow: none; }
.mix-fmt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 14px; border-radius: 20px; text-align: left; font: inherit; color: var(--text); background: linear-gradient(160deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.03) 55%, rgba(255,255,255,0.045) 100%), rgba(20,21,26,0.40); border: 1px solid rgba(255,255,255,0.085); }
.mix-fmt.on { background: rgba(97,158,237,0.14); border-color: transparent; box-shadow: inset 0 0 0 1.5px rgba(97,158,237,0.85); }
.mix-fmt .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mix-fmt b { font-size: 16px; font-weight: 600; }
.mix-fmt small { font-size: 14px; color: var(--text-2); }
.mix-dot { width: 22px; height: 22px; flex: none; border-radius: 11px; box-sizing: border-box; border: 2px solid rgba(244,238,231,0.35); }
.mix-fmt.on .mix-dot { border: 7px solid var(--blue); background: #F4EEE7; }
.mix-size { flex: none; font-size: 14px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.mix-fmt.on .mix-size { color: #C3D9FB; }
.sheet .switch-row.mix-even { min-height: 52px; margin-top: 2px; padding: 4px 2px; border: none; border-radius: 0; background: transparent; box-shadow: none; }
.mix-go { width: 100%; margin-top: 2px; }
.mix-go svg { flex: none; }
.mix-work { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.mix-bar { position: relative; height: 50px; border-radius: 25px; overflow: hidden; background: rgba(97,158,237,0.14); box-shadow: inset 0 0 0 1.5px rgba(97,158,237,0.5); display: flex; align-items: center; justify-content: center; }
.mix-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(47,100,185,0.9); transition: width .3s; }
.mix-bar span { position: relative; font-size: 16px; font-weight: 600; color: #F7F3EE; }
.mix-cancel { width: 100%; }
.mix-name { margin: -2px 0 0; }
.mix-chip:disabled, .mix-fmt:disabled, .sheet .switch-row.mix-even:disabled { opacity: 0.55; }

/* ---------- Round 28: playlists and repeat (boards 79-85) ---------- */
.lib-seg { display: flex; }
.lib-seg button { flex: 1; }
.plist-new { width: 100%; gap: 8px; }
.plist-sub { display: flex; align-items: center; gap: 8px; }
.plist-kind { flex: none; padding: 2px 9px; border-radius: 12px; font-size: 12.5px; font-weight: 600; background: rgba(212,154,112,0.18); color: #F6C7A2; }
.plist-none { margin: 2px 4px 0; }
.rep-btn { position: relative; width: 44px; height: 44px; flex: none; border-radius: 22px; border: none; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--glass-btn); color: var(--text-2); }
.rep-btn.on { background: rgba(97,158,237,0.18); color: #C3D9FB; box-shadow: inset 0 0 0 1.5px rgba(97,158,237,0.8); }
.rep-one { position: absolute; right: 4px; top: 4px; min-width: 16px; height: 16px; padding: 0 3px; box-sizing: border-box; border-radius: 8px; background: var(--blue); color: #F7F3EE; font-size: 10.5px; font-weight: 800; line-height: 16px; text-align: center; }
.player-row .time { flex: none; }
.player-row { padding-right: 10px; }
#view-playlist .plist-title { flex: 1; min-width: 0; margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist-player .play-btn { width: 52px; height: 52px; }
.plist-now { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.plist-now-name { font-size: 14px; line-height: 18px; font-weight: 600; color: #C3D9FB; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-wave.plist-wave { height: 26px; }
.plist-head { align-items: center; gap: 12px; }
.plist-head-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.plist-head-txt h2 { margin: 0; font-size: 19px; line-height: 24px; font-weight: 600; }
.plist-head .btn { flex: none; gap: 8px; }
.list.plist-list { gap: 8px; }
.trow { position: relative; display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 0 4px 0 10px; border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.03) 55%, rgba(255,255,255,0.045) 100%), rgba(20,21,26,0.50); border: 1px solid rgba(255,255,255,0.085); color: var(--text); transition: transform .18s ease; }
.trow.lift { z-index: 2; transition: none; box-shadow: 0 14px 30px rgba(0,0,0,0.45); background: #282B33; }
.trow.now { background: rgba(97,158,237,0.13); border-color: rgba(97,158,237,0.75); }
.tnum { width: 26px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.trow .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.trow .txt b { font-size: 16px; line-height: 21px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow .txt small { font-size: 13.5px; line-height: 18px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow .rm { width: 44px; height: 44px; flex: none; border-radius: 22px; border: none; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--glass-btn); color: var(--text-2); }
.trow .hdl { width: 44px; height: 44px; flex: none; border: none; padding: 0; background: transparent; color: #8F8C89; display: inline-flex; align-items: center; justify-content: center; touch-action: none; cursor: grab; }
.tprog { position: absolute; left: 44px; right: 104px; bottom: 7px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.14); pointer-events: none; }
.tprog i { display: block; height: 3px; width: 0; border-radius: 2px; background: var(--blue-2); }
.plist-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.plist-eq i { display: block; width: 3px; height: 16px; border-radius: 1.5px; background: var(--sky); transform-origin: bottom; animation: plistEq 0.9s ease-in-out infinite alternate; }
.plist-eq i:nth-child(1) { animation-delay: -0.6s; } .plist-eq i:nth-child(2) { animation-delay: -0.2s; } .plist-eq i:nth-child(3) { animation-delay: -0.8s; } .plist-eq i:nth-child(4) { animation-delay: -0.4s; }
@keyframes plistEq { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
.trow.paused .plist-eq i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .plist-eq i { animation: none; transform: scaleY(0.7); } }
.plist-addsongs { width: 100%; gap: 8px; }
.plist-kinds .band-chip { flex: 1; }
.plist-pick { display: flex; flex-direction: column; gap: 8px; }
.plist-picks { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.pick-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 12px; border-radius: 16px; width: 100%; text-align: left; font: inherit; color: var(--text); background: linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0.05)), rgba(20,21,26,0.4); border: 1px solid rgba(255,255,255,0.07); }
.pick-row.big { min-height: 64px; }
.pick-row.on { background: rgba(97,158,237,0.12); border-color: rgba(97,158,237,0.55); }
.pick-row.was { opacity: 0.6; }
.pick-row .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pick-row .txt b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-row .txt small { font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist-ck { width: 28px; height: 28px; flex: none; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #F7F3EE; background: var(--blue); }
.plist-ck.off { background: transparent; box-shadow: inset 0 0 0 2px rgba(244,238,231,0.32); }
.plist-ck.in { background: rgba(97,158,237,0.35); }
.plist-to { display: flex; flex-direction: column; gap: 8px; }
.plist-make { width: 100%; }

/* ---------- Round 28: Show me on the neck (boards 70-72) ---------- */
.neck-ask { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 20px; background: rgba(212,154,112,0.09); border: 1.5px solid rgba(212,154,112,0.55); }
.neck-ask-top { display: flex; align-items: flex-start; gap: 12px; }
.neck-ask-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(212,154,112,0.22); color: #F6C7A2; }
.neck-ask .txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.neck-ask .txt b { font-size: 17px; line-height: 22px; font-weight: 700; }
.neck-ask .txt small { font-size: 14.5px; line-height: 20px; color: var(--text-2); }
.neck-go { width: 100%; gap: 8px; }
.alt-pair { display: inline-flex; align-items: center; min-height: 44px; border-radius: 22px; background: var(--glass-btn); border: 1px solid rgba(255,255,255,0.12); }
.alt-hear { position: relative; width: 44px; height: 44px; flex: none; border: none; padding: 0; background: transparent; color: #DCE8FB; display: inline-flex; align-items: center; justify-content: center; }
.alt-hear::before { content: ''; position: absolute; inset: 5px; border-radius: 17px; background: rgba(97,158,237,0.24); }
.alt-hear svg { position: relative; width: 13px; height: 13px; }
.alt-pair .alt-name { min-height: 44px; border: none; background: transparent; box-shadow: none; padding: 0 16px 0 4px; }
/* the neck in show-us mode (board 71) */
.player.pl-showing .pl-pill, .player.pl-showing .pl-also { height: 44px; border-radius: 22px; }
.pl-show-top .pl-title { justify-content: flex-start; }
.pl-show-row { gap: 10px; }
.pl-show-row .pl-bar { flex: none; font-size: 15px; }
.pl-heard { flex: none; height: 32px; padding: 0 12px; border-radius: 16px; display: inline-flex; align-items: center; background: rgba(244,238,231,0.08); border: 1px solid rgba(244,238,231,0.14); font-size: 14px; font-weight: 600; white-space: nowrap; }
.pl-hint { flex: 1; min-width: 0; font-size: 14px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-moving.on { border-color: var(--caramel); background: rgba(212,154,112,0.16); color: #F6C7A2; }
.pl-tune { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 42px; }
.pl-tune.picked { border-color: rgba(212,154,112,0.7); color: #F6C7A2; }
.pl-dot.pl-trail { background: rgba(16,17,20,0.55); border: 2px dashed var(--caramel); color: #F6C7A2; }
.pl-walk { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.pl-use:disabled { opacity: 0.5; }
/* Use it (board 72) */
#sheet-title .nu-lbl { display: block; margin: 0 0 4px; }
#sheet-title .nu-name { display: block; font-size: 40px; line-height: 46px; font-weight: 700; letter-spacing: -0.5px; }
.nu-words-row { display: flex; align-items: flex-start; gap: 12px; }
.nu-words { flex: 1; margin: 0; font-size: 15.5px; line-height: 22px; color: var(--text); }
.nu-hear { width: 52px; height: 52px; flex: none; }
.nu-opt .txt { gap: 3px; }
.nu-opt small { line-height: 19px; }
.switch-row.nu-every { margin-top: 2px; }
.nu-prev { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: rgba(12,13,16,0.5); border: 1px solid rgba(255,255,255,0.07); }
.nu-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nu-was { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(255,255,255,0.08); font-size: 14.5px; font-weight: 600; }
.nu-was.notsure { background: rgba(212,154,112,0.10); border: 1.5px dashed rgba(212,154,112,0.7); color: #F6C7A2; }
.nu-after { display: flex; flex-direction: column; gap: 2px; padding: 9px 16px; border-radius: 12px; background: rgba(97,158,237,0.12); border: 1.5px solid rgba(168,200,248,0.6); }
.nu-after b { font-size: 18px; font-weight: 700; }
.nu-after small { font-size: 13px; font-weight: 700; color: var(--caramel); letter-spacing: 0.3px; }
.nu-go { width: 100%; }
.shp.lnn, .strip .chord-chip.has-shp .shp.lnn, .chart-bars span.has-shp .shp.lnn { color: var(--caramel); font-weight: 700; letter-spacing: 0.2px; }

/* ---------- Round 28: Your groove (boards 74, 77-78) ---------- */
.band-labelrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; }
.groove-pill, .groove-add { flex: none; min-height: 44px; padding: 0 14px; border: none; border-radius: 22px; display: inline-flex; align-items: center; gap: 6px; background: rgba(97,158,237,0.16); color: #C3D9FB; font-size: 14px; font-weight: 700; white-space: nowrap; }
.groove-pill { margin: -6px 0; }
.band-steps.s16 { grid-template-columns: repeat(16, 1fr); gap: 2px; }
.groove-top { display: flex; align-items: center; gap: 12px; }
.groove-top .play-btn { width: 48px; height: 48px; }
.groove-lede { flex: 1; line-height: 17px; }
.seg3.groove-scope { padding: 4px; border-radius: 26px; }
.seg3.groove-scope button { flex: 1 1 auto; min-height: 44px; border-radius: 22px; min-width: 0; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.groove-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
.groove-chips::-webkit-scrollbar { display: none; }
.band-chip.groove-chip { flex: none; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; }
.band-chip.groove-chip.find { background: rgba(212,154,112,0.16); border: 1.5px solid rgba(241,184,141,0.75); color: #F6C7A2; }
.groove-bar { display: flex; align-items: center; gap: 8px; }
.groove-bar .band-label { flex: 1; }
.seg3.groove-res, .seg3.groove-half { padding: 0; border-radius: 22px; }
.seg3.groove-res button, .seg3.groove-half button { min-height: 44px; border-radius: 22px; padding: 0 14px; font-size: 14px; }
.groove-grid { display: flex; flex-direction: column; gap: 6px; }
.gcount, .gsteps { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.gcount span { text-align: center; font-size: 13px; line-height: 16px; font-weight: 700; color: #8F8C89; }
.gcount span.beat { color: #D9D4CF; }
.grow-row { display: flex; flex-direction: column; }
.grow-name { align-self: flex-start; min-height: 44px; margin: -5px 0 -5px -2px; padding: 0 10px 0 2px; border: none; background: transparent; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; color: var(--sky, #A8C8F8); position: relative; z-index: 0; }
.grow-name .grow-pick { color: #8F8C89; font-weight: 600; }
.grow-name .grow-chev { display: inline-flex; color: #8F8C89; }
.gstep { position: relative; z-index: 1; min-width: 0; height: 44px; padding: 0; border: none; border-radius: 10px; background: rgba(244,238,231,0.07); -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.gstep::before { content: ''; position: absolute; top: 0; bottom: 0; left: -2px; right: -2px; } /* (a tap in the gap still lands: each step is 44 pt across) */
.gstep.beat { background: rgba(244,238,231,0.13); }
.gstep i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-radius: 10px; background: #619EED; transition: height .12s; pointer-events: none; }
.gstep.lv1 i { height: 38%; }
.gstep.lv2 i { height: 72%; }
.gstep.lv3 i { height: 100%; background: #8DBCF5; }
.gstep.now { box-shadow: 0 0 0 2px #F1B88D; }
.gstep.held { box-shadow: 0 0 0 2px #F4EEE7; }
.groove-pop { position: absolute; z-index: 8; display: flex; gap: 4px; padding: 5px; border-radius: 18px; background: rgba(44,46,54,0.98); border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 14px 30px rgba(0,0,0,0.55); }
.groove-pop button { min-height: 44px; padding: 0 12px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--text); font-size: 15px; font-weight: 700; white-space: nowrap; }
.groove-pop button.on { background: rgba(97,158,237,0.18); border-color: rgba(97,158,237,0.8); color: #C3D9FB; }
.groove-pop.menu { flex-direction: column; gap: 2px; min-width: 176px; }
.groove-pop.menu button { text-align: left; padding: 0 14px; }
.groove-foot { line-height: 17px; }
.groove-actions .btn { min-height: 50px; }
.groove-undo { flex: none; width: 108px; padding: 0 12px; }
.groove-undo:disabled { opacity: 0.45; }
.gfit-hears { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border-radius: 16px; background: rgba(212,154,112,0.10); }
.gfit-hears b { font-size: 13.5px; line-height: 17px; font-weight: 600; color: #F1B88D; }
.gfit-hears span { font-size: 15px; line-height: 20px; color: #E8E3DE; }
.gfit-list { display: flex; flex-direction: column; gap: 8px; }
.gfit { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.03) 55%, rgba(255,255,255,0.045) 100%), rgba(20,21,26,0.40); border: 1px solid rgba(255,255,255,0.09); }
.gfit.on { background: linear-gradient(160deg, rgba(168,200,248,0.16), rgba(97,158,237,0.06)), rgba(20,21,26,0.5); border-color: rgba(168,200,248,0.34); }
.gfit-pick { flex: 1; min-width: 0; min-height: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 0; border: none; background: none; color: var(--text); text-align: left; }
.gfit-role { font-size: 13.5px; line-height: 17px; font-weight: 600; color: #F1B88D; }
.gfit-name { display: flex; align-items: center; gap: 8px; max-width: 100%; font-size: 17px; line-height: 22px; font-weight: 600; }
.gfit-name .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gfit-tag { flex: none; padding: 3px 9px; border-radius: 10px; background: rgba(97,158,237,0.18); color: #C3D9FB; font-size: 13px; line-height: 16px; font-weight: 600; }
.gfit-why { font-size: 14px; line-height: 19px; color: var(--text-2); }
.gmini { display: flex; flex-direction: column; gap: 3px; width: 104px; margin-top: 2px; }
.gmini > span { display: flex; gap: 2px; }
.gmini i { display: block; flex: 1; height: 7px; border-radius: 2px; background: rgba(244,238,231,0.10); }
.gmini i.on { background: #619EED; }
.gfit .play-btn.gfit-hear { width: 48px; height: 48px; background: var(--tint-play, rgba(97,158,237,0.18)); color: #C3D9FB; }
.gfit .play-btn.gfit-hear.playing { background: var(--accent, #2F64B9); color: #F7F3EE; }
.gfit-more { flex: 1; }
.gfit-use { flex: 1.2; min-width: 0; }

/* Round 29 (boards 86-88): a mix button on every layer in Sing; it lights up once the layer has its own sound */
#layers .layer { gap: 8px; }
.layer .small-btn.mix-btn { width: 44px; min-width: 44px; padding: 0; }
.layer .small-btn.mix-btn.lit { background: var(--tint-blue); color: #C3D9FB; border: 1.5px solid var(--pick-edge); }
.sheet .sing-note { margin: 0; }
