/* Listen browse: chips and style rows */
#app .br-listen-page .br-listen-browser>.br-listen-section-heading{display:none}
html body #app .br-listen-page .br-listen-browser .br-listen-option-grid{display:none!important}
#app .lbr-chips{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:6px 2px 4px}
#app .lbr-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:76px;padding:8px 2px 9px;border:1.5px solid #d8d2c4;border-radius:18px;background:transparent;color:#252522;font:600 13px/1.1 Inter,system-ui,sans-serif;cursor:pointer}
#app .lbr-chip[aria-pressed="true"]{background:#365444;border-color:#365444;color:#fff}
#app .lbr{display:none}
#app .lbr-all .lbr{display:block}
#app .lbr-all .lc-wrap{display:none}
#app .lbr-sec{padding-top:20px}
#app .lbr-sec h2{margin:0;font:600 21px/1.2 Lora,Georgia,serif;color:#173426}
#app .lbr-sub{margin:2px 0 0;font:14px/1.35 Inter,system-ui,sans-serif;color:#566256}
#app .lbr-scroll{display:flex;gap:12px;overflow-x:auto;margin:0 -2px;padding:11px 2px 6px;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
#app .lbr-card{flex:0 0 138px;scroll-snap-align:start}
#app .lbr-tile{position:relative;display:block;width:138px;height:138px;padding:0;border:1px solid #d8d2c4;border-radius:18px;background:linear-gradient(145deg,var(--ta),var(--tb));cursor:pointer;box-sizing:border-box;overflow:hidden}
#app .lbr-tile.is-now{border:3px solid #d9ab5a}
#app .lbr-tile.lbr-t-radio{--ta:#d4e4d2;--tb:#a9c6ae;--da:#35503f;--db:#1f3228;--tc:#2f5a3f}
#app .lbr-tile.lbr-t-playlist{--ta:#ecd5e3;--tb:#d2a9c3;--da:#4b3340;--db:#2b1d25;--tc:#63384f}
#app .lbr-tile.lbr-t-podcast{--ta:#f4e3b4;--tb:#e0bf74;--da:#4a4030;--db:#2b261c;--tc:#8a5a14}
#app .lbr-tag{position:absolute;left:7px;top:7px;display:inline-flex;align-items:center;gap:4px;padding:4px 9px 4px 6px;border-radius:999px;background:var(--tc);color:#fff;font:700 10px/1.2 Inter,system-ui,sans-serif;letter-spacing:.06em}
#app .lbr-tic,#app .lbr-cic{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;flex:none}
#app .lbr-cw{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e6e2d4;color:#365444}
#app .lbr-cw-radio{background:#d4e4d2;color:#2f5a3f}
#app .lbr-cw-playlist{background:#ecd5e3;color:#63384f}
#app .lbr-cw-podcast{background:#f4e3b4;color:#8a5a14}
#app .lbr-cic{width:24px;height:24px;stroke-width:3}
html[data-theme="dark"] #app .lbr-cw{background:#2f3b33;color:#adc6ad}
html[data-theme="dark"] #app .lbr-cw-radio{background:#35503f;color:#cfe3cf}
html[data-theme="dark"] #app .lbr-cw-playlist{background:#4b3340;color:#e8bfd6}
html[data-theme="dark"] #app .lbr-cw-podcast{background:#4a4030;color:#ecd07f}
#app .lbr-ic{position:absolute;left:43px;top:44px;width:52px;height:52px;fill:none;stroke:var(--tc);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
#app .lbr-pl{position:absolute;right:7px;bottom:7px;width:38px;height:38px;border-radius:50%;background:#d9ab5a;display:grid;place-items:center}
#app .lbr-pl svg{width:16px;height:16px;fill:#173426}
#app .lbr-name{margin-top:7px;font:600 14.5px/1.25 Lora,Georgia,serif;color:#173426;overflow-wrap:anywhere}
#app .lbr-line{margin-top:2px;font:12.5px/1.3 Inter,system-ui,sans-serif;color:#566256}
#app .lbr-more{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:22px 0 0;padding:14px 16px;border:1px solid #d8d2c4;border-radius:16px;background:#fffdf7;color:#173426;text-align:left;cursor:pointer}
#app .lbr-more strong{display:block;font:600 15px Lora,Georgia,serif}
#app .lbr-more small{display:block;margin-top:2px;font:12.5px Inter,system-ui,sans-serif;color:#566256}
#app .lbr-chev{font-size:26px;color:#566256}
html[data-theme="dark"] #app .lbr-chip{border-color:#3d4940;color:#edece4}
html[data-theme="dark"] #app .lbr-chip[aria-pressed="true"]{background:#adc6ad;border-color:#adc6ad;color:#173426}
html[data-theme="dark"] #app .lbr-sec h2,html[data-theme="dark"] #app .lbr-name,html[data-theme="dark"] #app .lbr-more{color:#f4f2ea}
html[data-theme="dark"] #app .lbr-sub,html[data-theme="dark"] #app .lbr-line,html[data-theme="dark"] #app .lbr-more small,html[data-theme="dark"] #app .lbr-chev{color:#b9c4b9}
html[data-theme="dark"] #app .lbr-tile{border-color:#3d4940;background:linear-gradient(145deg,var(--da),var(--db))}
html[data-theme="dark"] #app .lbr-tile.is-now{border-color:#d7b751}
html[data-theme="dark"] #app .lbr-t-radio{--tc:#adc6ad}
html[data-theme="dark"] #app .lbr-t-playlist{--tc:#e0b0cb}
html[data-theme="dark"] #app .lbr-t-podcast{--tc:#e6c46a}
html[data-theme="dark"] #app .lbr-tag{background:var(--tc);color:#1b261e}
html[data-theme="dark"] #app .lbr-pl{background:#d7b751}
html[data-theme="dark"] #app .lbr-more{background:#1f2a22;border-color:#3d4940}

