/* Before The Data search (js/btd-search.js). Desktop: centred panel. Phone: full screen. Nothing under 14px. */
html.bs-lock,html.bs-lock body{overflow:hidden}
.bs-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(14,13,11,.42);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;align-items:flex-start;justify-content:center;padding:9vh 20px 20px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}
.bs-overlay[hidden]{display:none}
.bs-sheet{width:100%;max-width:680px;max-height:78vh;display:flex;flex-direction:column;background:#fff;color:#14120f;border:1px solid rgba(14,13,11,.1);border-radius:20px;box-shadow:0 30px 80px -24px rgba(14,13,11,.45);overflow:hidden;animation:bsIn .16s ease-out}
@keyframes bsIn{from{opacity:0;transform:translateY(-6px) scale(.99)}to{opacity:1;transform:none}}
.bs-bar{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #ece5d9}
.bs-bar-ic svg,.bs-ic svg,.bs-clear svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bs-bar-ic{color:#8b847a;display:flex}
.bs-input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#14120f;font:500 19px/1.3 Inter,-apple-system,sans-serif;padding:6px 0}
.bs-input::placeholder{color:#9a9388}
.bs-input::-webkit-search-cancel-button{display:none}
.bs-clear{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:50%;background:#f3ede3;color:#4a443b;cursor:pointer}
.bs-clear[hidden]{display:none}
.bs-x{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#6b655b;cursor:pointer;flex:none}.bs-x:hover{background:#f3ede3;color:#14120f}.bs-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}[data-theme="dark"] .bs-x:hover{background:#221f1b;color:#F5F1EA}
.bs-cancel{display:none;border:0;background:none;color:#a9322a;font:600 16px Inter,-apple-system,sans-serif;padding:6px 2px;cursor:pointer}
.bs-esc,.bs-foot kbd{font:600 12px/1 Inter,-apple-system,sans-serif;color:#6b655b;border:1px solid #e3dbcd;border-bottom-width:2px;border-radius:6px;padding:4px 6px;background:#fbf9f5}
.bs-chips{display:flex;gap:8px;padding:12px 16px 4px;flex-wrap:wrap}
.bs-chips button{min-height:36px;padding:0 14px;border-radius:999px;border:1px solid #e3dbcd;background:#fbf9f5;color:#2a2620;font:600 14px Inter,-apple-system,sans-serif;cursor:pointer}
.bs-chips button.is-on{background:#0e0d0b;border-color:#0e0d0b;color:#fff}
.bs-body{overflow-y:auto;padding:4px 8px 10px;overscroll-behavior:contain}
.bs-group{padding:14px 10px 6px;font:600 14px Inter,-apple-system,sans-serif;color:#8b847a}
.bs-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:8px 10px;border:0;border-radius:12px;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.bs-row.is-active{background:#f6f1e8}
.bs-row:focus-visible{outline:2px solid #c4332a;outline-offset:-2px}
.bs-face{width:44px;height:44px;border-radius:10px;background:#e9e2d6 center/cover no-repeat;flex:none}
.bs-face.sm{width:32px;height:32px;border-radius:8px}
.bs-ini{display:flex;align-items:center;justify-content:center;color:#6b655b;font:600 18px Inter,sans-serif}
.bs-ic{width:44px;height:44px;border-radius:10px;background:#f3ede3;color:#6b655b;display:flex;align-items:center;justify-content:center;flex:none}
.bs-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.bs-name{font:600 16px/1.3 Inter,-apple-system,sans-serif;color:#14120f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bs-name mark{background:none;color:#a9322a}
.bs-tag{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:999px;background:#fbefec;color:#a9322a;font-size:13px;font-weight:600;vertical-align:1px}
.bs-meta{font-size:14px;color:#6b655b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bs-num{flex:none;font:600 14px Inter,-apple-system,sans-serif;color:#4a443b;font-variant-numeric:tabular-nums}
.bs-all .bs-name{color:#a9322a}
.bs-empty{padding:34px 16px;text-align:center;display:flex;flex-direction:column;gap:6px;font-size:15px;color:#6b655b}
.bs-empty b{color:#14120f;font-size:16px}
.bs-foot{display:flex;gap:18px;padding:10px 16px;border-top:1px solid #ece5d9;font-size:14px;color:#6b655b;background:#fcfbf8}
.bs-foot span{display:inline-flex;align-items:center;gap:5px}
[data-theme="dark"] .bs-sheet{background:#151310;color:#F5F1EA;border-color:#2a2723}
[data-theme="dark"] .bs-bar,[data-theme="dark"] .bs-foot{border-color:#2a2723}
[data-theme="dark"] .bs-foot{background:#100f0d}
[data-theme="dark"] .bs-input,[data-theme="dark"] .bs-name,[data-theme="dark"] .bs-empty b{color:#F5F1EA}
[data-theme="dark"] .bs-row.is-active{background:#221f1b}
[data-theme="dark"] .bs-ic,[data-theme="dark"] .bs-clear,[data-theme="dark"] .bs-chips button,[data-theme="dark"] .bs-esc,[data-theme="dark"] .bs-foot kbd{background:#221f1b;border-color:#37332e;color:#C9C3B6}
[data-theme="dark"] .bs-chips button.is-on{background:#F5F1EA;color:#0e0d0b}
[data-theme="dark"] .bs-num,[data-theme="dark"] .bs-meta{color:#A9A296}
[data-theme="dark"] .bs-name mark,[data-theme="dark"] .bs-all .bs-name{color:#E8574A}
/* Phone: full screen, big box, Cancel instead of Esc */
.bs-overlay.is-phone{padding:0;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
[data-theme="dark"] .bs-overlay.is-phone{background:#151310}
.bs-overlay.is-phone .bs-sheet{max-width:none;max-height:none;height:100%;border:0;border-radius:0;box-shadow:none;animation:none}
.bs-overlay.is-phone .bs-bar{padding:max(12px,env(safe-area-inset-top)) 16px 12px;gap:10px}
.bs-overlay.is-phone .bs-input{font-size:17px;background:#f3ede3;border-radius:12px;padding:11px 12px}
[data-theme="dark"] .bs-overlay.is-phone .bs-input{background:#221f1b}
.bs-overlay.is-phone .bs-bar-ic,.bs-overlay.is-phone .bs-esc,.bs-overlay.is-phone .bs-x,.bs-overlay.is-phone .bs-foot{display:none}
.bs-overlay.is-phone .bs-cancel{display:block}
.bs-overlay.is-phone .bs-body{flex:1;padding-bottom:max(16px,env(safe-area-inset-bottom))}
.bs-overlay.is-phone .bs-num{display:none}
@media (prefers-reduced-motion:reduce){.bs-sheet{animation:none}}
/* Desktop artist profile: search bar beside the back button */
.btd-prof-nav.bs-has-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}
.bs-prof-bar{display:flex;align-items:center;justify-content:center;width:64px;height:40px;padding:0;border:1.5px solid #d9d2c5;border-radius:999px;background:transparent;color:#4a443b;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.bs-prof-bar:hover{border-color:#14120f;color:#14120f;background:#fff}
.bs-prof-bar:focus-visible{outline:2px solid #c4332a;outline-offset:2px}
.bs-prof-bar .bs-bar-ic{display:flex;color:inherit}
[data-theme="dark"] .bs-prof-bar{border-color:#4a453e;color:#C9C3B6}[data-theme="dark"] .bs-prof-bar:hover{border-color:#F5F1EA;color:#F5F1EA;background:#151310}
@media (max-width:720px){.bs-prof-bar{display:none}}
