/* BLACKBINDER on a phone (body.mv only). */
/* The phone remake (2026-11-09): every class below is drawn by js/binder.js only on a phone; the computer's BLACKBINDER never carries one. */
body.mv { --bdm-nav: calc(64px + env(safe-area-inset-bottom)); }
body.mv:has(#view-binder.active) #main { padding-bottom: var(--bdm-nav); }
body.mv #view-binder.active { min-height: 0; padding: 0; }
body.mv #view-binder .bd-app { padding: 0; gap: 0; min-height: 0; }

/* the page */
body.mv #view-binder .bd-body.bdm { display: flex; flex-direction: column; gap: 0; min-height: calc(100vh - var(--mvh, 52px) - var(--bdm-nav)); min-height: calc(100dvh - var(--mvh, 52px) - var(--bdm-nav)); height: auto; color: #f2f2f2; background: #0f0f0f; font-family: var(--menu-font); font-stretch: 87.5%; font-weight: 350; }
.bdm button { font-family: inherit; font-stretch: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bdm button:disabled { opacity: .5; cursor: default; }
.bdm-head svg, .bdm-sheet svg, .bdm-btn svg, .bdm-wb svg, .bdm-sbar svg, .bdm-add svg, .bdm-what svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bdm-head svg .f { fill: currentColor; stroke: none; }
.bdm-head, .bdm-seg button { font-family: var(--menu-font); font-stretch: 87.5%; }
.bdm-head button { font-family: inherit; font-stretch: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* the head under the BLACKLENS header */
.bdm-head { position: sticky; top: var(--mvh, 52px); z-index: 30; flex: none; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 10px; box-sizing: border-box; border-bottom: 1px solid #4a4128; background: linear-gradient(180deg, #2f2a1a, #211d12); }
.bdm-back { flex: 0 1 auto; max-width: 46%; min-width: 0; 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: 13px; font-weight: 600; letter-spacing: .9px; white-space: nowrap; }
.bdm-back svg { flex: none; width: 17px; height: 17px; stroke-width: 2.4; }
.bdm-back span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bdm-tt { flex: 1 1 auto; min-width: 0; line-height: 1.2; }
.bdm-tt > b { display: block; font-size: 15px; font-weight: 600; letter-spacing: .9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdm-tt > b b { font-weight: inherit; }
.bdm-tt > span { display: block; font-size: 12px; color: #d8cfc0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdm-tt > span b { font-weight: 350; }
.bdm-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #55504a; border-radius: 11px; background: #1b1b1b; color: #f2f2f2; }
.bdm-ic svg { width: 19px; height: 19px; }

/* the switch and the chips */
.bdm-seg { flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; margin: 8px 10px 0; padding: 3px; border: 1px solid #2e2e2e; border-radius: 11px; background: #141414; }
.bdm-seg button { height: 40px; padding: 0 6px; border: 0; border-radius: 8px; background: none; color: #a6a6a6; font-size: 13px; font-weight: 600; letter-spacing: .7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdm-seg button em { font-style: normal; margin-left: 2px; }
.bdm-seg button.on { background: #ab9b6f; color: #141414; }
.bdm-chips { flex: none; display: flex; gap: 6px; margin: 8px 10px 0; flex-wrap: wrap; }
.bdm-chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.bdm-chips.scroll::-webkit-scrollbar { display: none; }
.bdm-chip { position: relative; flex: none; display: inline-flex; align-items: center; gap: 4px; 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; }
.bdm-chip::after { content: ''; position: absolute; inset: -5px 0; }
.bdm-chip.on { border-color: #ab9b6f; background: #231f13; color: #d8c89a; }
.bdm-chip b { font-weight: inherit; }
.bdm-chip.sel { overflow: hidden; }
.bdm-chip.sel::after { display: none; }
.bdm-chip.sel select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.bdm-sbar { flex: none; display: flex; align-items: center; gap: 8px; margin: 8px 10px 0; height: 44px; padding: 0 12px; box-sizing: border-box; border: 1px solid #3a3a3a; border-radius: 11px; background: #141414; color: #8d8d8d; font-size: 14px; }
.bdm-sbar svg { flex: none; width: 16px; height: 16px; }
.bdm-sbar input { flex: 1 1 auto; min-width: 0; height: 40px; border: 0; outline: 0; background: none; color: #f2f2f2; font: inherit; font-size: 16px; }
.bdm-sbar input::placeholder { color: #8d8d8d; }
button.bdm-sbar { width: calc(100% - 20px); text-align: left; color: #cfcfcf; }
button.bdm-sbar span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 1 · MY BINDERS */
.bdm-covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 9px 10px 24px; }
.bdm-cover { display: block; padding: 0; border: 1px solid #3a3a3a; border-radius: 11px; overflow: hidden; background: #1a1a1a; text-align: left; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.bdm-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 128px; padding: 9px 9px 9px 16px; box-sizing: border-box; color: #fff; background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(0,0,0,.42)), var(--cv, #141414); }
.bdm-art::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: rgba(0,0,0,.35); }
.bdm-art > b { font-size: 16px; font-weight: 600; letter-spacing: .7px; line-height: 1.15; text-shadow: 0 1px 2px rgba(0,0,0,.6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bdm-art.light { color: #1a1a1a; }
.bdm-art.light > b { text-shadow: none; }
.bdm-art > em { position: absolute; right: 7px; top: 6px; padding: 1px 5px; border-radius: 4px; background: rgba(0,0,0,.6); color: #7ED4A6; font-style: normal; font-size: 10px; }
.bdm-mini { display: flex; gap: 4px; min-height: 47px; }
.bdm-im { position: relative; display: block; flex: none; overflow: hidden; background: #111; }
.bdm-im img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bdm-mini .bdm-im { width: 34px; height: 47px; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.55); }
.bdm-ft { display: block; padding: 7px 9px 8px; background: #1a1a1a; font-size: 12px; color: #bdbdbd; }
.bdm-ftl { display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; }
.bdm-ftr { color: #a6a6a6; }
.bdm-ftr b { font-weight: inherit; }
.bdm-p { display: block; height: 4px; margin-top: 5px; border-radius: 2px; background: #333; overflow: hidden; }
.bdm-p i { display: block; height: 100%; background: #7ED4A6; }
.bdm-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 186px; border: 1.5px dashed #6d6240; border-radius: 11px; background: none; color: #d8c89a; font-size: 13px; font-weight: 600; letter-spacing: .8px; }
.bdm-add svg { width: 26px; height: 26px; }
/* the room keeps its own look under the head */
body.mv #view-binder .bd-body.bdm-room { display: block; }
.bdm-room { padding: 0; }
.bdm-room .bdm-seg { margin: 0; }
.bdm-roomb { display: flex; flex-direction: column; gap: 10px; padding: 8px 10px 24px; }

/* 2 · THE BINDER'S HOME */
.bdm-hero { position: relative; flex: none; padding: 12px 12px 12px 20px; color: #fff; background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(0,0,0,.42)), var(--cv, #141414); }
.bdm-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: rgba(0,0,0,.35); }
.bdm-hero h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: .8px; }
.bdm-hero p { margin: 2px 0 0; font-size: 13px; color: #e6e0d0; }
.bdm-hero.light { color: #1a1a1a; }
.bdm-hero.light p { color: #333; }
.bdm-p.big { height: 4px; margin-top: 8px; background: rgba(0,0,0,.35); }
.bdm-p.big i { background: #fff; }
.bdm-figs { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px 10px 0; }
.bdm-figs > * { padding: 8px 4px; text-align: center; border: 1px solid #2e2e2e; border-radius: 9px; background: #1a1a1a; line-height: 1.15; min-width: 0; }
.bdm-figs b { display: block; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdm-figs i { display: block; font-style: normal; font-size: 11px; color: #a6a6a6; margin-top: 2px; letter-spacing: .3px; white-space: nowrap; }
.bdm-found { flex: none; margin: 8px 10px 0; min-height: 44px; padding: 0 12px; border: 1px solid #2a7a3e; border-radius: 9px; background: #122016; color: #b8f0c8; font-size: 13px; text-align: left; }
.bdm-found b { font-weight: inherit; }
.bdm-sec { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 11px 13px 6px; }
.bdm-sec b { font-size: 13px; letter-spacing: 1.6px; color: #d8c89a; font-weight: 600; }
.bdm-sec button { position: relative; padding: 0; border: 0; background: none; color: #a6a6a6; font-size: 12.5px; letter-spacing: .8px; }
.bdm-sec button::after { content: ''; position: absolute; inset: -14px -10px; }
.bdm-thumbs { flex: none; display: flex; gap: 8px; padding: 0 10px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.bdm-thumbs::-webkit-scrollbar { display: none; }
.bdm-pg { flex: 0 0 96px; width: 96px; padding: 5px; border: 1px solid #2e2e2e; border-radius: 8px; background: #161616; }
.bdm-gr { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: 2px; }
.bdm-gr > i, .bdm-tc { display: block; width: 100%; aspect-ratio: 63 / 88; border-radius: 1px; background: #262626; overflow: hidden; position: relative; }
.bdm-gr > i.f { background: #3a3a3a; }
.bdm-gr > i.art { background: #3a3226; }
.bdm-tc img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bdm-tc.s img { filter: grayscale(.9); opacity: .5; }
.bdm-tc.bl-wm::after { width: 8px; left: 2px; bottom: 2px; }
.bdm-pn { display: block; text-align: center; font-size: 12px; color: #a6a6a6; margin-top: 3px; }
.bdm-big { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px 10px 24px; }
.bdm-big.foot { margin-top: auto; padding-bottom: 14px; }
.bdm-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 16px; box-sizing: border-box; border: 1px solid #4a4a4a; border-radius: 11px; background: #2a2a2a; color: #f2f2f2; font-size: 13.5px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.bdm-btn svg { width: 18px; height: 18px; }
.bdm-btn b { font-weight: inherit; }
.bdm .bdm-btn.red { background: #DC4F4C; border-color: #DC4F4C; color: #fff; }
.bdm .bdm-btn.gold { background: #ab9b6f; border-color: #ab9b6f; color: #141414; }
.bdm .bdm-btn.blue { background: #1c4a78; border-color: #3a76ad; color: #fff; }
.bdm-btn.wide { grid-column: 1 / -1; }
.bdm-mk { padding: 0 10px 24px; overflow: visible; }

/* 3 · A PAGE */
body.mv #view-binder .bdm-stage { flex: none; display: flex; justify-content: center; overflow: hidden; touch-action: none; background: #0f0f0f; }
body.mv #view-binder .bdm-v-page.two .bdm-stage { touch-action: pan-y; }
body.mv #view-binder .bdm-stage .bd-book { padding: 0; border-radius: 0; background: none; box-shadow: none; border: 0; max-width: none; }
body.mv #view-binder .bdm-stage .bd-book::before, body.mv #view-binder .bdm-stage .bd-book::after { display: none; }
body.mv #view-binder .bdm-stage .bd-phead { display: none; }
body.mv #view-binder .bdm-stage .bd-page { gap: 6px; padding: 8px 8px 6px; border-radius: 0; background: none; box-shadow: none; }
body.mv #view-binder .bdm-stage .bd-rings { display: none; }
body.mv #view-binder .bdm-stage .bd-pk { --in: 0px; border-radius: 5px; background: #1b1b1b; box-shadow: inset 0 0 0 1px #333; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none; }
body.mv #view-binder .bdm-stage .bd-pk::after { display: none; }
body.mv #view-binder .bdm-stage .bd-pk:hover { box-shadow: inset 0 0 0 1px #333; }
body.mv #view-binder .bdm-stage .bd-pk .bd-sleeve { border-radius: 4px; }
body.mv #view-binder .bdm-stage .bd-pk .bd-cd img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none; }
body.mv #view-binder .bdm-stage .bd-pk.empty .bd-plus { color: #6d6d6d; font-size: 30px; font-weight: 300; }
body.mv #view-binder .bdm-stage .bd-pk.sel { outline: 2.5px solid #DC4F4C; outline-offset: 1px; }
body.mv #view-binder .bdm-stage .bd-rib:not(.tag):not(.sold):not(.res) { left: 3px; right: auto; bottom: 3px; transform: none; padding: 1px 5px; border-radius: 3px; font-size: 10px; letter-spacing: .3px; }
body.mv #view-binder .bdm-stage .bd-pk.moving { outline: 2px dashed #f2d27e; outline-offset: 1px; opacity: .5; }
.bdm-foot { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 4px 8px 10px; }
.bdm-nums { display: flex; justify-content: safe center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bdm-nums::-webkit-scrollbar { display: none; }
.bdm-num { flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #3a3a3a; border-radius: 10px; background: #1a1a1a; color: #d9d9d9; font-size: 14px; }
.bdm-num.on { border-color: #ab9b6f; background: #231f13; color: #d8c89a; }
.bdm-tools { display: flex; justify-content: center; align-items: center; gap: 8px; }
body.mv #view-binder .bdm-tools .bd-fcol { height: 44px; padding: 0 10px; border-radius: 10px; }
.bdm-aibtn { height: 44px; padding: 0 12px; border: 1px solid #ab9b6f; border-radius: 10px; background: #231f13; color: #f1e2b4; font-size: 12px; font-weight: 600; letter-spacing: .6px; white-space: nowrap; }
body.mv #view-binder .bdm-v-page .bd-movebar { bottom: calc(var(--bdm-nav) + 22px); z-index: 80; }
.bdm-ghost { position: fixed; z-index: 9200; pointer-events: none; transform: translate(-50%, -55%) scale(1.08); border-radius: 5px; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.7); outline: 2px solid #ab9b6f; }
.bdm-ghost .bd-cd { position: absolute; inset: 0; display: block; }
.bdm-ghost img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bdm-hold { position: fixed; left: -999px; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* 4 · 6 · the white sheets: they stop at the tab bar and the raised Submit button rides over their foot */
.bdm-dim { position: fixed; left: 0; right: 0; top: var(--mvh, 52px); bottom: var(--bdm-nav); z-index: 82; background: rgba(0,0,0,.66); }
.bdm-sheet { position: fixed; left: 0; right: 0; bottom: var(--bdm-nav); z-index: 83; display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - var(--mvh, 52px) - var(--bdm-nav) - 16px); max-height: calc(100dvh - var(--mvh, 52px) - var(--bdm-nav) - 16px); overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px 22px; box-sizing: border-box; border-radius: 16px 16px 0 0; background: #f4f4f4; color: #171717; }
.bdm-dim[hidden], .bdm-sheet[hidden] { display: none; }
.bdm-sheet h3 { flex: none; margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: .5px; }
.bdm-sheet h3 > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bdm-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #c4c4c4; border-radius: 10px; background: #fff; color: #171717; }
.bdm-x svg { width: 15px; height: 15px; stroke-width: 2.4; }
.bdm-sheet p { margin: 0; font-size: 13px; color: #4a4a4a; line-height: 1.4; }
.bdm-sheet .bdm-note { text-align: center; font-size: 12.5px; }
.bdm-wb { flex: none; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; padding: 0 10px; border: 1px solid #c4c4c4; border-radius: 11px; background: #fff; color: #171717; font-size: 14px; font-weight: 700; letter-spacing: .8px; }
.bdm-wb.red { background: #DC4F4C; border-color: #DC4F4C; color: #fff; }
.bdm-wb.gold { background: #ab9b6f; border-color: #ab9b6f; color: #141414; }
.bdm-wb.slim { min-height: 44px; font-size: 12.5px; font-weight: 600; }
.bdm-wb.danger { color: #b8302d; border-color: #e2a9a7; }
.bdm-wb svg { width: 18px; height: 18px; }
.bdm .bdm-wb:not(.red):not(.gold) { color: #171717; }
.bdm .bdm-wb.danger { color: #b8302d; }
.bdm .bdm-wb.red { color: #fff; }
.bdm .bdm-wb.gold { color: #141414; }
.bdm .bdm-x, .bdm .bdm-link { color: #171717; }
.bdm-two { flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.bdm-cardrow { flex: none; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; }
.bdm-im.lg { width: 72px; height: 100px; border-radius: 4px; }
.bdm-cinfo { min-width: 0; line-height: 1.35; font-size: 14px; }
.bdm-v { font-size: 20px; font-weight: 600; }
.bdm-vs, .bdm-mute { color: #6a6a6a; font-size: 12.5px; }
.bdm-mute a { color: #1c4a78; }
.bdm-link { flex: none; min-height: 44px; border: 0; background: none; font-size: 12.5px; font-weight: 600; letter-spacing: .6px; text-align: left; padding: 0; }
.bdm-sheet .bd-ask { flex: none; margin: 0; background: #fff; border-color: #d6d6d6; color: #171717; }
.bdm-sheet .bd-ask .bd-f i { color: #5a5a5a; }
.bdm-sheet .bd-ask input { height: 44px; background: #fff; color: #171717; border: 1px solid #c4c4c4; font-size: 16px !important; }
.bdm-sheet .bd-ask .bd-chip { min-height: 40px; background: #f4f4f4; color: #171717; border-color: #c4c4c4; font-size: 12px; }
.bdm-sheet .bd-askst { color: #5a5a5a; font-size: 10.5px; }
.bdm-sheet .bd-askst.active { color: #15784a; }
.bdm-sheet .bd-askst.reserved { color: #b8302d; }
.bdm-sheet .bd-cpht, .bdm-sheet .bd-cpht i { color: #4a4a4a; }

/* 5 · PICK */
.bdm-pbody { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; overflow: visible; padding: 0 0 24px; }
.bdm-rows { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px 0; }
.bdm-pick { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 9px; align-items: center; min-height: 76px; padding: 7px 8px; box-sizing: border-box; width: 100%; background: #1a1a1a; border: 1px solid #2e2e2e; border-radius: 10px; color: #f2f2f2; text-align: left; }
.bdm-pick .bdm-im, .bdm-pick .bd-thumb { width: 44px; height: 61px; border-radius: 3px; box-shadow: none; }
.bdm-pick .bd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bdm-pick .tx { min-width: 0; line-height: 1.27; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bdm-pick .tx > b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdm-pick .tx > span { display: block; font-size: 12px; color: #a6a6a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdm-pick .tx > em { font-style: normal; font-size: 11px; color: #7ED4A6; }
.bdm-pick .pr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; font-size: 15px; font-weight: 600; }
.bdm-pick .pr em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .4px; color: #d8c89a; }
.bdm-pick .pr small { font-size: 11.5px; font-weight: 350; color: #a6a6a6; }
.bdm-im.s img, .bdm-pick.hunt .bd-thumb img { filter: grayscale(.85); opacity: .7; }
.bdm-pick.hunt.got .bd-thumb img { filter: grayscale(.2); opacity: .9; }
.bdm-done { position: relative; height: 34px; padding: 0 11px; border: 1px solid #4a4a4a; border-radius: 8px; background: #2a2a2a; color: #f2f2f2; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.bdm-done::after { content: ''; position: absolute; inset: -6px -4px; }
.bdm .bdm-done.gold { background: #ab9b6f; border-color: #ab9b6f; color: #141414; }
.bdm-pbody .bd-fsb { padding: 8px 10px 0; }
.bdm-pbody .bd-frows { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 8px 10px 0; list-style: none; overflow: visible; max-height: none; }
.bdm-pbody .bd-li { min-height: 60px; }
.bdm-pbody .bd-btn.sm { min-height: 40px; }
.bdm-pbody #bd-fmore { padding: 8px 10px 0; }
.bdm-spent { flex: none; margin: 8px 13px 0; font-size: 12.5px; color: #a6a6a6; }
.bdm-spent b { font-weight: inherit; }
.bdm-plain { padding: 8px 10px 24px; }

/* a bar directly above the tab bar: 14 px at its foot clears the raised Submit button */
.bdm-bar { position: sticky; bottom: var(--bdm-nav); z-index: 20; flex: none; display: flex; align-items: center; gap: 10px; margin-top: auto; min-height: 66px; padding: 8px 12px 14px; box-sizing: border-box; border-top: 1px solid #2e2e2e; background: #141414; }
.bdm-bar .say { flex: 1 1 auto; min-width: 0; font-size: 13px; line-height: 1.25; color: #c8c8c8; }
.bdm-bar .say > b { display: block; font-size: 15px; font-weight: 600; color: #f2f2f2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdm-bar .bdm-btn { display: block; min-height: 44px; line-height: 42px; flex: 0 1 auto; max-width: 62%; overflow: hidden; text-overflow: ellipsis; }

/* 8 · FILL BINDER */
.bdm-steps { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 8px 10px 0; }
.bdm-steps button { height: 44px; border: 1px solid #2e2e2e; border-radius: 8px; background: none; color: #a6a6a6; font-size: 12.5px; letter-spacing: .8px; white-space: nowrap; }
.bdm-steps button.on { border-color: #ab9b6f; background: #231f13; color: #d8c89a; font-weight: 600; }
.bdm-fillb { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; padding-bottom: 12px; }
.bdm-h2 { margin: 14px 12px 2px; font-size: 21px; font-weight: 600; letter-spacing: .4px; }
.bdm-lead { margin: 4px 12px 0; font-size: 13px; color: #bdbdbd; line-height: 1.35; }
.bdm-whats { display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 0; }
.bdm-what { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 12px; border: 1px solid #2e2e2e; border-radius: 12px; background: #1a1a1a; text-align: left; }
.bdm-what.on { border-color: #ab9b6f; background: #231f13; }
.bdm-what > i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: #2a2a2a; color: #d8c89a; }
.bdm-what > i svg { width: 26px; height: 26px; stroke-width: 1.8; }
.bdm-what b { display: block; font-size: 16px; font-weight: 600; }
.bdm-what small { display: block; margin-top: 2px; font-size: 12.5px; color: #a6a6a6; line-height: 1.3; }
.bdm-into { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 10px 0; padding: 10px 12px; border: 1px solid #2e2e2e; border-radius: 12px; background: #1a1a1a; }
.bdm-into > span { min-width: 0; }
.bdm-into i { display: block; font-style: normal; font-size: 11px; letter-spacing: 1px; color: #a6a6a6; }
.bdm-into b { font-size: 15px; font-weight: 600; }
.bdm-into small { display: block; font-size: 12px; color: #a6a6a6; }
.bdm-into small b { font-size: inherit; font-weight: inherit; }
.bdm-form { display: block; padding: 8px 10px 0; }
.bdm-form.off { display: none; }
.bdm-form .bd-seg2.n3 { display: none; }
.bdm-form .bd-btn[data-pl="find"], .bdm-form .bd-fine { display: none; }
.bdm-form .bd-pgl { overflow: visible; }
.bdm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 9px 10px 0; }
.bdm-tile { position: relative; aspect-ratio: 63 / 88; border-radius: 5px; background: #1b1b1b; box-shadow: inset 0 0 0 1px #333; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bdm-tile .bd-thumb { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 5px; background: none; box-shadow: none; }
.bdm-tile .bd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bdm-tile .bd-thumb > i { display: grid; place-items: center; height: 100%; padding: 6px; font-style: normal; font-size: 12px; color: #a6a6a6; text-align: center; }
.bdm-tile.on { outline: 2.5px solid #ab9b6f; outline-offset: 1px; }
.bdm-tile.in .bd-thumb img { opacity: .4; filter: grayscale(.6); }
.bdm-chk { position: absolute; right: 4px; top: 4px; z-index: 2; display: none; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #d8c89a; color: #111; font-style: normal; font-size: 13px; }
.bdm-tile.on .bdm-chk, .bdm-tile.add .bdm-chk { display: grid; }
.bdm-tile.in > em { position: absolute; left: 4px; right: 4px; bottom: 30%; z-index: 2; padding: 2px 3px; border-radius: 4px; background: rgba(0,0,0,.72); color: #7ED4A6; font-style: normal; font-size: 11px; text-align: center; }
.bdm-plus1 { position: absolute; right: 3px; top: 3px; z-index: 3; width: 44px; height: 34px; padding: 0; border: 1px solid #ab9b6f; border-radius: 8px; background: #231f13; color: #f1e2b4; font-size: 13px; }
.bdm-more { margin: 10px 10px 0; width: calc(100% - 20px); }
.bdm-sum { flex: none; margin: 10px 10px 0; padding: 12px; border: 1px solid #2e2e2e; border-radius: 12px; background: #1a1a1a; }
.bdm-sum .k { display: block; font-size: 12px; letter-spacing: .8px; color: #d8c89a; }
.bdm-sum > b { display: block; margin-top: 2px; font-size: 20px; font-weight: 600; }
.bdm-sum > b em { font-style: normal; color: #d8c89a; }
.bdm-sum .s { display: block; margin-top: 3px; font-size: 12.5px; color: #bdbdbd; line-height: 1.3; }
.bdm-f { flex: none; padding: 10px 10px 0; }
.bdm-f > i { display: block; font-style: normal; font-size: 11px; letter-spacing: 1px; color: #a6a6a6; margin-bottom: 5px; }
.bdm-f .bdm-seg { margin: 0; }
.bdm-f .bd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.mv #view-binder .bdm-f .bd-chip { min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 13px; letter-spacing: .4px; }
body.mv #view-binder .bdm-f .bd-chip.on { border-color: #ab9b6f; background: #231f13; color: #d8c89a; }
.bdm-f input { width: 100%; box-sizing: border-box; font-size: 16px; }

/* 9 – 12 · SAVE A PICTURE */
.bdm-white { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 12px 12px 16px; box-sizing: border-box; background: #f4f4f4; color: #171717; }
.bdm-v-save.bdm { height: calc(100vh - var(--mvh, 52px) - var(--bdm-nav)); height: calc(100dvh - var(--mvh, 52px) - var(--bdm-nav)); min-height: 560px; }
.bdm-opt { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bdm-opt button { padding: 10px; border: 1.5px solid #c4c4c4; border-radius: 11px; background: #fff; color: #171717; text-align: left; }
.bdm-opt button.on { border-color: #DC4F4C; background: #fff3f2; }
.bdm-opt b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: .4px; }
.bdm-opt span { display: block; margin-top: 2px; font-size: 12px; color: #5a5a5a; }
.bdm-prev { flex: 1 1 0; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 10px; background: #e5e5e5; color: #333; }
.bdm-prev img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.bdm-prev p { margin: 0; font-size: 13px; text-align: center; color: #444; }
.bdm-parts { flex: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bdm-parts::-webkit-scrollbar { display: none; }
.bdm-parts button { flex: none; height: 44px; padding: 0 12px; border: 1.5px solid #c4c4c4; border-radius: 10px; background: #fff; color: #171717; font-size: 12.5px; white-space: nowrap; }
.bdm-parts button.on { border-color: #DC4F4C; background: #fff3f2; }
.bdm-fsw { flex: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: #333; font-size: 13.5px; text-align: left; }
.bdm .bdm-fsw { color: #333; }
.bdm-fsw i { flex: none; position: relative; width: 44px; height: 26px; border-radius: 13px; background: #c4c4c4; transition: background .15s; }
.bdm-fsw i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; }
.bdm-fsw.on i { background: #DC4F4C; }
.bdm-fsw.on i::after { left: 21px; }
.bdm-okay { flex: none; display: flex; align-items: center; gap: 11px; margin: 10px; padding: 12px; border: 1px solid #2a7a3e; border-radius: 12px; background: #122016; }
.bdm-okay > i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1f5a33; color: #b8f0c8; font-style: normal; font-size: 18px; }
.bdm-okay b { display: block; font-size: 15.5px; font-weight: 600; color: #b8f0c8; }
.bdm-okay > div > span { display: block; font-size: 12.5px; color: #cfe7d6; }
.bdm-okpic { flex: 0 1 auto; min-height: 0; padding: 0 34px; }
.bdm-okpic img { display: block; width: 100%; height: auto; border-radius: 6px; }
.bdm-v-saved .bdm-btn { white-space: normal; line-height: 1.15; padding: 0 8px; font-size: 13px; }
