/* BLACKBOARD on a phone (body.mv only): the screens js/board.js paints into #bbm. The computer's three dividers stay hidden
   here and nothing in this file reaches a computer. Page content ends above the raised Submit button (#main + the view's
   bottom padding); the sheet carries its own room for it. */
#bbm { display: none; }
body.mv #view-board.active:not(.bb-revising) { padding: 0 0 20px; overflow: visible; }
body.mv #view-board:not(.bb-revising) > .bbx-bar, body.mv #view-board:not(.bb-revising) > .bbx-grid { display: none; }
body.mv #bb-msg.jb-msg { left: 12px; right: 12px; max-width: none; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 84; }

body.mv #bbm { display: block; color: #f2f2f2; line-height: 1.25; }
body.mv #bbm button { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.mv #bbm svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: block; }
body.mv #bbm i, body.mv #bbm em, body.mv #bbm s, body.mv #bbm u { font-style: normal; text-decoration: none; }

/* the page head: the way back, what this screen is */
body.mv #bbm .bbm-head { position: sticky; top: var(--mvh, 52px); z-index: 30; display: flex; align-items: center; gap: 10px; box-sizing: border-box; height: 54px; padding: 0 10px; border-bottom: 1px solid #4a4128; background: linear-gradient(180deg, #2f2a1a, #211d12); }
body.mv #bbm button.bbm-back { flex: 0 1 auto; max-width: 54%; min-width: 0; box-sizing: border-box; display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px 0 8px; border: 1px solid #55504a; border-radius: 11px; background: #161616; color: #f2f2f2; font-size: 12.5px; font-weight: 600; letter-spacing: .9px; white-space: nowrap; text-transform: uppercase; }
body.mv #bbm .bbm-back svg { flex: 0 0 17px; width: 17px; height: 17px; stroke-width: 2.4; }
body.mv #bbm .bbm-back span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .bbm-ttl { flex: 1 1 0; min-width: 0; line-height: 1.2; }
body.mv #bbm .bbm-ttl > b { display: block; font-size: 15px; font-weight: 600; letter-spacing: .9px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .bbm-sub { display: block; font-size: 12px; color: #d8cfc0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .bbm-head > .bbx-eye { flex: none; }

/* the search bar */
body.mv #bbm button.bbm-sbar, body.mv #bbm .bbm-sbar { display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: calc(100% - 20px); height: 44px; margin: 8px 10px 0; padding: 0 12px; border: 1px solid #3a3a3a; border-radius: 11px; background: #141414; color: #8d8d8d; font-size: 14px; }
body.mv #bbm .bbm-sbar > svg { flex: 0 0 16px; width: 16px; height: 16px; }
body.mv #bbm button.bbm-sbar > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .bbm-sbar.on { border-color: #ab9b6f; color: #f2f2f2; }
body.mv #bbm .bbm-sbar input { flex: 1 1 0; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #f2f2f2; font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
body.mv #bbm .bbm-sbar input::placeholder { color: #8d8d8d; }
body.mv #bbm .bbm-sbar input::-webkit-search-cancel-button { display: none; }
body.mv #bbm button.bbm-qx { flex: 0 0 34px; width: 34px; height: 34px; margin-right: -6px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: #cfcfcf; }
body.mv #bbm .bbm-qx[hidden] { display: none; }
body.mv #bbm .bbm-qx svg { width: 15px; height: 15px; }

