/* Listen: the read-aloud player (assets/listen.js). Self-contained colours and fonts, so it looks the same on every page. */
.zl-top { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.zl-listen { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; cursor: pointer;
             border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); color: #e6e6eb;
             font: 500 16px/1.2 Inter, system-ui, sans-serif; }
.zl-listen span { font-style: normal; font: 500 12px/1 "JetBrains Mono", ui-monospace, Consolas, monospace; color: #adadb9; }
.zl-listen:hover { border-color: #22d3ee; background: rgba(168, 85, 247, 0.1); }
.zl-resume { border-style: dashed; }
.zl-here { margin-left: 10px; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: none;
           color: #cfd0d9; cursor: pointer; font: 500 11px/1.6 "JetBrains Mono", ui-monospace, Consolas, monospace; vertical-align: middle; }
.zl-here:hover { border-color: #22d3ee; color: #e6e6eb; }
h1 .zl-here, h2 .zl-here { font-size: 11px; letter-spacing: 0; text-transform: none; font-style: normal; font-weight: 500; }
.zl-listen:focus-visible, .zl-here:focus-visible, .zl-b:focus-visible, .zl-row:focus-visible, .zl-track:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }

.zl-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; display: flex; align-items: center; gap: 6px;
          padding: 10px max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
          background: rgba(18, 18, 24, 0.96); border-top: 1px solid rgba(255, 255, 255, 0.16); color: #e6e6eb;
          font: 14px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; backdrop-filter: blur(8px); }
.zl-bar[hidden] { display: none; }
body.zl-on { padding-bottom: 86px !important; }
.zl-b { flex: none; min-width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.05); color: #e6e6eb; cursor: pointer; font: 15px/1 system-ui, sans-serif; }
.zl-b:hover { border-color: #22d3ee; }
.zl-play { min-width: 46px; height: 46px; background: #a855f7; border-color: #a855f7; font-size: 16px; }
.zl-now { flex: 1; min-width: 0; padding: 0 6px; }
.zl-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: 13px; }
.zl-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #adadb9; font-size: 13px; margin-top: 1px; }
.zl-track { position: relative; height: 14px; margin-top: 3px; cursor: pointer; display: flex; align-items: center; }
.zl-track > .zl-fill { height: 4px; border-radius: 2px; background: #22d3ee; }
.zl-track { background: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)) center / 100% 4px no-repeat; border-radius: 2px; }
.zl-time { flex: none; font-variant-numeric: tabular-nums; color: #adadb9; font-size: 12px; }
.zl-speed { min-width: 48px; font-size: 13px; }
@media (max-width: 620px) {
  .zl-bar { flex-wrap: wrap; gap: 6px 8px; }
  .zl-now { order: -1; flex-basis: 100%; padding: 0; }
  .zl-time { margin-left: auto; }
}

/* the /listen station */
.zl-list { list-style: none; margin: 0; padding: 0; }
.zl-row { width: 100%; display: grid; grid-template-columns: 9em 1fr auto auto; gap: 4px 14px; align-items: baseline; text-align: left;
          padding: 14px 0; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.13); color: #e6e6eb; cursor: pointer; }
.zl-row:hover .zl-name { color: #fff; text-decoration: underline; text-decoration-color: #22d3ee; text-underline-offset: 4px; }
.zl-kind, .zl-len { font: 500 11px/1.6 "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: #8e8a93; }
.zl-name { font: 400 19px/1.4 Inter, system-ui, sans-serif; }
.zl-go { color: #22d3ee; font-size: 15px; }
.zl-resume-line { margin: 0 0 18px; }
.zl-top .zl-order { margin-left: 0; align-self: center; }
.zl-empty { color: #adadb9; }
@media (max-width: 620px) { .zl-row { grid-template-columns: 1fr auto; } .zl-kind { grid-column: 1 / -1; } }

/* one player across the site: other pages open in this frame above the player bar while it plays (assets/listen.js) */
.zl-frame { position: fixed; top: 0; left: 0; width: 100%; height: calc(100% - var(--zl-bar-h, 0px)); border: 0; z-index: 900; background: #06070c; }
html.zl-framing, html.zl-framing body { overflow: hidden; }
