/* ══════════════════════════════════════════════════════════════════════
   Listener accounts — the account pages' look (21 Oct 2026)
   /join, /login, /forgot, /reset, /account. Uses style.css's colours.
   Bump ?v= on changes (7-day cache).
   ══════════════════════════════════════════════════════════════════════ */
.mb-wrap { max-width: 520px; margin: 0 auto; padding: 44px 0 56px; }
.mb-wrap.wide { max-width: 880px; }
.mb-head { text-align: center; margin-bottom: 24px; }
.mb-head .page-title { margin-bottom: 8px; }
.mb-head p { color: var(--text-secondary); line-height: 1.65; }
.mb-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.mb-card + .mb-card { margin-top: 18px; }
.mb-card h2 { font-size: 18px; margin: 0 0 6px; color: var(--text-primary); }
.mb-card h2 small { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-left: 6px; }
.mb-card > p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.mb-card [hidden] { display: none !important; }

.mb-pass { position: relative; }
.mb-pass .form-input { padding-right: 70px; }
.mb-show {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-secondary); font: inherit; font-size: 12.5px; font-weight: 700;
    padding: 6px 8px; border-radius: 8px; cursor: pointer;
}
.mb-show:hover { color: var(--text-primary); background: rgba(139, 92, 246, 0.12); }
.mb-hint { font-size: 12.5px; color: var(--text-muted); margin: 6px 0 0; }
.mb-captcha { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; color: var(--text-secondary); font-size: 15px; }
.mb-captcha strong { color: var(--text-primary); }
.mb-captcha .form-input { width: 96px; text-align: center; }
.mb-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; margin: 0 0 16px; cursor: pointer; }
.mb-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: #ec4899; flex-shrink: 0; }
.mb-check a, .mb-alt a, .mb-link { color: var(--accent-pink); text-decoration: none; }
.mb-check a:hover, .mb-alt a:hover, .mb-link:hover { text-decoration: underline; }
.mb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mb-alt { text-align: center; font-size: 14px; color: var(--text-secondary); margin: 16px 0 0; }
.mb-row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mb-forgot { font-size: 13px; }

