/* "Bələdçi ilə dinlə" (/learn/dinle, owner 2026-11-12, task 10). Builds on proto.css and home.css. */
.dl { max-width: 600px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.dl .lbl { margin: 16px 0 6px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dl-lead { margin-top: 4px; color: var(--ink-2); font-size: 0.95rem; }
.dl-list { display: grid; gap: 7px; }
.dl-it { display: flex; gap: 11px; align-items: center; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.dl-it:hover { border-color: var(--accent); }
.dl-it .cv { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; font-size: 20px; }
.dl-it .tx { display: grid; min-width: 0; }
.dl-it b { font-size: 0.92rem; }
.dl-it small { font-size: 0.74rem; font-weight: 700; color: var(--muted); line-height: 1.3; }
.dl-it .fo { justify-self: start; margin-top: 3px; padding: 2px 8px; border-radius: 99px; background: var(--teal-soft); color: var(--teal); font-size: 0.66rem; font-weight: 900; }
.dl-it .r { margin-left: auto; flex: none; font-size: 0.74rem; font-weight: 900; color: var(--muted); }
.dl-it .r.dn { color: var(--gold); font-size: 0.9rem; letter-spacing: 1px; }

.dl-top { display: flex; align-items: center; gap: 12px; }
.dl-top b { font-size: 1.05rem; line-height: 1.25; }
.dl .icon-btn { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); cursor: pointer; }
.dl-ti { margin-top: 10px; display: grid; }
.dl-ti b { font-size: 1.02rem; }
.dl-ti small { font-size: 0.76rem; font-weight: 700; color: var(--muted); }

.dl-tl { position: relative; height: 46px; margin-top: 12px; margin-bottom: 8px; cursor: pointer; }
.dl-tl .seg { position: absolute; top: 0; bottom: 0; display: grid; place-items: center; overflow: hidden; color: #fff; font-size: 0.62rem; font-weight: 900; text-align: center; line-height: 1.1; border-right: 2px solid var(--paper); }
.dl-tl .seg:first-child { border-radius: 10px 0 0 10px; }
.dl-tl .seg:nth-last-child(1 of .seg) { border-radius: 0 10px 10px 0; border-right: 0; }
.dl-tl .seg span { padding: 0 2px; overflow: hidden; text-overflow: ellipsis; }
.dl-tl .phd { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1px; border-radius: 2px; background: var(--ink-bg); box-shadow: 0 0 0 1.5px var(--paper); pointer-events: none; }
.dl-tl .tp { position: absolute; bottom: -12px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent); border: 2px solid var(--paper); pointer-events: none; }
.dl-tl .ch { position: absolute; top: -6px; width: 0; height: 58px; border-left: 2px dashed var(--ok); pointer-events: none; }
.dl-tl .ch.no { border-left-color: var(--bad); }
.dl-time { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.7rem; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }

.dl-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.dl-meters > div { padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.dl-meters small { display: block; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.dl-meters b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.dl-meters .tr { font-size: 0.78rem; font-weight: 900; color: var(--muted); }
.dl-meters .tr.up { color: var(--accent-ink, var(--accent)); }
.dl-meters .tr.down { color: var(--teal); }
.dl-vol { display: flex; gap: 3px; align-items: flex-end; height: 22px; margin-top: 2px; }
.dl-vol i { width: 8px; border-radius: 2px; background: var(--teal); transition: background 0.3s; }
.dl-vol i.o { background: var(--line); }

.dl-now { margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: var(--ink-bg); color: #fff; min-height: 76px; }
.dl-now small { display: block; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.dl-now b { display: block; margin-top: 3px; font-size: 0.98rem; line-height: 1.38; }
.dl-now.flash { animation: dl-flash 0.9s ease-out; }
@keyframes dl-flash { 0% { box-shadow: 0 0 0 0 var(--gold); } 30% { box-shadow: 0 0 0 5px var(--gold); } 100% { box-shadow: 0 0 0 0 transparent; } }

.dl-tap { display: grid; place-items: center; width: 100%; min-height: 66px; margin-top: 10px; border: 0; border-radius: 16px; background: var(--accent); color: #fff; font: inherit; font-weight: 900; font-size: 1.1rem; line-height: 1.15; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.dl-tap small { display: block; font-size: 0.74rem; font-weight: 700; opacity: 0.9; }
.dl-tap:disabled { opacity: 0.45; cursor: default; }
.dl-tap.hit { animation: dl-hit 0.25s ease-out; }
@keyframes dl-hit { 0% { transform: scale(0.97); } 100% { transform: scale(1); } }

.dl-ctl { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 12px; }
.dl-ctl button { min-width: 50px; height: 46px; padding: 0 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); color: var(--ink); font: inherit; font-weight: 900; font-size: 0.82rem; cursor: pointer; }
.dl-ctl .pl { width: 60px; height: 60px; padding: 0; display: grid; place-items: center; border: 0; background: var(--ink-bg); color: #fff; }

.dl-sum { margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--ink-bg); color: #fff; text-align: center; display: grid; gap: 2px; }
.dl-sum .st { color: var(--gold); font-size: 1.5rem; letter-spacing: 3px; }
.dl-sum b { font-size: 1.05rem; }
.dl-sum small { font-size: 0.78rem; font-weight: 700; opacity: 0.85; }
#r-tl { cursor: default; margin-top: 18px; }
.dl-legend { display: flex; gap: 14px; margin-top: 18px; font-size: 0.72rem; font-weight: 800; color: var(--muted); }
.dl-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.dl-legend i { display: inline-block; }
.dl-legend .ch { width: 0; height: 13px; border-left: 2px dashed var(--ok); }
.dl-legend .tp { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

.dl-q { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.dl-q b { display: block; font-size: 0.88rem; }
.dl-q .op { display: grid; gap: 5px; margin-top: 7px; }
.dl-q .op button { padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-size: 0.84rem; font-weight: 800; text-align: left; cursor: pointer; }
.dl-q .op button:disabled { cursor: default; opacity: 0.75; }
.dl-q .op button.ok { opacity: 1; border: 2px solid var(--ok); background: color-mix(in srgb, var(--ok) 12%, var(--card)); color: var(--ok); }
.dl-q .op button.no { opacity: 1; border: 2px solid var(--bad); background: color-mix(in srgb, var(--bad) 8%, var(--card)); color: var(--bad); }
.dl-q .op button.ok::before { content: '✓ '; }
.dl-q .op button.no::before { content: '✗ '; }
.dl-q .fb { display: block; margin-top: 6px; font-size: 0.78rem; font-weight: 800; }
.dl-q .fb.ok { color: var(--ok); }
.dl-q .fb.no { color: var(--bad); }
.dl-qs { margin-top: 8px; font-size: 0.82rem; font-weight: 900; color: var(--ink-2); }
.dl-ext { display: inline-block; margin-top: 12px; font-weight: 900; font-size: 0.9rem; color: var(--accent-ink, var(--accent)); }
.dl-note { margin-top: 6px; font-size: 0.74rem; font-weight: 700; color: var(--muted); line-height: 1.4; }
.dl-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.dl-acts .btn { min-height: 48px; }