/* b1: the four big card types, the buttons, the section heads */
body.mv #bbm .bbm-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 10px 0; }
body.mv #bbm button.bbm-type { display: flex; align-items: center; gap: 10px; box-sizing: border-box; height: 92px; padding: 0 10px; border: 1px solid #2e2e2e; border-radius: 12px; background: #1a1a1a; overflow: hidden; min-width: 0; }
body.mv #bbm .bbm-type img { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 1px solid #6d6240; box-sizing: border-box; }
body.mv #bbm .bbm-type > span { min-width: 0; }
body.mv #bbm .bbm-type b { display: block; font-size: 15px; font-weight: 600; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .bbm-type span span { display: block; font-size: 12px; color: #a6a6a6; }
body.mv #bbm .bbm-pad { padding: 8px 10px 0; }
body.mv #bbm .bbm-gap { height: 8px; }
body.mv #bbm button.bbm-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 44px; padding: 0 16px; border: 1px solid #4a4a4a; border-radius: 11px; background: #2a2a2a; color: #f2f2f2; font-size: 13.5px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
body.mv #bbm button.bbm-btn.w { width: 100%; }
body.mv #bbm button.bbm-btn.red { background: #DC4F4C; border-color: #DC4F4C; color: #fff; }
body.mv #bbm .bbm-sec { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 13px 6px; }
body.mv #bbm .bbm-sec > b { min-width: 0; font-size: 13px; font-weight: 600; letter-spacing: 1.6px; color: #d8c89a; }
body.mv #bbm .bbm-sec > span { flex: none; font-size: 12.5px; letter-spacing: .8px; color: #a6a6a6; }
body.mv #bbm .bbm-sec.col { display: block; padding-top: 16px; }
body.mv #bbm .bbm-sec.col > b { display: block; }
body.mv #bbm .bbm-sec.col > i { display: block; margin-top: 2px; font-size: 12px; color: #a6a6a6; }
body.mv #bbm button.bbm-link { position: relative; flex: none; font-size: 12.5px; letter-spacing: .8px; color: #a6a6a6; white-space: nowrap; }
body.mv #bbm button.bbm-link::after { content: ''; position: absolute; left: -8px; right: -8px; top: -14px; bottom: -14px; }
body.mv #bbm .bbm-note { margin: 8px 13px 0; font-size: 12px; line-height: 1.35; color: #8d8d8d; }
body.mv #bbm .bbm-empty { margin: 14px 13px 0; padding: 16px 12px; border: 1px dashed #333; border-radius: 10px; font-size: 13px; line-height: 1.4; color: #bdbdbd; text-align: center; }
body.mv #bbm .bbm-empty b { display: block; margin-bottom: 3px; color: #f2f2f2; }
body.mv #bbm .bbm-empty .bv-spin { margin: 0 auto 8px; }

/* a ranked row, and the same frame for a character or a card type */
body.mv #bbm .bbm-list { padding: 0; }
body.mv #bbm button.bbm-rk, body.mv #bbm .bbm-rk.off { display: grid; grid-template-columns: 28px 38px minmax(0, 1fr) auto; column-gap: 9px; align-items: center; box-sizing: border-box; width: calc(100% - 20px); height: 62px; margin: 0 10px 6px; padding: 0 10px 0 6px; border: 1px solid #2e2e2e; border-radius: 10px; background: #1a1a1a; }
body.mv #bbm button.bbm-rk.nn { grid-template-columns: 38px minmax(0, 1fr) auto; padding-left: 10px; }
body.mv #bbm button.bbm-rk.ch, body.mv #bbm .bbm-rk.ch.off { grid-template-columns: 44px minmax(0, 1fr) auto; padding-left: 10px; }
body.mv #bbm .bbm-rk.off { opacity: .55; }
body.mv #bbm .bbm-rk .n { text-align: center; font-size: 16px; font-weight: 700; color: #a6a6a6; }
body.mv #bbm .bbm-rk.r1 { border-color: #ab9b6f; }
body.mv #bbm .bbm-rk.r1 .n { color: #e3c766; }
body.mv #bbm .bbm-rk.r2 .n { color: #d4d4d4; }
body.mv #bbm .bbm-rk.r3 .n { color: #cf9a66; }
body.mv #bbm .bbm-rk .tx { min-width: 0; line-height: 1.25; }
body.mv #bbm .bbm-rk .tx > b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .bbm-rk .sc { text-align: right; line-height: 1.1; }
body.mv #bbm .bbm-rk .sc b { display: block; font-size: 17px; font-weight: 600; }
body.mv #bbm .bbm-rk .sc i { display: block; font-size: 10.5px; color: #d8c89a; white-space: nowrap; }
body.mv #bbm .bbm-rk .sc.gr b u { margin: 0 4px; font-size: 10px; color: #8d8d8d; vertical-align: 1px; }
body.mv #bbm .bbm-rk .sc.gr b u.up { color: #7ED4A6; }
body.mv #bbm .bbm-rk .sc.gr b u.down { color: #DC4F4C; }
body.mv #bbm .bbm-rk .l1 { display: block; font-size: 11.5px; color: #a6a6a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .bbm-rk .bbx-eye { margin-top: 2px; }
body.mv #bbm .l2 { display: flex; font-size: 11.5px; color: #a6a6a6; white-space: nowrap; min-width: 0; }
body.mv #bbm .l2 s { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .l2 u, body.mv #bbm .l2 em { flex: none; }
body.mv #bbm .bbm-go { color: #8a8a8a; display: flex; justify-content: flex-end; }
body.mv #bbm .bbm-go svg { width: 13px; height: 13px; stroke-width: 2.6; }
body.mv #bbm .bbm-mono { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--tc, #555); background: #222; color: var(--tc, #ccc); font-size: 13px; font-weight: 700; letter-spacing: .5px; }
body.mv #bbm .bbm-art { position: relative; display: block; align-self: stretch; min-width: 0; }
body.mv #bbm .bb-thumb { border: 0; }
body.mv #bbm .bb-thumb.bbm-rp { width: 38px; height: 53px; border-radius: 3px; }
body.mv #bbm .bbm-art > .pf-gbadge { position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); margin: 0; max-width: none; }
body.mv #view-board #bbm .bbx-face.bbm-fs { width: 44px; height: 44px; flex: 0 0 44px; box-shadow: none; }
body.mv #view-board #bbm .bbx-face.bbm-fs.mono b { font-size: 13px; }

