/* The bag game on Markets (ADR-0066), from the mockup Brian reviewed (Solada-Plan proto/bag-demo). Motion lives in the diamond only, slow and small; lists stay
   still; prefers-reduced-motion turns it all off. Colours: the site's violet #9945ff, green #14f195, blue #1d9bf0. */
:root { --bd-green: #14f195; --bd-violet: #9945ff; --bd-amber: #ffb020; --bd-panel: #12121d; --bd-line: #292938; }

/* ---------- The diamond, by level ---------- */
.bd-gem { position: relative; display: inline-block; flex: none; line-height: 0; }
.bd-gem svg { display: block; overflow: visible; }
.bd-gem .bd-shine { opacity: 0; }
/* Dark: grey, still */
.bd-l0 svg { filter: grayscale(1) brightness(0.75); opacity: 0.8; }
/* Rough: lit, a slow breath */
.bd-l1 svg { filter: saturate(0.8) drop-shadow(0 0 3px #14f19566); animation: bd-breathe 4.5s ease-in-out infinite; }
/* Cut: a stronger glow and a light sweep every few seconds */
.bd-l2 svg { filter: drop-shadow(0 0 5px #14f195aa); animation: bd-breathe 3.5s ease-in-out infinite; }
.bd-l2 .bd-shine { opacity: 1; animation: bd-sweep 5s ease-in-out infinite; }
/* Brilliant: prismatic glow, a quicker sweep and sparkles */
.bd-l3 svg { animation: bd-prism 6s linear infinite; }
.bd-l3 .bd-shine { opacity: 1; animation: bd-sweep 3.2s ease-in-out infinite; }
.bd-spark { position: absolute; width: 7px; height: 7px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: bd-twinkle 2.4s ease-in-out infinite; pointer-events: none; }
.bd-gem:not(.bd-l3) .bd-spark { display: none; }
@keyframes bd-breathe { 50% { transform: scale(1.04); } }
@keyframes bd-sweep { 0% { transform: translateX(-30px) skewX(-20deg); } 55%, 100% { transform: translateX(110px) skewX(-20deg); } }
@keyframes bd-prism { 0% { filter: drop-shadow(0 0 6px #14f195cc); } 33% { filter: drop-shadow(0 0 7px #9945ffcc); } 66% { filter: drop-shadow(0 0 7px #1d9bf0cc); } 100% { filter: drop-shadow(0 0 6px #14f195cc); } }
@keyframes bd-twinkle { 0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* ---------- The chip in the top bar ---------- */
.bd-chip { display: inline-flex; align-items: center; gap: 9px; height: 38px; margin-right: 8px; padding: 0 13px 0 9px; border: 1px solid #14f19566; border-radius: 999px; background: linear-gradient(135deg, #14f19514, #9945ff26); color: #f4f3fa; font: 600 12.5px "Geist", system-ui, sans-serif; white-space: nowrap; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.bd-chip:hover { border-color: #14f195; box-shadow: 0 0 18px #14f19533; }
.bd-chip .bd-mid { display: grid; gap: 3px; min-width: 70px; }
.bd-chip .bd-mid small { color: #8ff5cd; font: 700 9.5px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.bd-chip .bd-mid i { display: block; height: 4px; border-radius: 99px; background: #26263a; overflow: hidden; }
.bd-chip .bd-mid i b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #9945ff, #14f195); }
.bd-chip .bd-today { color: #14f195; font: 700 13px "Geist Mono", ui-monospace, monospace; }
.bd-chip .bd-today span { color: #a7a8ba; font: 500 11.5px "Geist", sans-serif; }
.bd-chip.bd-lvl3 { border-color: transparent; background: linear-gradient(#141420, #141420) padding-box, linear-gradient(120deg, #14f195, #9945ff, #1d9bf0, #14f195) border-box; background-size: 100% 100%, 300% 100%; animation: bd-rim 6s linear infinite; }
@keyframes bd-rim { to { background-position: 0 0, 300% 0; } }
.bd-chip.bd-guest { border-color: #9945ff80; background: #9945ff1f; color: #e3d2ff; }
.bd-chip.bd-dark { border-color: #3a3a52; background: #12121d; color: #c9c9d6; }
.bd-chip.bd-dark .bd-mid small { color: #8f90a6; }
.bd-chip.bd-warn { border-color: #ffb02099; background: #ffb02014; }
.bd-chip.bd-warn .bd-mid small { color: #ffcf70; }
.bd-chip.bd-warn .bd-mid i b { background: linear-gradient(90deg, #ffb020, #ff8a3d); }
@media (max-width: 1199.98px), (max-height: 559.98px) {
  .bd-chip { height: 40px; gap: 6px; margin-right: 6px; padding: 0 11px 0 8px; }
  .bd-chip .bd-mid, .bd-chip .bd-today span { display: none; }
  .bd-chip .bd-today { font-size: 13.5px; }
  .bd-chip .bd-pct { display: inline !important; }
}
.bd-chip .bd-pct { display: none; color: #8ff5cd; font: 700 13px "Geist Mono", monospace; }

/* ---------- Your payday in the Daily pot row ---------- */
.bd-pot-mine { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-left: 16px; border-left: 1px solid #ffffff22; }
.bd-pot-mine small { display: flex; align-items: center; gap: 6px; color: #8dfccd; font: 600 10px/1.2 "Geist Mono", monospace; letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap; }
.bd-pot-mine b { color: #8ff5cd; font: 700 19px/1.2 "Geist Mono", monospace; }
.bd-pot-mine span { color: #c9cadb; font: 500 11px "Geist Mono", monospace; white-space: nowrap; }
#mk-pot:has(.bd-pot-mine) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
/* On a computer the pot card keeps its size when your payday joins it (Brian, 6 November 2026: "the pot and rewards take
   up way too much space ... I can't see any of the numbers to the right"): each column takes what it needs and the
   payday's words wrap; on a window under 1600px the payday steps aside (the top bar's Diamond chip says the same). */
@media (min-width: 1200px) {
  #mk-pot:has(.bd-pot-mine) { grid-template-columns: auto auto auto; column-gap: 22px; }
  .bd-pot-mine span { white-space: normal; max-width: 170px; line-height: 1.3; }
}
@media (min-width: 1200px) and (max-width: 1599.98px) {
  #mk-pot .bd-pot-mine { display: none; }
  #mk-pot:has(.bd-pot-mine) { grid-template-columns: auto auto; }
}

/* ---------- The strip over the swap box ---------- */
.bd-strip { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid #14f19555; border-radius: 12px; background: linear-gradient(135deg, #14f19514, #9945ff1f); color: #f4f3fa; cursor: pointer; text-align: left; font: inherit; }
.bd-strip:hover { border-color: #14f195aa; }
.bd-strip .bd-w { flex: 1; min-width: 0; }
.bd-strip b { display: block; font: 600 13.5px "Geist", sans-serif; }
.bd-strip b em { color: #14f195; font-style: normal; }
.bd-strip span { display: block; color: #a7a8ba; font: 12px "Geist", sans-serif; }
.bd-strip .bd-go { color: #8ff5cd; font: 600 18px "Geist", sans-serif; }
.bd-strip.bd-warn { border-color: #ffb02080; background: #ffb02012; }
.bd-strip.bd-warn b em { color: #ffcf70; }
.bd-strip.bd-guest { border-color: #9945ff66; background: #9945ff14; }
.bd-strip.bd-live { border-color: #14f195; background: linear-gradient(135deg, #14f19526, #9945ff26); box-shadow: 0 0 18px #14f19533; }

/* ---------- Diamonds on logos in the lists ---------- */
.bd-host { position: relative; }
.bd-mark { position: absolute; z-index: 2; line-height: 0; pointer-events: auto; }
.bd-mark .bd-gem svg { animation: none !important; filter: drop-shadow(0 0 2px #14f19599) !important; }
.bd-mark.bd-off .bd-gem svg { filter: grayscale(1) brightness(0.8) !important; }
.bd-ring { position: absolute; z-index: 1; border-radius: 50%; background: conic-gradient(#14f195 var(--p), #2a2a3c 0); -webkit-mask: radial-gradient(circle, transparent calc(50% - 2.5px), #000 calc(50% - 2px)); mask: radial-gradient(circle, transparent calc(50% - 2.5px), #000 calc(50% - 2px)); pointer-events: none; }

/* ---------- Modals ---------- */
.bd-backdrop { position: fixed; inset: 0; z-index: 500; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 18px; background: #05050acc; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: bd-fade 0.18s ease-out; }
@keyframes bd-fade { from { opacity: 0; } }
.bd-modal { position: relative; width: min(820px, 100%); max-height: calc(100dvh - 36px); overflow: auto; border: 1px solid #292938; border-radius: 20px; background: radial-gradient(circle at 18% 0%, #14f1951f, transparent 45%), radial-gradient(circle at 100% 20%, #9945ff26, transparent 50%), #0f0f19; color: #f4f3fa; font: 14px/1.45 "Geist", system-ui, sans-serif; box-shadow: 0 30px 80px #000c; animation: bd-pop 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2); scrollbar-width: thin; scrollbar-color: #292938 transparent; }
@keyframes bd-pop { from { transform: translateY(10px) scale(0.97); opacity: 0; } }
/* Pinned while the sheet scrolls (Brian, 6 November 2026: "when I scroll down on Diamond Status the x disappears"): in the flow at the top right, its room taken back by the negative margin. */
.bd-x { position: sticky; top: 12px; z-index: 3; display: flex; align-items: center; justify-content: center; margin: 12px 12px -46px auto; width: 34px; height: 34px; border: 0; border-radius: 10px; background: #1c1c2ae6; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #c9c9d6; font-size: 20px; line-height: 1; cursor: pointer; }
.bd-x:hover { background: #ffffff1a; color: #fff; }
.bd-sec { padding: 0 22px 18px; }
.bd-h { margin: 0 0 10px; color: #a7a8ba; font: 700 10.5px "Geist Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 700px) {
  .bd-backdrop { place-items: end center; padding: 0; }
  .bd-modal { width: 100%; max-height: 92dvh; border-radius: 20px 20px 0 0; }
}

/* The diamond modal */
.bd-hero { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: center; padding: 26px 22px 18px; }
.bd-big { display: grid; justify-items: center; gap: 10px; text-align: center; }
.bd-badge { padding: 3px 12px; border-radius: 999px; font: 700 11px "Geist Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; }
.bd-badge.bd-b0 { border: 1px solid #3a3a52; color: #a7a8ba; }
.bd-badge.bd-b1 { border: 1px solid #14f19566; color: #8ff5cd; background: #14f19512; }
.bd-badge.bd-b2 { border: 1px solid #1d9bf0aa; color: #8ecdf8; background: #1d9bf01a; }
.bd-badge.bd-b3 { border: 1px solid transparent; color: #fff; background: linear-gradient(#141420, #141420) padding-box, linear-gradient(120deg, #14f195, #9945ff, #1d9bf0) border-box; }
.bd-earn small { display: block; color: #8ff5cd; font: 700 10.5px "Geist Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.bd-earn .bd-num { display: inline-block; color: #14f195; font: 800 46px/1.05 "Geist Mono", monospace; letter-spacing: -0.03em; text-shadow: 0 0 22px #14f19566; }
.bd-earn .bd-plus { margin-left: 8px; color: #8ff5cd; font: 700 14px "Geist Mono", monospace; opacity: 0; }
.bd-earn .bd-plus.on { animation: bd-plusup 1.6s ease-out; }
@keyframes bd-plusup { 0% { opacity: 1; transform: translateY(6px); } 100% { opacity: 0; transform: translateY(-12px); } }
.bd-earn p { margin: 4px 0 0; color: #a7a8ba; font-size: 12.5px; }
.bd-lit { margin-top: 14px; }
.bd-lit .bd-row { display: flex; justify-content: space-between; color: #c9c9d6; font-size: 12.5px; }
.bd-lit .bd-row b { color: #f4f3fa; font-family: "Geist Mono", monospace; }
.bd-meter { height: 10px; margin: 6px 0 4px; border-radius: 99px; background: #26263a; overflow: hidden; }
.bd-meter b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #9945ff, #14f195); box-shadow: 0 0 12px #14f19566; }
.bd-days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; margin-top: 10px; }
.bd-days i { height: 6px; border-radius: 2px; background: #26263a; }
.bd-days i.on { background: #14f195; }
.bd-days i.low { background: #ffb020; }
.bd-next { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border: 1px solid #292938; border-radius: 13px; background: #0b0b14b3; }
.bd-next .bd-w { flex: 1; }
.bd-next small { color: #6e6f86; font: 700 10px "Geist Mono", monospace; letter-spacing: 0.1em; }
.bd-next b { display: block; font-size: 15px; }
.bd-next span { color: #a7a8ba; font-size: 12.5px; }
.bd-next.bd-ok { border-color: #14f19566; background: #14f19512; }
.bd-next.bd-ok b { color: #14f195; }
.bd-next.bd-warn { border-color: #ffb02080; background: #ffb02012; }
.bd-next.bd-warn b { color: #ffcf70; }
.bd-btn { flex: none; height: 38px; padding: 0 16px; border: 0; border-radius: 11px; background: #9945ff; color: #fff; font: 700 13.5px "Geist", sans-serif; cursor: pointer; }
.bd-btn:hover { background: #a95fff; }
.bd-btn.bd-ghost { border: 1px solid #292938; background: #12121d; }
.bd-facets { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.bd-facet { display: grid; justify-items: center; gap: 5px; padding: 12px 6px 10px; border: 1px solid #292938; border-radius: 13px; background: #12121d; text-align: center; }
.bd-facet .bd-f { width: 22px; height: 22px; transform: rotate(45deg); border-radius: 4px; background: #2a2a3c; }
.bd-facet b { font-size: 12px; line-height: 1.25; }
.bd-facet span { color: #6e6f86; font: 600 10.5px "Geist Mono", monospace; }
.bd-facet.got { border-color: #ffffff1f; background: linear-gradient(180deg, #ffffff0a, #12121d); }
.bd-facet.got .bd-f { box-shadow: 0 0 12px currentColor; }
.bd-facet.got span { color: #8ff5cd; }
.bd-facet.now { border-color: #9945ff99; box-shadow: inset 0 0 0 1px #9945ff55; }
.bd-facet.now span { color: #d9c4ff; }
.bd-facet .bd-fbar { width: 80%; height: 4px; border-radius: 99px; background: #26263a; overflow: hidden; }
.bd-facet .bd-fbar i { display: block; height: 100%; background: #9945ff; }
.bd-two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; }
.bd-bag { display: grid; gap: 6px; }
.bd-tok { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #1f1f2e; border-radius: 10px; background: #12121d; font-size: 13px; }
.bd-tok .bd-dot { width: 26px; height: 26px; border-radius: 50%; background: #222233; display: grid; place-items: center; color: #a7a8ba; font-size: 11px; font-weight: 700; }
.bd-tok .bd-w { flex: 1; }
.bd-tok em { font-style: normal; font: 600 11px "Geist Mono", monospace; }
.bd-tok em.on { color: #14f195; } .bd-tok em.off { color: #8f90a6; } .bd-tok em.wait { color: #c9b8f5; }
.bd-bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; padding: 8px 10px 0; border: 1px solid #1f1f2e; border-radius: 12px; background: #12121d; }
.bd-bars div { flex: 1; display: grid; justify-items: center; gap: 4px; }
.bd-bars i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #14f195, #14f19544); }
.bd-bars span { color: #6e6f86; font: 600 9.5px "Geist Mono", monospace; }
.bd-total { display: flex; justify-content: space-between; margin-top: 8px; color: #a7a8ba; font-size: 12.5px; }
.bd-total b { color: #14f195; font-family: "Geist Mono", monospace; }
@media (max-width: 700px) {
  .bd-hero { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .bd-facets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bd-two { grid-template-columns: minmax(0, 1fr); }
  .bd-earn .bd-num { font-size: 40px; }
}

/* The Daily pot explainer */
.bd-show { position: relative; height: 230px; overflow: hidden; border-bottom: 1px solid #ffffff10; background: radial-gradient(ellipse at 50% 110%, #14f19540, transparent 60%), radial-gradient(circle at 50% 0%, #9945ff26, transparent 60%); }
.bd-vault { position: absolute; left: 50%; bottom: 22px; width: 230px; height: 112px; margin-left: -115px; border: 1px solid #14f19566; border-radius: 30px 30px 60px 60px; background: linear-gradient(180deg, #14f19526, #0f0f19 80%); box-shadow: 0 0 40px #14f19540, inset 0 0 30px #14f19522; display: grid; place-items: center; text-align: center; }
.bd-vault small { display: block; color: #8ff5cd; font: 700 10px "Geist Mono", monospace; letter-spacing: 0.12em; }
.bd-vault b { display: block; color: #14f195; font: 800 34px/1.1 "Geist Mono", monospace; text-shadow: 0 0 18px #14f19599; }
.bd-vault span { color: #c9cadb; font: 600 11.5px "Geist Mono", monospace; }
.bd-vault.bump b { animation: bd-bump 0.5s ease; }
@keyframes bd-bump { 40% { transform: scale(1.07); } }
.bd-drop { position: absolute; top: 74px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 4px; border: 1px solid #ffffff22; border-radius: 999px; background: #171724; color: #f4f3fa; font: 600 11.5px "Geist", sans-serif; white-space: nowrap; animation: bd-fall 2.6s cubic-bezier(0.45, 0, 0.8, 0.6) forwards; }
.bd-drop i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #9945ff; color: #fff; font: 700 9px "Geist", sans-serif; font-style: normal; }
.bd-drop b { color: #14f195; font: 700 11.5px "Geist Mono", monospace; }
@keyframes bd-fall { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(120px) scale(0.6); opacity: 0; } }
.bd-title { position: absolute; top: 16px; left: 22px; right: 60px; }
.bd-title h2 { margin: 0; font: 700 24px/1.2 "Sora", "Geist", sans-serif; letter-spacing: -0.02em; }
.bd-title p { margin: 4px 0 0; color: #c9c9d6; font-size: 13px; }
.bd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 18px 22px; }
.bd-card { position: relative; padding: 14px; border: 1px solid #292938; border-radius: 15px; background: #12121d; }
.bd-card .bd-n { position: absolute; top: 12px; right: 12px; color: #3a3a52; font: 800 26px/1 "Sora", sans-serif; }
.bd-card .bd-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 14px; background: #14f1951a; border: 1px solid #14f19544; }
.bd-card .bd-ic svg { width: 24px; height: 24px; }
.bd-card b { display: block; margin-bottom: 4px; font: 700 15px "Sora", "Geist", sans-serif; }
.bd-card span { color: #a7a8ba; font-size: 12.5px; }
.bd-cta { display: flex; gap: 8px; justify-content: flex-end; padding: 0 22px 20px; }
@media (max-width: 700px) {
  .bd-steps { grid-template-columns: minmax(0, 1fr); }
  .bd-show { height: 250px; }
}

/* ---------- The celebration ---------- */
.bd-party { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; background: #05050aaa; animation: bd-fade 0.2s ease-out; }
.bd-party .bd-cardp { position: relative; display: grid; justify-items: center; gap: 8px; width: min(380px, 92vw); padding: 26px 22px 20px; border: 1px solid #14f19580; border-radius: 22px; background: radial-gradient(circle at 50% 18%, #14f19540, #0f0f19 68%); text-align: center; box-shadow: 0 0 80px #14f19555; animation: bd-pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
.bd-party h3 { margin: 4px 0 0; font: 800 22px "Sora", sans-serif; }
.bd-party .bd-amt { color: #14f195; font: 800 30px "Geist Mono", monospace; text-shadow: 0 0 18px #14f19599; }
.bd-party p { margin: 0; color: #c9e9dd; font-size: 13px; }
.bd-party .bd-newf { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 12px; border: 1px solid #ffe06666; border-radius: 999px; background: #ffe06614; color: #ffe066; font: 700 12.5px "Geist", sans-serif; }
.bd-party .bd-newf i { width: 12px; height: 12px; transform: rotate(45deg); border-radius: 2px; background: #ffe066; box-shadow: 0 0 10px #ffe066; }
.bd-burst { position: absolute; left: 50%; top: 92px; width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; animation: bd-burst 1.1s cubic-bezier(0.1, 0.7, 0.3, 1) forwards; }
@keyframes bd-burst { from { transform: translate(-50%, -50%) rotate(45deg) scale(0.4); opacity: 1; } to { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(45deg) scale(1); opacity: 0; } }

/* ---------- The title row, tap explanations, badges you can tap ---------- */
.bd-mtop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 20px 64px 0 22px; }
.bd-mtop h2 { margin: 0; font: 700 22px/1.2 "Sora", "Geist", sans-serif; letter-spacing: -0.02em; }
.bd-how { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 1px solid #292938; border-radius: 999px; background: #12121d; color: #c9c9d6; font: 600 12px "Geist", sans-serif; cursor: pointer; }
.bd-how:hover { border-color: #9945ff99; color: #fff; }
.bd-hero { padding-top: 14px; }
.bd-i { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 3px; border: 1px solid #6e6f86; border-radius: 50%; color: #a7a8ba; font: 700 9px/1 "Geist", sans-serif; font-style: normal; letter-spacing: 0; text-transform: none; vertical-align: 1px; }
[data-bd-tip] { cursor: help; outline: none; border-radius: 10px; }
[data-bd-tip]:hover .bd-i, [data-bd-tip]:focus-visible .bd-i { border-color: #d9c4ff; color: #fff; }
[data-bd-tip]:focus-visible { box-shadow: 0 0 0 2px #9945ff99; }
.bd-pop { position: absolute; z-index: 6; width: min(320px, calc(100% - 24px)); padding: 11px 13px; border: 1px solid #9945ff99; border-radius: 12px; background: #1a1a29; color: #d6d6e2; font: 13px/1.45 "Geist", sans-serif; text-align: left; box-shadow: 0 14px 40px #000b; animation: bd-fade 0.12s ease-out; }
.bd-pop b { color: #fff; }
.bd-window { margin-top: 2px; }
button.bd-facet { font: inherit; cursor: pointer; }
.bd-facet:hover { border-color: #ffffff33; }
.bd-facet.sel { border-color: #d9c4ff; box-shadow: inset 0 0 0 1px #d9c4ff66; }
.bd-explain { margin-top: 10px; padding: 11px 13px; border: 1px solid #292938; border-radius: 12px; background: #0b0b14b3; color: #c9c9d6; font-size: 13px; }
.bd-explain b { color: #fff; }
.bd-party .bd-ph { color: #8ff5cd; font: 700 10.5px "Geist Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.bd-pacts { display: flex; gap: 8px; margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  .bd-gem svg, .bd-gem .bd-shine, .bd-spark, .bd-chip.bd-lvl3, .bd-drop, .bd-burst { animation: none !important; }
}

/* ---------- Added in the build ---------- */
.own-swap > .bd-strip { box-sizing: border-box; width: 100%; max-width: 420px; margin: 0 auto 12px; }
.bd-plain { margin: 0 22px 16px; color: #8f90a6; font-size: 12.5px; }
.bd-claim { color: #8ff5cd; font-weight: 600; text-decoration: none; }
.bd-claim:hover { color: #14f195; }
.bd-strip.bd-guest b em { color: #d9c4ff; }
/* On a phone the row has no room for a third figure: the chip in the top bar carries your payday there. */
@media (max-width: 699.98px) { .bd-pot-mine { display: none; } #mk-pot:has(.bd-pot-mine) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.bd-pot-mine small, .bd-pot-mine span { overflow: hidden; text-overflow: ellipsis; }
