/* Base conveniences: idle chest, Collect all, second builder, free finish (client/base-extras.js) */
#bx-chest { position: absolute; left: 0; top: 0; padding: 0; border: 0; background: transparent; border-radius: 50%; z-index: 2; -webkit-tap-highlight-color: transparent; }
#bx-chest:active { background: rgba(255, 214, 110, .18); }
#bx-all { position: absolute; left: 0; top: 0; z-index: 2; padding: 5px 11px; border-radius: 14px; white-space: nowrap; font: 800 12px/1.2 system-ui; color: #10250f;
  background: linear-gradient(#b9f08f, #5fc25a); border: 2px solid #f3ffe6; box-shadow: 0 3px 0 #2c6a2a, 0 5px 10px rgba(0, 0, 0, .4); }
#bx-all:active { box-shadow: 0 1px 0 #2c6a2a; margin-top: 2px; }
#bx-chest.hidden, #bx-all.hidden { display: none; }

/* "Free" on speed-up buttons inside the free-finish window */
.is-free[data-free-text] { background: linear-gradient(#9be870, #3fa43a) !important; color: #0d2a0c; font: 900 11px/1 system-ui !important; letter-spacing: -.2px; width: auto; min-width: 38px; padding: 0 6px; border-color: #eaffd8; }
.free-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; margin: 6px 0; border-radius: 10px; background: rgba(95, 194, 90, .12); border: 1px solid rgba(95, 194, 90, .45); font-size: 13px; }
.free-row .free-btn { min-width: 76px; background: linear-gradient(#9be870, #3fa43a); border-color: #eaffd8; color: #0d2a0c; font-weight: 900; }
.free-row .free-btn:disabled { background: #3a4a3f; border-color: #55685a; color: #9fb1a3; opacity: 1; }
.speed-use { display: flex; gap: 6px; align-items: center; }
.speed-use .use-many { background: linear-gradient(#7fd4ff, #2f86d8); border-color: #cfeeff; color: #06243c; font-weight: 800; white-space: nowrap; }

/* sheets */
.bx-right { display: flex; align-items: baseline; gap: 8px; text-align: right; min-width: 0; }
.bx-right small { color: var(--muted, #9fb1a3); font-size: 11px; white-space: nowrap; }
.bx-note { margin: 8px 0; font-size: 12px; line-height: 1.4; color: var(--muted, #9fb1a3); }
.bx-btns { display: flex; gap: 8px; margin-top: 8px; }
.bx-btns > button { flex: 1; min-height: 46px; }
.bx-claim { font-size: 16px; font-weight: 900; }
.bx-ruby { display: grid; justify-items: center; gap: 2px; padding: 6px 10px; border-radius: 12px; background: linear-gradient(#ff8fb0, #c8315f); border: 2px solid #ffd3e0; color: #fff; font-weight: 800; }
.bx-ruby small { font-size: 12px; font-weight: 700; opacity: .95; }
.bx-ruby.armed { background: linear-gradient(#ffd677, #e09a1e); color: #2a1a04; border-color: #fff1c4; }
.bx-ruby:disabled { filter: grayscale(.8); opacity: .6; }
.bx-wallet { margin-top: 8px; text-align: center; font-size: 12px; color: var(--muted, #9fb1a3); }
.bx-fill { margin: 4px 0 8px; }
.bx-bar { height: 14px; border-radius: 7px; background: rgba(10, 14, 12, .85); border: 1px solid var(--c-amber-lo); overflow: hidden; }
.bx-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #63c46a, #ffd24a); border-radius: 7px; }
.bx-fill-txt { margin-top: 4px; font-size: 13px; text-align: center; }
.bx-quick { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(200, 49, 95, .1); border: 1px solid rgba(255, 143, 176, .4); }
.bx-quick > div { min-width: 0; display: grid; gap: 3px; font-size: 13px; }
.bx-quick small { font-size: 11px; color: var(--muted, #9fb1a3); }
.bx-quick .bx-ruby { flex: none; }
.bu-hire { width: 100%; min-height: 34px; margin-top: 6px; border-radius: 10px; font: 800 13px/1 system-ui; background: linear-gradient(#7fd4ff, #2f86d8); color: #06243c; border: 2px solid #cfeeff; }