/* the chips */
body.mv #bbm .bbm-chips { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0 10px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
body.mv #bbm .bbm-chips::-webkit-scrollbar { display: none; }
body.mv #bbm button.bbm-chip { position: relative; flex: 0 0 auto; display: flex; align-items: center; box-sizing: border-box; height: 34px; padding: 0 11px; border: 1px solid #3a3a3a; border-radius: 9px; background: #1a1a1a; color: #d9d9d9; font-size: 12.5px; letter-spacing: .3px; white-space: nowrap; }
body.mv #bbm button.bbm-chip::after { content: ''; position: absolute; left: 0; right: 0; top: -5px; bottom: -5px; }
body.mv #bbm button.bbm-chip.on { border-color: #ab9b6f; background: #231f13; color: #d8c89a; }
body.mv #bbm button.bbm-chip.ico { width: 44px; padding: 0; justify-content: center; margin-left: auto; }
body.mv #bbm .bbm-chip.ico svg { width: 16px; height: 16px; }
body.mv #bbm .bbm-cdiv { flex: 0 0 1px; height: 22px; background: #3a3a3a; }
body.mv #bbm .bbm-stick { position: sticky; top: calc(var(--mvh, 52px) + 54px); z-index: 25; margin-top: 0; padding-top: 8px; padding-bottom: 6px; background: #0f0f0f; }
body.mv #bbm .bbm-stick + .bbm-chips { margin-top: 2px; }
body.mv #bbm .bbm-avg { flex: none; display: flex; align-items: baseline; gap: 5px; margin-left: auto; white-space: nowrap; }
body.mv #bbm .bbm-avg i { font-size: 10px; letter-spacing: .6px; color: #a6a6a6; }
body.mv #bbm .bbm-avg b { font-size: 15px; font-weight: 600; }

/* b2: the faces */
body.mv #bbm .bbm-faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px 4px; padding: 8px 8px 0; align-items: start; }
body.mv #bbm button.bbm-face { display: block; min-width: 0; text-align: center; }
body.mv #bbm .bbm-ring { position: relative; display: block; width: 66px; height: 66px; margin: 0 auto; }
body.mv #view-board #bbm .bbx-face.bbm-fc { width: 66px; height: 66px; box-sizing: border-box; box-shadow: none; border: 1.5px solid #4a4128; }
body.mv #view-board #bbm .bbx-face.bbm-fc.mono b { font-size: 20px; }
body.mv #bbm .bbm-face.dim .bbx-face img { opacity: .42; filter: grayscale(.7); }
body.mv #bbm .bbm-ring > em { position: absolute; top: 0; right: -3px; box-sizing: border-box; min-width: 21px; height: 21px; padding: 0 5px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: #DC4F4C; color: #fff; font-size: 11.5px; font-weight: 700; }
body.mv #bbm .bbm-fn { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 3px; font-size: 11.5px; line-height: 1.4; color: #e0e0e0; overflow-wrap: anywhere; }
body.mv #bbm .bbm-face .bbx-eye { justify-content: center; margin-top: 1px; }

