/* Scoped workspace styles; the catalog and live-feed retain their own presentation. */
.bd { --bd-gold: #e6bc72; --bd-edge: #3d3b36; --bd-muted: #b6b3aa; color: #f4f0e8; padding: 28px 0 60px; }
.bd * { box-sizing: border-box; }
.bd [hidden] { display: none !important; }
.bd h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.045em; line-height: 1.05; margin: 8px 0 18px; }
.bd h2 { font-size: 1.35rem; margin: 0 0 12px; }
.bd h3 { font-size: 1.05rem; margin: 0 0 10px; }
.bd p { line-height: 1.6; }
.bd small, .bd-hint { color: var(--bd-muted); font-size: .82rem; line-height: 1.5; }
.bd h2 small, .bd h3 small { margin-left: 10px; font-weight: 400; }
.bd button, .bd-button, .bd a.bd-primary { border: 1px solid #646057; border-radius: 7px; padding: 10px 14px; color: #f4f0e8; background: #252623; cursor: pointer; font: inherit; font-size: .88rem; line-height: 1.35; text-decoration: none; display: inline-block; min-height: 42px; }
.bd button:hover, .bd-button:hover { border-color: var(--bd-gold); background: #35342b; }
.bd button:disabled { opacity: .4; cursor: default; }
.bd button[aria-pressed="true"] { border-color: var(--bd-gold); box-shadow: inset 0 0 0 1px var(--bd-gold); background: #393427; }
.bd button.bd-primary, .bd a.bd-primary { background: var(--bd-gold); color: #211d14; border-color: var(--bd-gold); font-weight: 750; }
.bd :focus-visible { outline: 3px solid #a4d7ea; outline-offset: 3px; }
.bd-hero { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 22px; }
.bd-hero > div:first-child { max-width: 680px; }
.bd-hero p { color: #c9c4b9; }
.bd .bd-eyebrow { font-size: .7rem; letter-spacing: .15em; font-weight: 750; color: var(--bd-gold); margin: 0 0 8px; }
.bd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bd-panel { padding: 24px; background: #191b1a; border: 1px solid var(--bd-edge); border-radius: 12px; margin: 20px 0; }
.bd-section-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 16px; }
.bd-section-title p { color: var(--bd-muted); font-size: .85rem; margin: 0; max-width: 560px; }
.bd-section-title h2 > span { color: var(--bd-gold); font-size: .75rem; margin-right: 10px; vertical-align: middle; }
.bd-founders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; padding-top: 16px; }
.bd button.bd-founder { position: relative; overflow: visible; text-align: left; min-height: 210px; padding: 24px 18px 24px 46%; background: #222421; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 12px; }
.bd-founder-portrait { position: absolute; left: 8px; bottom: 0; width: 42%; height: calc(100% + 18px); pointer-events: none; filter: drop-shadow(3px 4px 5px #0005); }
.bd-founder strong { font-size: 1rem; }
.bd-founder span { color: #c2beb4; font-size: .79rem; line-height: 1.5; }
.bd input, .bd textarea, .bd select { display: block; width: 100%; background: #101412; color: #f4f0e8; border: 1px solid #666159; border-radius: 6px; padding: 10px 12px; font: inherit; font-size: .9rem; margin-top: 6px; min-height: 42px; }
.bd label { display: block; font-size: .83rem; font-weight: 650; }
.bd label span { font-weight: 400; color: var(--bd-muted); }
.bd textarea { resize: vertical; }
.bd-identity { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 24px 0; }
.bd-board-scroll { overflow-x: auto; padding: 8px 2px 12px; scrollbar-color: #9d8054 #202320; }
.bd-board { display: grid; grid-template-columns: repeat(var(--bd-slots, 10), minmax(78px, 1fr)); gap: 6px; min-width: 850px; isolation: isolate; }
.bd button.bd-slot, .bd-static-slot { min-height: 194px; align-self: stretch; padding: 0; border: 1px dashed #6c675a; background: #131814; border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.bd-slot > span { width: 100%; padding: 5px; color: #a39b8a; font-size: .72rem; }
.bd-slot > small { padding-bottom: 10px; font-size: .65rem; }
.bd button.bd-board-card, .bd a.bd-board-card { min-width: 0; z-index: 1; align-self: stretch; height: auto; margin: 24px 0 0; padding: 8px 5px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; background: linear-gradient(155deg, #383e31, #252922); border: 1px solid #7b8061; border-radius: 5px; color: #f4f0e8; text-decoration: none; cursor: grab; text-align: center; }
.bd-board-card img { width: 100%; height: 0; flex: 1 1 0; object-fit: contain; object-position: center bottom; min-height: 0; }
.bd-board-card strong { flex-shrink: 0; font-size: .72rem; line-height: 1.25; overflow-wrap: anywhere; }
.bd-board-card small { flex-shrink: 0; font-size: .6rem; }
.bd .bd-slot.bd-drop-valid { outline: 3px solid #a4d7a3; background: #345c37; }
.bd .bd-slot.bd-drop-valid::after { content: "✓ Fits"; color: #d9ffdb; position: relative; z-index: 2; font-size: .65rem; }
.bd .bd-slot.bd-drop-invalid { outline: 3px solid #f49687; background: #622e28; }
.bd .bd-slot.bd-drop-invalid::after { content: "× No room"; color: #ffded8; position: relative; z-index: 2; font-size: .65rem; }
.bd-overview { display: none; grid-template-columns: repeat(var(--bd-slots, 10), 1fr); gap: 3px; }
.bd-overview button { padding: 0; min-height: 30px; font-size: .75rem; }
.bd-overview .bd-filled { color: var(--bd-gold); background: #3c4131; }
.bd-policies { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
.bd-policy { display: flex; flex-direction: column; width: 155px; border: 1px solid var(--bd-edge); border-radius: 8px; padding: 6px; gap: 5px; }
.bd-policy > button:first-child { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; flex: 1; }
.bd-policy img { height: 46px; width: 75px; object-fit: contain; }
.bd-policy strong { font-size: .8rem; }
.bd-policy > button:last-child { min-height: 34px; padding: 5px; font-size: .75rem; }
.bd-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid var(--bd-edge); }
.bd-filters label:has(input[type="search"]) { flex: 1; min-width: 180px; }
.bd .bd-checkbox { display: flex; align-items: center; gap: 8px; min-height: 42px; }
.bd-checkbox input { width: 18px; min-height: 18px; margin: 0; accent-color: var(--bd-gold); }
.bd-library { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 16px; }
.bd-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.bd-result { padding: 12px; background: #222620; border: 1px solid #45493b; border-radius: 8px; display: flex; flex-direction: column; gap: 8px; }
.bd .bd-result-inspect { display: flex; flex-direction: column; align-items: start; padding: 0; background: none; border: 0; gap: 9px; text-align: left; }
.bd-result-inspect img { width: 100%; height: 92px; object-fit: contain; }
.bd-result-inspect strong { font-size: .98rem; }
.bd-result p { font-size: .8rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bd-result .bd-availability { font-size: .68rem; }
.bd-result > button:last-child { margin-top: auto; width: 100%; text-align: left; }
.bd-details { position: sticky; top: 20px; background: #242720; border: 1px solid #615d4c; border-radius: 8px; padding: 20px; max-height: 80vh; overflow-y: auto; }
.bd-details > img { display: block; width: 100%; height: clamp(180px, 34dvh, 320px); object-fit: contain; margin-bottom: 20px; }
.bd-details p { font-size: .88rem; white-space: pre-line; }
.bd-details .bd-cooldown { margin: 10px 0; font-variant-numeric: tabular-nums; }
.bd-details > button { margin: 8px 5px 0 0; }
.bd-details label { margin-top: 16px; }
.bd-details details { margin: 15px 0; border-top: 1px solid var(--bd-edge); padding-top: 12px; }
.bd summary { cursor: pointer; }
.bd-notice { padding: 16px; border: 1px solid #b49356; background: #342e20; border-radius: 8px; margin: 12px 0; }
.bd-notice button { margin-right: 8px; }
.bd-status { position: sticky; top: 105px; z-index: 5; padding: 10px 14px; border: 1px solid #534b37; border-radius: 7px; background: #22251f; box-shadow: 0 3px 12px #0005; font-size: .87rem; color: #e6d3a6; min-height: 25px; }
.bd-glossary dl { display: grid; grid-template-columns: 130px 1fr; gap: 12px; margin-top: 20px; }
.bd-glossary dt { color: var(--bd-gold); font-weight: 650; }
.bd-glossary dd { margin: 0; color: #c4c1b7; line-height: 1.5; }
.bd-dialog { position: fixed; inset: 0; margin: auto; width: min(600px, 94vw); max-height: 85vh; overflow: auto; padding: 28px; border: 1px solid #928063; border-radius: 12px; background: #1c211c; color: #f4f0e8; }
.bd-dialog::backdrop { background: #000b; }
.bd-dialog button, .bd-dialog a { margin: 10px 8px 0 0; }
.bd-dialog li { margin-bottom: 8px; font-size: .9rem; }
.bd-dialog p { white-space: pre-line; }
.bd-shared-founder { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.bd-shared-founder img { object-fit: contain; }
.bd-shared-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bd-shared-rules article { padding: 16px; border: 1px solid var(--bd-edge); border-radius: 8px; scroll-margin-top: 20px; }
.bd-shared-rules article:target { outline: 2px solid var(--bd-gold); }
.bd-shared-rules p, .bd-note { white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .bd-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bd-hero { align-items: start; flex-direction: column; } }
@media (max-width: 800px) { .bd-panel { padding: 16px; } .bd-library { grid-template-columns: 1fr; } .bd-details { position: static; max-height: none; } .bd-identity { grid-template-columns: 1fr; gap: 14px; } .bd-overview { display: grid; } .bd-shared-rules { grid-template-columns: 1fr; } .bd-glossary dl { grid-template-columns: 1fr; gap: 8px; } .bd-glossary dd { margin-bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { .bd *, .bd *::before, .bd *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.bd-detail-sheet .bd-details { position: static; max-height: none; border: 0; background: none; padding: 0; margin-top: 12px; }
@media (max-width: 800px) { .bd-detail-sheet { width: 94vw; max-height: 88dvh; padding: 18px; } }
.bd-detail-actions { display: none; }
.bd-detail-sheet .bd-detail-actions { display: flex; flex-wrap: wrap; gap: 6px; }

@media (max-width: 1500px) { .bd-founders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bd-founders { grid-template-columns: 1fr; } .bd button.bd-founder { min-height: 190px; padding-top: 20px; padding-bottom: 20px; } }
.bd-founder-picker > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.bd-founder-picker > summary::-webkit-details-marker { display: none; }
.bd-founder-picker > summary h2 { margin: 0; font-size: 1.1rem; }
.bd-founder-step { color: var(--bd-gold); font-size: .75rem; margin-right: 10px; }
.bd-founder-change, .bd-founder-close { color: var(--bd-gold); font-size: .8rem; white-space: nowrap; }
.bd-founder-picker:not([open]) { padding-top: 14px; padding-bottom: 14px; }
.bd-founder-picker[open] .bd-founder-change, .bd-founder-picker:not([open]) .bd-founder-close { display: none; }
.bd-founder-picker > summary { position: relative; }
.bd-founder-banner-portrait { position: absolute; left: 0; bottom: -14px; width: 64px; height: 66px; pointer-events: none; filter: drop-shadow(2px 2px 3px #0005); }
.bd-founder-picker[open] .bd-founder-banner-portrait { display: none; }
.bd-founder-picker.has-founder:not([open]) > summary { padding-left: 76px; }
.bd-founder-picker:not([open]) > summary h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  .bd-founder-picker.has-founder:not([open]) > summary { padding-left: 56px; gap: 8px; }
  .bd-founder-banner-portrait { width: 48px; height: 60px; }
  .bd-founder-picker:not([open]) > summary h2 { font-size: .88rem; }
  .bd-founder-picker:not([open]) .bd-founder-step { display: none; }
  .bd-founder-change { font-size: .72rem; }
}
.bd.bd-workspace { padding-top: 8px; }
.bd-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.bd-toolbar h1 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; margin: 0; }
@media (max-width: 600px) { .bd-toolbar h1 { font-size: 1.15rem; } .bd-toolbar .bd-actions { gap: 6px; } .bd-toolbar button { padding: 8px 10px; } }

.bd-keyword { font-weight: 700; cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; }
.bd-keyword-popover { padding: 14px 16px; background: #211d17; color: #f4f0e8; border: 1px solid #9d8054; border-radius: 8px; font-size: .9rem; line-height: 1.5; }
.bd-keyword-popover p { margin: 6px 0 0; }

.bd-result { cursor: pointer; }
.bd-result:hover { border-color: var(--bd-gold); background: #2b3026; }
.bd-result:focus-visible { outline: 3px solid #a6dbea; outline-offset: 3px; }

.bd-catalog-sentinel { height: 1px; }

.bd-board-scroll.bd-board-pinned { position: fixed; z-index: 90; box-sizing: border-box; padding: 6px; background: #181d18f5; border: 1px solid #615d4c; border-radius: 0 0 10px 10px; box-shadow: 0 8px 20px #0006; }
.bd-board-pinned .bd-board { min-width: 600px; grid-template-columns: repeat(var(--bd-slots, 10), minmax(54px, 1fr)); }
.bd .bd-board-pinned button.bd-slot { min-height: 100px; }
.bd .bd-board-pinned button.bd-board-card { margin-top: 18px; padding: 3px; gap: 2px; }
.bd-board-pinned .bd-board-card strong { font-size: .6rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bd-board-pinned .bd-board-card small { display: none; }
.bd-board-pinned .bd-slot > span { font-size: .6rem; padding: 2px; }
.bd-board-pinned .bd-slot > small { font-size: .55rem; }
.bd .bd-status { top: var(--bd-board-inset, 105px); }

.bd .bd-detail-sheet, .bd .bd-confirm-modal { padding: 0; overflow: visible; width: min(600px, calc(100vw - 64px)); max-height: none; }
.bd .bd-detail-sheet .bd-details, .bd .bd-confirm-modal .bd-modal-body { margin: 0; padding: 28px; max-height: min(85dvh, calc(100dvh - 80px)); overflow-y: auto; border-radius: inherit; }
.bd .bd-dialog .bd-modal-close { position: absolute; top: 0; right: 0; transform: translate(50%, -50%); z-index: 1; margin: 0; width: 46px; height: 46px; min-height: 46px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 2px solid #f28b80; background: #ba302b; color: #fff; box-shadow: 0 3px 0 #6d1715, 0 4px 12px #0005; cursor: pointer; }
.bd .bd-dialog .bd-modal-close:hover { background: #d53d35; }
.bd .bd-dialog .bd-modal-close:active { transform: translate(50%, calc(-50% + 2px)); box-shadow: 0 1px 0 #6d1715; }
.bd-modal-close svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; pointer-events: none; }

.bd-shared-tags { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--bd-edge); }
.bd-shared-tags h4 { margin: 0 0 10px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bd-muted); }
.bd-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bd .bd-tag-list button.tooltip-chip { margin: 0; padding: 6px 10px; min-height: 34px; border-radius: 3px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; }
.bd .bd-tag-list button.tooltip-chip:hover { border-color: currentColor; filter: brightness(1.2); }

.bd.bd-drag-removing::after { content: "Release to remove · Undo available"; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; padding: 12px 20px; border: 1px solid #f28b80; border-radius: 10px; background: #732923; color: #fff; pointer-events: none; font-weight: 700; box-shadow: 0 4px 18px #0008; }

.bd-name-input { display: flex; gap: 0; align-items: stretch; margin-top: 6px; }
.bd .bd-name-input input { flex: 1; min-width: 0; margin: 0; border-radius: 6px 0 0 6px; }
.bd .bd-name-input button { flex: 0 0 48px; margin: 0 0 0 -1px; border-radius: 0 6px 6px 0; font-size: 1.8rem; padding: 0; line-height: 1; display: grid; place-items: center; }
.bd-dice-icon { display: block; width: 24px; height: 24px; color: #e6bc72; transform-origin: center; pointer-events: none; }

.bd button.bd-board-card.bd-card-removing { background: linear-gradient(155deg, #643c39, #432b29); border-color: #e18b82; box-shadow: inset 0 0 18px #e16b5830; }

.bd-browse-tags { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--bd-edge); min-width: 0; }
.bd-browse-tags > span { flex-shrink: 0; font-size: .8rem; font-weight: 700; color: var(--bd-muted); }
.bd-browse-tag-list { display: flex; gap: 8px; overflow-x: auto; padding: 4px; min-width: 0; scrollbar-color: #9d8054 #202320; }
.bd .bd-browse-tag-list button { flex-shrink: 0; margin: 0; padding: 7px 12px; border-radius: 4px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.bd .bd-browse-tag-list button[aria-pressed="true"] { outline: 2px solid currentColor; outline-offset: -3px; box-shadow: inset 0 0 12px #ffffff18; }

/* Gentle feedback on both the full board and its pinned preview. */
.bd button.bd-board-card, .bd a.bd-board-card { transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease; }
@media (hover: hover) and (pointer: fine) {
  .bd button.bd-board-card:not(.bd-card-removing):hover,
  .bd a.bd-board-card:hover { transform: translateY(-2px); border-color: #c5ac79; box-shadow: 0 4px 9px #0004, inset 0 0 12px #e6bc720b; }
  .bd button.bd-board-card:not(.bd-card-removing):active,
  .bd a.bd-board-card:active { transform: translateY(0); box-shadow: inset 0 2px 5px #0003; cursor: grabbing; }
}
@media (prefers-reduced-motion: reduce) {
  .bd button.bd-board-card, .bd a.bd-board-card { transition: none; }
  .bd button.bd-board-card:not(.bd-card-removing):hover, .bd a.bd-board-card:hover { transform: none; }
}

.bd-catalog-toggle { display: inline-flex; flex-shrink: 0; border: 1px solid #646057; border-radius: 8px; padding: 3px; gap: 0; background: #111610; }
.bd .bd-catalog-toggle button { margin: 0; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--bd-muted); min-width: 90px; padding: 8px 14px; }
.bd .bd-catalog-toggle button:hover { color: #f4f0e8; background: #272b23; }
.bd .bd-catalog-toggle button[aria-pressed="true"] { background: #e6bc72; color: #211d14; border-color: #e6bc72; box-shadow: 0 1px 4px #0004; font-weight: 700; }

.bd-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.bd-card-tags .tooltip-chip { padding: 5px 8px; border-radius: 3px; font-size: .65rem; letter-spacing: .04em; line-height: 1.2; }

.bd-tier-label { margin: 18px 0 8px; font-weight: 700; }
.bd .bd-tier-toggle { display: flex; width: 100%; }
.bd .bd-tier-toggle button { flex: 1; min-width: 0; padding: 9px 5px; font-size: clamp(.65rem, 2.5vw, .85rem); }

.bd-detail-footer { display: flex; justify-content: flex-end; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--bd-edge); }
.bd .bd-detail-footer .bd-remove-card { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; background: transparent; border-color: transparent; color: #d48e85; font-size: .8rem; }
.bd .bd-detail-footer .bd-remove-card:hover { color: #ffb0a5; background: #b6503f18; border-color: #b6503f55; }
.bd-remove-card svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Illustrated catalog cards: artwork at left, readable rules at right. */
.bd .bd-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bd .bd-result { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); padding: 0; gap: 0; min-height: 210px; overflow: hidden; border-radius: 10px; }
.bd-card-art { position: relative; min-width: 0; background: radial-gradient(ellipse at 50% 65%, #68734a38, transparent 75%), #191e18; border-right: 1px solid #45493b; }
.bd-card-art img { position: absolute; inset: 4px 2px; width: calc(100% - 4px); height: calc(100% - 8px); object-fit: contain; }
.bd-card-content { display: flex; flex-direction: column; min-width: 0; gap: 12px; padding: 18px; }
.bd .bd-card-content p { display: block; overflow: visible; -webkit-line-clamp: unset; font-size: .85rem; }
.bd .bd-result-inspect { gap: 8px; }
.bd-result-inspect strong { font-size: 1.05rem; line-height: 1.25; }
.bd-size-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 7px; border: 1px solid #b6945155; border-radius: 4px; color: #e6bc72; background: #bd934513; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.bd-size-cells { display: inline-flex; }
.bd-size-cells > span { width: 11px; height: 15px; border: 1px solid #d9b368; background: #d9b36833; }
.bd-size-cells > span + span { border-left: 0; }
.bd-size-cells > span:first-child { border-radius: 2px 0 0 2px; }
.bd-size-cells > span:last-child { border-radius: 0 2px 2px 0; }
.bd-policy-badge { color: #86d3ea; border-color: #86d3ea55; background: #86d3ea0d; }
@media (max-width: 800px) { .bd .bd-results { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .bd-card-content { padding: 12px; gap: 10px; } .bd .bd-result { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }

.bd-add-error { display: block; color: #ffb5a8; background: #7c302540; border-left: 2px solid #e9877b; padding: 6px 8px; font-size: .75rem; line-height: 1.4; }

.bd-policies.bd-policies-empty { margin: 12px 0 0; align-items: center; }

.bd-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bd .bd-status-close { flex: 0 0 32px; min-height: 32px; height: 32px; padding: 0; margin: 0; border: 0; background: transparent; color: #e6d3a6; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; border-radius: 4px; }
.bd .bd-status-close:hover { background: #ffffff14; color: #fff; }

.bd-tier-value { display: inline-block; padding: 0 5px; margin: 0 1px; border: 1px solid var(--bd-tier-color); border-radius: 4px; font-weight: 700; font-variant-numeric: tabular-nums; background: color-mix(in srgb, var(--bd-tier-color) 10%, transparent); }
.bd .bd-tier-toggle button[aria-pressed="true"] { background: var(--bd-tier-color); border-color: var(--bd-tier-color); color: #211d14; }

.bd .bd-share-modal { width: min(1040px, calc(100vw - 64px)); }
.bd-share-board-scroll { overflow-x: auto; padding: 12px; margin: 20px 0 14px; border: 1px solid #b69451; border-radius: 10px; background: #101610; box-shadow: inset 0 0 24px #e6bc7210; }
.bd-share-board { display: grid; grid-template-columns: repeat(var(--bd-slots), minmax(64px, 1fr)); gap: 5px; min-width: 700px; }
.bd-share-slot { min-height: 150px; border: 1px dashed #615d4c; border-radius: 5px; color: #a39b8a; text-align: center; font-size: .65rem; padding-top: 3px; }
.bd-share-card { margin-top: 20px; padding: 5px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; background: linear-gradient(155deg, #383e31, #252922); border: 1px solid #7b8061; border-radius: 5px; text-align: center; }
.bd-share-card img { width: 100%; height: 70px; object-fit: contain; }
.bd-share-card strong { font-size: .65rem; line-height: 1.2; overflow-wrap: anywhere; }
.bd-share-card small { font-size: .6rem; }
.bd-share-policies { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bd-share-policy { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--bd-edge); border-radius: 5px; font-size: .7rem; }
.bd-share-policy img { width: 30px; height: 30px; object-fit: contain; }
.bd-share-link { display: block; margin-top: 20px; }
.bd-share-copy-status { color: #a4d7a3; font-size: .8rem; }
