.b-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.b-chips .chip { min-height: 40px; }
.jr.solo { display: block; }
.jr.solo .jr-main { max-width: 100%; }
.b-page .jr.solo { margin-top: 8px; }

.b-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.b-ix { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-bottom: 4px solid var(--rc); text-align: center; }
.b-ix.missing { opacity: .7; }
.b-ix-art { display: grid; place-items: center; min-height: 60px; }
.b-ix-name { font-size: 13px; line-height: 1.2; }
.b-ix-meta { font-size: 12px; color: var(--muted, #98a); }
.b-star { color: var(--accent); }

.b-sell { display: flex; flex-direction: column; gap: 10px; }
.b-sellrow { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-left: 6px solid var(--rc); }
.b-dot { width: 14px; height: 14px; background: var(--rc); box-shadow: 0 0 0 2px var(--ink); }

.b-streak { display: flex; align-items: center; gap: 22px; padding: 14px 20px; flex-wrap: wrap; }
.b-streak-n { display: flex; flex-direction: column; align-items: center; min-width: 90px; }
.b-big { font-size: 34px; line-height: 1; }
.b-streak-days { display: flex; gap: 8px; flex: 1; justify-content: center; }
.b-sd { width: 38px; height: 38px; display: grid; place-items: center; background: var(--bg2); box-shadow: 0 0 0 3px var(--ink); font-size: 14px; }
.b-sd.on { background: var(--accent); color: var(--ink); }
.b-sd.bonus { box-shadow: 0 0 0 3px var(--accent); }
.b-streak-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.b-rank { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.b-rrow { display: flex; align-items: center; gap: 16px; padding: 10px 16px; }
.b-rrow.me { background: var(--accent); color: var(--ink); }
.b-rrow.me .muted { color: var(--ink); }
.b-pos { width: 30px; text-align: center; }

.b-friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.b-friend { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.b-fhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.b-fshow { display: flex; gap: 8px; justify-content: space-between; }
.b-fitem { flex: 1; display: grid; place-items: center; min-height: 54px; background: var(--bg2); border-bottom: 3px solid var(--rc); }

.b-feed { display: flex; flex-direction: column; gap: 8px; }
.b-frow { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-left: 6px solid var(--rc, var(--ink)); }
.b-fart { display: grid; place-items: center; width: 60px; flex: none; }
.b-fn { color: var(--rc); }

.b-profile-sheet { display: flex; flex-direction: column; gap: 12px; min-width: min(760px, 86vw); max-height: 80vh; }
.b-profile-sheet h2 { margin: 0; }
.b-prof-body { overflow: auto; min-height: 0; padding: 4px 4px 12px; }
.b-prof { display: flex; flex-direction: column; gap: 14px; }
.b-prof h3 { margin: 6px 0 0; font-size: 16px; }
.b-prof-head { display: flex; align-items: center; gap: 18px; padding: 14px 18px; }
.b-lv { width: 64px; height: 64px; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-size: 26px; box-shadow: 0 0 0 3px var(--ink); flex: none; }
.b-who { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.b-title { font-size: 20px; }
.b-score { display: flex; flex-direction: column; align-items: flex-end; }
.b-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.b-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: var(--bg2); box-shadow: 0 0 0 3px var(--ink); }
.b-best { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.b-bestcard { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-bottom: 4px solid var(--rc); text-align: center; }
.b-titles, .b-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.b-badge { display: grid; place-items: center; width: 56px; height: 56px; background: var(--bg2); box-shadow: 0 0 0 3px var(--ink); }
.b-prof-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

body.phone .b-streak { gap: 12px; padding: 12px; }
body.phone .b-streak-days { order: 3; flex-basis: 100%; }
body.phone .b-sd { width: 34px; height: 34px; }
body.phone .b-friends { grid-template-columns: 1fr; }
body.phone .b-index { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
body.phone .b-prof-head { flex-wrap: wrap; gap: 12px; }
body.phone .b-profile-sheet { min-width: 0; }
body.phone .b-frow { flex-wrap: wrap; }
body.phone .b-sellrow { gap: 8px; padding: 8px 10px; }
body.phone .b-sellrow .muted { display: none; }
body.phone .b-head { flex-wrap: wrap; }
body.phone .b-head .b-chips { flex-basis: 100%; margin: 0; }
body.phone .b-head .grow { display: none; }