/* the figures and the switch */
body.mv #bbm .bbm-fig { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; padding: 6px 10px 0; }
body.mv #bbm .bbm-chips + .bbm-fig { padding-top: 10px; }
body.mv #bbm .bbm-fig + .bbm-list { margin-top: 8px; }
body.mv #bbm .bbm-fig > div { min-width: 0; padding: 7px 2px; border: 1px solid #2e2e2e; border-radius: 9px; background: #1a1a1a; text-align: center; line-height: 1.15; }
body.mv #bbm .bbm-fig b { display: block; font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .bbm-fig i { display: block; margin-top: 1px; font-size: 10px; letter-spacing: .6px; color: #a6a6a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .bbm-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 8px 10px 0; padding: 3px; border: 1px solid #2e2e2e; border-radius: 11px; background: #141414; }
body.mv #bbm .bbm-seg button { height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: #a6a6a6; font-size: 13px; font-weight: 600; letter-spacing: .7px; white-space: nowrap; overflow: hidden; }
body.mv #bbm .bbm-seg button.on { background: #ab9b6f; color: #141414; }

/* b3: the cards, two to a row */
body.mv #bbm .bbm-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px 10px 0; }
body.mv #bbm button.bbm-tc, body.mv #bbm .bbm-tc { display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; box-sizing: border-box; width: 100%; padding: 8px; border: 1px solid #2e2e2e; border-radius: 10px; background: #1a1a1a; }
body.mv #bbm .bb-thumb.bbm-pic { width: 100%; height: auto; aspect-ratio: 63 / 88; border-radius: 4px; }
body.mv #bbm .bbm-tc.cat .bb-thumb.bbm-pic img { opacity: .78; }
body.mv #bbm .bbm-tx { display: block; margin-top: 6px; min-width: 0; }
body.mv #bbm .bbm-tx > b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .bbm-l3 { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; min-height: 16px; margin-top: 2px; font-size: 11px; color: #a6a6a6; }
body.mv #bbm .bbm-l3 > span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm .pf-lang { margin-right: 4px; padding: 0 3px; border-radius: 3px; font-size: 9.5px; line-height: 13px; font-weight: 700; }
body.mv #bbm .l-est { flex: none; display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
body.mv #bbm .l-est i { font-size: 9px; letter-spacing: .6px; font-weight: 700; color: #9a9a9a; }
body.mv #bbm .l-est b { font-size: 12px; font-weight: 700; color: #7ED4A6; font-variant-numeric: tabular-nums; }
body.mv #bbm .l-est.busy b, body.mv #bbm .l-est.none b { color: #6f6f6f; }
body.mv #bbm .bbm-st { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: auto; padding-top: 5px; text-align: center; line-height: 1.1; }
body.mv #bbm .bbm-st b { display: block; font-size: 14.5px; font-weight: 600; }
body.mv #bbm .bbm-st .top b { color: #d8c89a; }
body.mv #bbm .bbm-st i { display: block; font-size: 9.5px; letter-spacing: .4px; color: #a6a6a6; }
body.mv #bbm .bbm-tc .bbx-eye { display: flex; justify-content: center; margin-top: 4px; }
body.mv #bbm .bbm-catnote { margin-top: 6px; }

/* b6 and the sheet: the population's bars */
body.mv #bbm .bbm-bars { padding: 0 13px; }
body.mv #bbm .bbm-bars.big { padding-top: 12px; }
body.mv #bbm .bbm-bar { display: grid; grid-template-columns: 52px minmax(0, 1fr) 34px; gap: 8px; align-items: center; box-sizing: border-box; width: 100%; height: 22px; font-size: 12.5px; }
body.mv #bbm .bbm-bars.big .bbm-bar { grid-template-columns: 70px minmax(0, 1fr) 30px 11px; height: 32px; font-size: 14px; }
body.mv #bbm button.bbm-bar { position: relative; }
body.mv #bbm button.bbm-bar::after { content: ''; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }
body.mv #bbm .bbm-bar .g { white-space: nowrap; }
body.mv #bbm .bbm-bar .t { display: block; height: 10px; border-radius: 3px; background: #2a2a2a; overflow: hidden; }
body.mv #bbm .bbm-bars.big .bbm-bar .t { height: 14px; }
body.mv #bbm .bbm-bar .t i { display: block; height: 100%; background: #ab9b6f; }
body.mv #bbm .bbm-bar > b { text-align: right; font-weight: 600; }
body.mv #bbm .bbm-bar > svg { width: 11px; height: 11px; stroke-width: 2.6; color: #8a8a8a; }
body.mv #bbm .bbm-bar.on > svg { transform: rotate(90deg); color: #d8c89a; }
body.mv #bbm .bbm-bar.on .g { color: #d8c89a; }
body.mv #bbm .bbm-adm { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; margin: 0 10px 6px; padding: 4px 6px 4px 10px; border: 1px solid #2e2e2e; border-radius: 10px; background: #1a1a1a; }
body.mv #bbm button.bbm-admo { min-width: 0; min-height: 44px; }
body.mv #bbm .bbm-admo b { display: block; font-size: 13px; font-weight: 600; }
body.mv #bbm .bbm-admo i { display: block; font-size: 11px; color: #a6a6a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mv #bbm button.bbm-admx { height: 40px; padding: 0 10px; border: 1px solid #5a2a29; border-radius: 10px; background: #2a1514; color: #ff9f9c; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; }