/* Account page */
.mb-hello { text-align: center; margin-bottom: 26px; }
.mb-hello .page-title { margin-bottom: 6px; }
.mb-hello p { color: var(--text-secondary); }
.mb-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 18px; }
.mb-tile { background: rgba(139, 92, 246, 0.08); border: 1px solid var(--border); border-radius: 14px; padding: 14px 12px; text-align: center; }
.mb-tile b { display: block; font-size: 22px; color: var(--text-primary); line-height: 1.2; }
.mb-tile span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.mb-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 120px; padding: 0 4px; }
.mb-day { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.mb-bar { width: 100%; max-width: 34px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #ec4899, #8b5cf6); min-height: 3px; }
.mb-bar.zero { background: rgba(255, 255, 255, 0.08); }
.mb-day small { font-size: 11px; color: var(--text-muted); }
.mb-note { font-size: 12.5px !important; color: var(--text-muted) !important; margin: 14px 0 0 !important; }
.mb-note a { color: var(--accent-pink); }
.mb-list { list-style: none; padding: 0; margin: 0; }
.mb-list li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(139, 92, 246, 0.10); }
.mb-list li:last-child { border-bottom: none; }
.mb-list .t { color: var(--text-primary); font-weight: 600; text-decoration: none; }
.mb-list a.t:hover { color: var(--accent-pink); }
.mb-list .s { font-size: 13px; color: var(--text-muted); }
.mb-pill { flex-shrink: 0; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-secondary); white-space: nowrap; }
.mb-pill.added { color: #10b981; border-color: rgba(16, 185, 129, 0.45); background: rgba(16, 185, 129, 0.10); }
.mb-pill.declined { color: var(--text-muted); }
.mb-pill.new { color: #f59e0b; border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.08); }
.mb-pill.air { color: var(--accent-pink); border-color: rgba(236, 72, 153, 0.5); background: rgba(236, 72, 153, 0.12); }
/* Badge case on the account page (21 Oct 2026; tiles + group buttons 28 Oct 2026, the owner's request) */
.mb-sub { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin: 22px 0 0; }
.mb-card h2 + .mb-sub { margin-top: 12px; }
.bc-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 12px -4px 0; padding: 4px; scrollbar-width: none; }
.bc-tabs::-webkit-scrollbar { display: none; }
.bc-tabs[hidden] { display: none; }
.bc-tabs button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; cursor: pointer;
                  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--text-secondary);
                  font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.bc-tabs button span { font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.bc-tabs button:hover { border-color: var(--accent-pink); color: var(--text-primary); }
.bc-tabs button[aria-pressed="true"] { background: var(--accent-gradient); border-color: transparent; color: #fff; }
.bc-tabs button[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.85); }
.bc-tabs button:focus-visible, .bc-tile:focus-visible { outline: 2px solid var(--accent-pink); outline-offset: 2px; }
.bc-case[data-view="one"] .mb-sub, .bc-case[data-view="all"] .mb-note { display: none; }
.bc-case[data-view="one"] .bc-grid { margin-top: 14px; }
.bc-grid { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.bc-grid > li { min-width: 0; }
.bc-tile { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 6px 10px;
           border-radius: 14px; border: 1px solid rgba(139, 92, 246, 0.18); background: rgba(255, 255, 255, 0.03);
           color: var(--text-primary); font: inherit; text-align: center; cursor: pointer; }
.bc-tile:hover { border-color: rgba(236, 72, 153, 0.45); }
.bc-tile[aria-expanded="true"] { border-color: var(--accent-pink); background: rgba(236, 72, 153, 0.08); }
.bc-tile img { width: 64px; height: auto; margin-bottom: 3px; }
.bc-name { font-size: 13px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere;
           display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bc-who { max-width: 100%; font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-tile .mb-tier { margin: 2px 0 0; }
.bc-tile .mb-prog { width: 64px; height: 4px; margin: 5px 0 0; }
.bc-new { position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 999px; background: var(--accent-pink); color: #fff;
          font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bc-detail { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px;
             background: rgba(236, 72, 153, 0.06); border: 1px solid rgba(236, 72, 153, 0.35); }
.bc-detail[hidden] { display: none; }
.bc-detail img { width: 84px; height: auto; flex: none; }
.bc-detail > div { min-width: 0; flex: 1; }
.bc-detail b { display: block; font-size: 15px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.bc-detail small { display: block; font-size: 13px; line-height: 1.45; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.bc-detail small.mb-dates { color: var(--text-secondary); }
.bc-detail .mb-prog { max-width: 260px; height: 5px; margin: 7px 0 4px; }
.bc-detail a { color: var(--accent-pink); }
@media (max-width: 480px) {
    .bc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .bc-tile { padding: 10px 4px 8px; }
    .bc-tile img { width: 56px; }
    .bc-tile .mb-prog { width: 56px; }
    .bc-detail { gap: 12px; padding: 12px; }
    .bc-detail img { width: 64px; }
}
.mb-tier { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 1px 7px;
           border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.mb-tier.t1 { color: #f3bd8a; background: rgba(192, 120, 54, 0.2); }
.mb-tier.t2 { color: #dfe4ee; background: rgba(184, 192, 210, 0.16); }
.mb-tier.t3 { color: #fcd34d; background: rgba(242, 182, 29, 0.16); }
.mb-tier.tE { color: #f9a8d4; background: rgba(236, 72, 153, 0.16); }
/* "View more" under the account page's long lists (21 Oct 2026) */
.mb-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 16px; border-radius: 999px;
           border: 1px solid var(--border); background: transparent; color: var(--accent-pink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.mb-more span { color: var(--text-muted); font-weight: 600; }
.mb-more:hover { border-color: var(--accent-pink); background: rgba(236, 72, 153, 0.08); }
.mb-more:focus-visible { outline: 2px solid var(--accent-pink); outline-offset: 2px; }
/* Song requests on the account page (21 Oct 2026) */
.mb-req { min-width: 0; }
.mb-ded { display: block; margin-top: 4px; font-size: 13.5px; font-style: italic; color: var(--text-secondary); overflow-wrap: anywhere;
          display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mb-ded-link { display: inline-block; margin-top: 3px; font-size: 13px; }
.mb-req-st { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.mb-req-st small { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.mb-empty { color: var(--text-muted); font-size: 14px; }
.mb-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mb-settings form { display: flex; flex-direction: column; }
.mb-settings form .btn { align-self: flex-start; }
.mb-settings h3 { font-size: 15px; margin: 0 0 10px; color: var(--text-primary); }
.mb-btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text-primary); }
.mb-btn-ghost:hover { border-color: var(--accent-pink); }
.mb-btn-danger { background: transparent; border: 1px solid rgba(239, 68, 68, 0.55); color: #f87171; }
.mb-btn-danger:hover { background: rgba(239, 68, 68, 0.12); }
/* Discord on the account page (25 Oct 2026): Discord's blurple for its button, a small tag on Discord requests */
.mb-btn-discord { display: inline-flex; align-items: center; background: #5865F2; border: 1px solid #5865F2; color: #fff; text-decoration: none; }
.mb-btn-discord:hover, .mb-btn-discord:focus-visible { background: #4752c4; border-color: #4752c4; color: #fff; }
.mb-discord p { margin: 0 0 14px; }
.mb-discord code { font-size: .92em; padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); }
#acctDiscord + .message { margin: 4px 0 14px; }
.mb-via { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 1px;
          color: #c7ccff; background: rgba(88, 101, 242, 0.22); }
.mb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mb-actions .message { flex-basis: 100%; margin: 4px 0 0; }
.mb-danger { border-color: rgba(239, 68, 68, 0.35); }

/* Listening levels (21 Oct 2026) — pins in /images/levels/ */
.mb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mb-level { display: flex; align-items: center; gap: 20px; }
.mb-level > img { flex: none; width: 104px; height: auto; }
.mb-level-text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mb-level-k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.mb-level-name { font-size: 26px; font-weight: 800; color: var(--text-primary); line-height: 1.15; }
.mb-level small { color: var(--text-secondary); font-size: 14px; }
.mb-prog { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 8px 0 6px; }
.mb-prog i { display: block; height: 100%; border-radius: inherit; background: var(--accent-gradient); }
img.is-locked { filter: grayscale(1); opacity: .4; }
.mb-ladder { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 12px; }
.mb-ladder summary { cursor: pointer; color: var(--accent-pink); font-weight: 700; font-size: 14px; list-style: none; display: inline-flex; align-items: center; gap: 6px; border-radius: 4px; }
.mb-ladder summary::-webkit-details-marker { display: none; }
.mb-ladder summary::after { content: '▾'; transition: transform .2s; }
.mb-ladder[open] summary::after { transform: rotate(180deg); }
.mb-ladder summary:focus-visible { outline: 2px solid var(--accent-pink); outline-offset: 3px; }
.mb-rungs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.mb-rungs li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 8px; border-radius: 12px; }
.mb-rungs li.now { background: rgba(139, 92, 246, 0.14); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.5); }
.mb-rungs img { width: 44px; height: auto; }
.mb-rungs b { display: block; font-weight: 600; color: var(--text-primary); font-size: 15px; line-height: 1.2; }
.mb-rungs small { color: var(--text-muted); font-size: 12.5px; }
.mb-st { font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mb-st.done { color: #10b981; }
.mb-st.here { color: var(--accent-pink); }
.mb-levelup { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 44px 16px 18px; margin-bottom: 18px; border-radius: 18px;
              background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(139, 92, 246, 0.16)); border: 1px solid rgba(236, 72, 153, 0.4); }
.mb-levelup[hidden] { display: none; }
.mb-levelup .fan { display: flex; flex: none; }
.mb-levelup .fan img { width: 64px; height: auto; animation: mbPop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.mb-levelup .fan img + img { margin-left: -18px; }
.mb-levelup .fan img:nth-child(2) { animation-delay: .12s; }
.mb-levelup .fan img:nth-child(3) { animation-delay: .24s; }
.mb-levelup b { display: block; font-size: 18px; color: var(--text-primary); line-height: 1.25; }
.mb-levelup p { margin: 2px 0 0; color: var(--text-secondary); font-size: 14px; }
.mb-levelup button { position: absolute; top: 8px; right: 8px; background: none; border: 0; color: var(--text-secondary); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.mb-levelup button:hover, .mb-levelup button:focus-visible { color: var(--text-primary); background: rgba(255, 255, 255, 0.08); outline: none; }
@keyframes mbPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mb-levelup .fan img { animation: none; } .mb-ladder summary::after { transition: none; } }

@media (max-width: 700px) {
    .mb-level { gap: 14px; }
    .mb-level > img { width: 84px; }
    .mb-level-name { font-size: 22px; }
    .mb-levelup { gap: 12px; }
    .mb-levelup .fan img { width: 52px; }
    .mb-wrap { padding: 28px 0 40px; }
    .mb-card { padding: 20px 16px; border-radius: 14px; }
    .mb-tiles { grid-template-columns: 1fr 1fr; }
    .mb-settings { grid-template-columns: 1fr; }
}
