/* Bizim musiqi (/azsongs, /azsongs/<id>, /azsongs/lad), owner 2026-11-11 task 14. Builds on proto.css + home.css;
   colours from the theme (collection badges use their own fixed colours with white text). */
.mz { max-width: 760px; padding-top: 12px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.mz .crumb { display: block; width: fit-content; margin-bottom: 10px; font-size: 0.85rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.mz h1 { font-size: 1.6rem; margin-top: 4px; }
.mz .lead, .mz .sub { margin-top: 4px; color: var(--ink-2); font-weight: 600; }
.mz-lbl { margin: 18px 0 8px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mz-note { margin: 12px 0 0; font-size: 0.8rem; font-weight: 700; color: var(--muted); line-height: 1.45; }
#mz-free { padding: 9px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.mz-ban { display: grid; gap: 3px; position: relative; overflow: hidden; margin-top: 12px; padding: 14px 15px; border-radius: 16px; color: #fff; text-decoration: none; background: linear-gradient(135deg, #0b6b4f, #c2410c 70%, #b91c1c); }
.mz-ban small { font-size: 0.66rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.92; }
.mz-ban b { font-size: 1.08rem; } .mz-ban > span { font-size: 0.8rem; font-weight: 700; }
.mz-ban-ic { position: absolute; right: 12px; top: 6px; font-size: 44px; opacity: 0.35; }
.mz-chs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.mz-chs i { font-style: normal; font-size: 0.7rem; font-weight: 900; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.22); }
.mz-chs i.on { background: #fff; color: #0b6b4f; }
.mz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.mz-cl { display: grid; gap: 2px; align-content: start; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius, 14px); background: var(--card); color: var(--ink); text-decoration: none; }
.mz-cl b { font-size: 0.9rem; margin-top: 4px; } .mz-cl small { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.mz-ic { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 5px; border-radius: 9px; background: var(--b); color: #fff; font-weight: 900; font-size: 0.78rem; box-sizing: border-box; width: fit-content; }
.mz-bar { display: block; height: 4px; border-radius: 9px; background: var(--paper-2); margin-top: 6px; overflow: hidden; }
.mz-bar i { display: block; height: 100%; border-radius: 9px; background: var(--teal); }
.mz-wk { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 2px solid var(--accent); border-radius: var(--radius, 14px); background: color-mix(in srgb, var(--accent) 6%, var(--card)); color: var(--ink); text-decoration: none; }
.mz-wk-n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 20px; }
.mz-wk > span:nth-child(2) { display: grid; min-width: 0; } .mz-wk b { font-size: 0.92rem; } .mz-wk small { font-size: 0.74rem; color: var(--muted); font-weight: 700; }
.mz-go { margin-left: auto; font-weight: 900; color: var(--accent-ink); white-space: nowrap; }
.mz .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mz-list { display: grid; gap: 6px; margin-top: 10px; }
.mz-it { display: flex; gap: 10px; align-items: center; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm, 12px); background: var(--card); color: var(--ink); text-decoration: none; }
.mz-it.locked { opacity: 0.7; }
.mz-tx { flex: 1; min-width: 0; display: grid; } .mz-tx b { font-size: 0.88rem; } .mz-tx small { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.mz-tx em { font-style: normal; color: var(--accent-ink); }
.mz-lv { flex: none; font-size: 0.68rem; font-weight: 900; padding: 3px 7px; border-radius: 7px; background: var(--paper-2); color: var(--ink-2); }
.mz-st { flex: none; font-size: 0.82rem; font-weight: 900; color: var(--gold, #c79a2b); } .mz-st.ok { color: var(--ok); }
.mz-comp { display: flex; gap: 12px; align-items: center; margin: 4px 0 6px; }
.mz-por { flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #3a3f5c, #1f2440); color: #f3d48a; font-size: 24px; font-weight: 900; }
.mz-comp b { font-size: 1.05rem; }
.mz-pd { display: inline-block; margin-top: 4px; padding: 3px 8px; border-radius: 7px; font-size: 0.72rem; font-weight: 900; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, var(--card)); }
.mz-nv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.mz-nv span { display: grid; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-align: center; }
.mz-nv span.on { border-color: #0b6b4f; background: color-mix(in srgb, #0b6b4f 12%, var(--card)); }
.mz-nv b { font-size: 0.78rem; } .mz-nv small { font-size: 0.68rem; font-weight: 700; color: var(--muted); }
.mz-nv p { grid-column: 1 / -1; margin: 2px 0 0; font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.mz-ladlink { display: grid; gap: 2px; margin-top: 14px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
.mz-ladlink span { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
/* piece */
.mz-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.mz-tags > * { font-size: 0.72rem; font-weight: 900; padding: 3px 8px; border-radius: 7px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; }
.mz-tags .lad { background: var(--teal-soft); color: var(--ink); }
.mz-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-sm, 12px); overflow: hidden; background: var(--card); }
.mz-tabs button { padding: 8px 2px; border: 0; border-right: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-weight: 800; font-size: 0.82rem; cursor: pointer; }
.mz-tabs button:last-child { border-right: 0; }
.mz-tabs button.on { background: var(--ink-bg); color: #fff; }
.mz-tabs small { display: block; font-size: 0.64rem; font-weight: 700; opacity: 0.75; }
.mz-plus { font-size: 0.6rem; font-weight: 900; padding: 1px 5px; border-radius: 5px; background: var(--accent); color: #fff; vertical-align: 1px; }
.mz-paper { margin-top: 8px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius-sm, 12px); background: #fffdf8; color: #1f2440; min-height: 60px; overflow: hidden; }
.mz-paper.dim { opacity: 0.45; }
.mz-soon { margin: 0; padding: 22px 10px; text-align: center; font-weight: 800; }
.mz-lock { margin: 8px 0 0; padding: 9px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.84rem; font-weight: 800; }
.mz-kara { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 1.05rem; font-weight: 800; line-height: 1.7; color: var(--muted); }
.mz-kara span.now { color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 0 3px; }
.mz-kbd { margin-top: 10px; }
.mz-kbd svg { width: 100%; height: auto; max-height: 110px; display: block; }
.mz-kbd .kbd .kw rect { fill: #fff; stroke: #c9c2b5; }
.mz-kbd .kbd .kb rect { fill: #1f2440; }
.mz-kbd .kbd .kw.on rect { fill: color-mix(in srgb, var(--teal) 35%, #fff); }
.mz-kbd .kbd .kb.on rect { fill: color-mix(in srgb, var(--teal) 70%, #1f2440); }
.mz-kbd .kbd .hit rect { fill: var(--accent); }
.mz-kbd .kbd text { font: 800 9px system-ui, sans-serif; fill: #6f7491; text-anchor: middle; }
.mz-kbd .kbd .kl { fill: #1f2440; } .mz-kbd .kbd .kl-b { fill: #fff; }
.mz-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.mz-acts:has(> [hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mz-act { display: grid; justify-items: center; gap: 2px; padding: 9px 4px; border: 1px solid var(--line); border-radius: var(--radius-sm, 12px); background: var(--card); color: var(--ink); font: inherit; font-weight: 800; font-size: 0.8rem; text-align: center; text-decoration: none; cursor: pointer; }
.mz-act i { font-style: normal; font-size: 1.1rem; }
.mz-act.p { background: var(--accent); border-color: var(--accent); color: #fff; }
.mz-act.on { border: 2px solid var(--accent); }
.mz-act.off, .mz-act:disabled { opacity: 0.5; cursor: default; }
.mz-sw { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.mz-sw span { display: grid; } .mz-sw b { font-size: 0.88rem; } .mz-sw small { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.mz-tg { flex: none; width: 42px; height: 24px; border: 0; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; }
.mz-tg::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left 0.15s; }
.mz-tg[aria-checked="true"] { background: var(--teal); } .mz-tg[aria-checked="true"]::after { left: 21px; }
.mz-tg:disabled { opacity: 0.5; cursor: default; }
.mz-nag { display: flex; gap: 3px; }
.mz-nag i { flex: 1; height: 16px; border-radius: 4px; background: var(--paper-2); transition: transform 0.08s; }
.mz-nag i.h { background: var(--accent); } .mz-nag i.m { background: color-mix(in srgb, var(--accent) 45%, var(--card)); }
.mz-nag i.now { transform: scaleY(1.35); outline: 2px solid var(--ink); }
.mz-tempo { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-weight: 800; font-size: 0.85rem; }
.mz-tempo input { flex: 1; accent-color: var(--accent); } .mz-tempo output { min-width: 3.2em; text-align: right; }
#mz-drill.on { border-color: var(--accent); color: var(--accent-ink); }
.mz-story { margin-top: 14px; padding: 8px 12px; border-left: 3px solid var(--gold, #c79a2b); background: var(--card); border-radius: 0 12px 12px 0; }
.mz-story b { display: block; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mz-story p { margin: 4px 0 0; font-size: 0.86rem; font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.mz-src, .mz-chk { margin: 10px 0 0; font-size: 0.76rem; font-weight: 700; color: var(--muted); }
.mz-src a { color: inherit; }
.mz-chk .linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--accent-ink); text-decoration: underline; cursor: pointer; }
.mz-repf { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 8px; }
.mz-repf label { flex: 1; min-width: 200px; display: grid; gap: 4px; font-size: 0.8rem; font-weight: 700; }
.mz-repf input { padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; }
.mz-msg { margin: 8px 0 0; font-size: 0.84rem; font-weight: 800; color: var(--ink-2); }
.mz-more { display: grid; gap: 1px; margin-top: 16px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
.mz-more small { font-size: 0.7rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
/* lad */
.mz-lads { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mz-lads button { padding: 6px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-weight: 900; font-size: 0.82rem; cursor: pointer; }
.mz-lads button.on { background: var(--teal); border-color: var(--teal); color: #fff; }
#mz-lad-mood { margin: 0; font-weight: 600; color: var(--ink-2); }
.mz-quiz { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.mz-quiz p { margin: 0 0 8px; font-weight: 800; }
.mz-qopts { display: flex; flex-wrap: wrap; gap: 6px; }
.mz-qopts .chip.ok { background: var(--ok); color: #fff; border-color: var(--ok); } .mz-qopts .chip.bad { background: var(--bad); color: #fff; border-color: var(--bad); }
#mz-drill { white-space: normal; height: auto; min-height: 44px; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; }