/* b4: the sheet: closes only on its own X or Esc, under the app's header and behind its tabs */
body.mv #bbm .bbm-dim { position: fixed; left: 0; right: 0; top: var(--mvh, 52px); bottom: 0; z-index: 82; background: rgba(0, 0, 0, .66); touch-action: none; }
body.mv #bbm .bbm-sheet { position: fixed; left: 0; right: 0; top: calc(var(--mvh, 52px) + 96px); bottom: 0; z-index: 83; box-sizing: border-box; padding-bottom: calc(100px + env(safe-area-inset-bottom)); border-top: 1px solid #4a4128; border-radius: 16px 16px 0 0; background: #1a1a1a; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
body.mv #bbm .bbm-sheet.rise { animation: bbm-rise .24s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes bbm-rise { from { transform: translateY(100%); } to { transform: none; } }
body.mv #bbm .bbm-grab { width: 42px; height: 4px; margin: 7px auto 2px; border-radius: 2px; background: #555; }
body.mv #bbm .bbm-shead { display: grid; grid-template-columns: 76px minmax(0, 1fr) 44px; gap: 11px; align-items: center; padding: 6px 13px 8px; }
body.mv #bbm .bb-thumb.bbm-big { width: 76px; height: 106px; border-radius: 4px; }
body.mv #bbm .bbm-shead .tx { min-width: 0; line-height: 1.3; }
body.mv #bbm .bbm-shead .tx b { display: block; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
body.mv #bbm .bbm-shead .tx small { display: block; font-size: 12px; color: #a6a6a6; }
body.mv #bbm .bbm-shead .tx > div > span { display: block; font-size: 13px; color: #a6a6a6; overflow-wrap: anywhere; }
body.mv #bbm .bbm-shead .l-est { margin-top: 3px; }
body.mv #bbm .bbm-shead .l-est b { display: inline; font-size: 14px; }
body.mv #bbm .bbm-shead .bbx-eye { margin-left: 8px; }
body.mv #bbm button.bbm-x { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid #3a3a3a; border-radius: 11px; background: #1b1b1b; color: #f2f2f2; }
body.mv #bbm .bbm-x svg { width: 19px; height: 19px; }
body.mv #bbm .bbm-sheet .bbm-fig { padding-top: 0; }
body.mv #bbm .bbm-mini { display: flex; gap: 6px; }
body.mv #bbm .bbm-sheet .bbm-sec > b { flex: 1 1 auto; }
body.mv #bbm .bbm-sheet .bbm-rk { background: #1f1f1f; }

@media (prefers-reduced-motion: reduce) { body.mv #bbm .bbm-sheet.rise { animation: none; } }
body.mv:has(#bbm .bbm-sheet) #to-top { display: none; }
body.mv #bbm button:active:not(.on):not([disabled]) { filter: brightness(1.18); }

/* a phone on its side, a tablet in the phone form: the same screens with more to a row; a low window gives the sheet its height */
@media (min-width: 600px) {
  body.mv #bbm .bbm-types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.mv #bbm .bbm-two { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.mv #bbm .bbm-faces { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-height: 520px) { body.mv #bbm .bbm-sheet { top: var(--mvh, 52px); border-radius: 0; } }

/* Thai reads wider: nothing may crowd its neighbours */
html[lang="th"] body.mv #bbm .bbm-sec > b { letter-spacing: .4px; }
html[lang="th"] body.mv #bbm .bbm-fig i, html[lang="th"] body.mv #bbm .bbm-st i { letter-spacing: 0; }