#app .lbr-cont{padding-top:14px}
#app .lbr-resume{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:78px;padding:12px 14px;border:1px solid #d8d2c4;border-radius:18px;background:linear-gradient(145deg,#f4e3b4,#e0bf74);color:#173426;text-align:left;cursor:pointer;box-sizing:border-box}
#app .lbr-rico{flex:none;width:46px;height:46px;border-radius:14px;background:#8a5a14;display:grid;place-items:center}
#app .lbr-ic2{width:28px;height:28px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#app .lbr-rtx{flex:1;min-width:0;display:block}
#app .lbr-rtx small{display:block;font:700 10px/1.2 Inter,system-ui,sans-serif;letter-spacing:.07em;color:#6b4710}
#app .lbr-rtx strong{display:block;margin-top:2px;font:600 15px/1.25 Lora,Georgia,serif;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#app .lbr-rtx em{display:block;margin-top:2px;font:normal 12.5px/1.3 Inter,system-ui,sans-serif;color:#4a4030}
#app .lbr-resume .lbr-pl{position:static;flex:none}
html[data-theme="dark"] #app .lbr-resume{border-color:#3d4940;background:linear-gradient(145deg,#4a4030,#2b261c);color:#f4f2ea}
html[data-theme="dark"] #app .lbr-rico{background:#e6c46a}
html[data-theme="dark"] #app .lbr-ic2{stroke:#1b261e}
html[data-theme="dark"] #app .lbr-rtx small{color:#e6c46a}
html[data-theme="dark"] #app .lbr-rtx em{color:#d8d2c0}

/* Cover art on tiles (podcast feeds, SoundCloud). The tag, icon and play button sit above it. */
#app .lbr-tile .lbr-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#app .lbr-tile .lbr-art~.lbr-ic{display:none}
#app .lbr-tile .lbr-art~.lbr-tag{box-shadow:0 1px 4px rgba(0,0,0,.35)}
#app .lbr-tile .lbr-art~.lbr-pl{box-shadow:0 2px 6px rgba(0,0,0,.4)}

/* Radio tiles: each station gets its own colour and initials (and its own logo when it has a usable one), so a row does not look like the same icon repeated. */
#app .lbr-tile.lbr-v{border-color:rgba(0,0,0,.18)}
#app .lbr-tile.lbr-v .lbr-tag{background:rgba(0,0,0,.34);color:#fff}
#app .lbr-tile .lbr-ini{position:absolute;left:0;right:0;top:38px;text-align:center;font:700 38px/1 Lora,Georgia,serif;letter-spacing:.02em;opacity:.95}
#app .lbr-tile .lbr-logo{object-fit:contain;box-sizing:border-box;padding:22px 18px 30px;background:#fffdf7}
#app .lbr-tile .lbr-logo~.lbr-ini{display:none}
#app .lbr-tile .lbr-logo~.lbr-tag{background:rgba(23,52,38,.85)}
html[data-theme="dark"] #app .lbr-tile.lbr-v{border-color:rgba(255,255,255,.16)}
