/* ==========================================================================
   Front page (index.php): a slim "you" summary on top, then three themed columns.
   ========================================================================== */

.bc-index { min-width: 0; }

/* ---------- "You" summary ---------- */
.bc-hello {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 4px 24px; /* same gap as between cards */
  padding: 14px 18px 14px 16px;
  border-radius: var(--bc-r-lg, 18px);
  background: var(--bc-surface, #fff);
  box-shadow: 0 0 0 1px var(--bc-line, rgba(15, 15, 25, 0.07)), var(--bc-shadow-1);
  overflow: hidden;
}
/* A thin stripe in your belt colour */
.bc-hello::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--belt, var(--bc-accent, #5b4bd1)); }
.bc-hello-av { flex: 0 0 auto; line-height: 0; border-radius: 50%; }
.bc-hello-av img, .bc-hello-av .bc-av { width: 56px !important; height: 56px !important; margin: 0 !important; border-radius: 50% !important; object-fit: cover; }
.bc-hello-av .bc-av { font-size: 20px !important; }
.bc-hello-main { flex: 1 1 260px; min-width: 0; }
.bc-hello-state { white-space: nowrap; }
.bc-hello-title { color: var(--bc-ink, #0b0b10); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.bc-hello-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 5px; color: var(--bc-muted, #6b6b76); font-size: 12.5px; }
.bc-hello-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  font-variant-numeric: tabular-nums;
}
.bc-hello-state.is-ok { background: rgba(22, 163, 74, 0.1); color: #15803d !important; }
.bc-hello-state.is-wait { background: rgba(245, 158, 11, 0.12); color: #a16207 !important; }
.bc-hello-state.is-bad { background: rgba(225, 29, 72, 0.1); color: #be123c !important; }
.bc-hello-views { color: var(--bc-faint, #9a9aa5); font-size: 12px; }
.bc-hello-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
/* When the buttons don't fit beside the name, they move to their own row instead of squeezing it */
.bc-hello { flex-wrap: wrap; }
.bc-hello-buy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5b301, #e67e22);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 6px 16px -8px rgba(230, 126, 34, 0.7);
  transition: transform 0.15s var(--bc-ease, ease), filter 0.15s var(--bc-ease, ease);
}
.bc-hello-buy:hover { transform: translateY(-1px); filter: brightness(1.05); }
.bc-hello-buy { white-space: nowrap; flex-shrink: 0; }
/* Donate: quiet next to the order buttons, never louder than them */
.bc-hello-buy.bc-hello-donate { background: var(--bc-surface, #fff); color: var(--bc-ink-2, #333) !important; box-shadow: inset 0 0 0 1px var(--bc-line-strong, #dcdce3); }
.bc-hello-buy.bc-hello-donate i { color: #e11d48; }
.bc-hello-open {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--bc-ink, #0b0b10);
  color: var(--bc-on-ink) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.15s var(--bc-ease, ease);
}
.bc-hello-open:hover { transform: translateY(-1px); }
.bc-hello-open i { font-size: 11px; }
@media (max-width: 767.98px) {
  .bc-hello { margin: 0 0 24px; padding: 12px 14px 12px 14px; gap: 12px; }
  .bc-hello { flex-wrap: wrap; }
  .bc-hello-open { display: none; }
  .bc-hello-actions { width: 100%; }
  .bc-hello-actions:not(:has(.bc-hello-buy)) { display: none; }
  .bc-hello-buy { flex: 1 1 auto; justify-content: center; }
  .bc-hello-buy.bc-hello-donate { flex: 0 0 auto; }
  .bc-hello-views { display: none; }
  .bc-hello-title { font-size: 16.5px; }
}

/* ---------- Online now strip ---------- */
.bc-online-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.bc-online-item {
  flex: 0 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--bc-ink-2, #3a3a44) !important;
  text-decoration: none !important;
}
.bc-online-av { position: relative; line-height: 0; transition: transform 0.15s var(--bc-ease, ease); }
.bc-online-item:hover .bc-online-av { transform: translateY(-2px); }
.bc-online-av img, .bc-online-av .bc-av { width: 56px !important; height: 56px !important; margin: 0 !important; border-radius: 50% !important; object-fit: cover; }
.bc-online-av .bc-av { font-size: 19px !important; }
.bc-online-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px var(--bc-surface, #fff);
}
.bc-online-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 550; }

/* ---------- ID card & certificates ---------- */
.bc-merch-lead { margin: 0 0 8px; color: var(--bc-muted, #6b6b76); font-size: 13px; line-height: 1.5; }
.bc-merch-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.bc-merch-lock {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.1);
  color: #92400e !important;
  font-size: 12.5px;
  text-decoration: none !important;
}
.bc-merch-lock > i:first-child { font-size: 15px; color: #d97706; }
.bc-merch-lock > span { flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; }
.bc-merch-lock b { color: #78350f; font-size: 13px; }
.bc-merch-lock > i:last-child { font-size: 11px; opacity: 0.6; }
.bc-merch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.bc-merch-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: inherit !important;
  text-decoration: none !important;
}
.bc-merch-img { display: block; overflow: hidden; border-radius: 12px; line-height: 0; box-shadow: 0 0 0 1px var(--bc-line, rgba(15, 15, 25, 0.07)); }
.bc-merch-img img { width: 100%; height: auto; object-fit: cover; transition: transform 0.3s var(--bc-ease, ease); }
a.bc-merch-item:hover .bc-merch-img img { transform: scale(1.04); }
.bc-merch-item.is-locked .bc-merch-img img { filter: grayscale(0.6); opacity: 0.7; }
.bc-merch-title { color: var(--bc-ink, #0b0b10); font-size: 13px; font-weight: 600; }
.bc-merch-title { font-size: 14px; }
.bc-merch-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  margin-top: 2px;
  border-radius: 12px;
  background: var(--bc-ink, #0b0b10);
  color: var(--bc-on-ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.15s var(--bc-ease, ease), box-shadow 0.15s var(--bc-ease, ease);
}
a.bc-merch-item:hover .bc-merch-cta { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(16, 16, 30, 0.5); }
.bc-merch-item.is-locked .bc-merch-cta { background: var(--bc-surface-2, #f6f6f8); color: var(--bc-faint, #9a9aa5); }

/* ---------- Profiles per belt ---------- */
.bc-bc-list { display: flex; flex-direction: column; }
.bc-bc-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
}
.bc-bc-row + .bc-bc-row { box-shadow: 0 -1px 0 0 var(--bc-line, rgba(15, 15, 25, 0.07)); }
/* Each row opens the search for that belt */
a.bc-bc-row { color: inherit !important; text-decoration: none !important; border-radius: 8px; transition: background-color 0.15s ease; }
a.bc-bc-row:hover { background-color: var(--bc-surface-2, rgba(15, 15, 25, 0.03)); }
a.bc-bc-row:hover .bc-bc-name { color: var(--bc-accent); }
/* Mini belt with its rank bar and degree stripes (same recipe as the forum belt chip) */
.bc-bc-belt { line-height: 0; }
.bc-bc-belt > div {
  width: 54px !important;
  height: 11px !important;
  padding: 0 7px 0 0 !important;
  margin: 0 !important;
  border-radius: 2px !important;
  box-shadow: inset 0 0 0 1px rgba(15, 15, 25, 0.14) !important;
  overflow: hidden;
  font-size: 0 !important;
}
.bc-bc-belt > div > div {
  width: auto !important;
  min-width: 10px !important;
  height: 100% !important;
  padding: 0 1px 0 2px !important;
  gap: 1.5px;
  justify-content: center !important;
}
.bc-bc-belt img { display: block !important; width: 2px !important; height: 100% !important; margin: 0 !important; }
.bc-bc-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bc-bc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bc-ink-2, #3a3a44); font-size: 12.5px; font-weight: 550; }
.bc-bc-bar { display: block; height: 4px; border-radius: 999px; background: var(--bc-surface-3, #eeeef2); overflow: hidden; }
.bc-bc-bar > span { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: var(--c, var(--bc-accent, #5b4bd1)); opacity: 0.85; }
.bc-bc-num { color: var(--bc-ink, #0b0b10); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------- Alert banners above the page: compact ---------- */
body:has(.bc-index) .bc-alert,
body:has(.bc-index) .alert { margin-bottom: 10px !important; }

/* ---------- Profile switch (admins): quiet link at the bottom ---------- */
.bc-switch { margin: 4px 0 8px; text-align: center; }
.bc-switch a { display: inline-flex; align-items: center; gap: 7px; color: var(--bc-faint, #9a9aa5) !important; font-size: 12.5px; text-decoration: none !important; }
.bc-switch a:hover { color: var(--bc-accent, #5b4bd1) !important; }

/* ---------- Spotlight: swipeable photo cards ---------- */
.bc-spot-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bc-spot-head > :first-child { margin-bottom: 0 !important; }
.bc-spot-nav { display: flex; gap: 6px; }
.bc-spot-nav button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--bc-surface-2, #f6f6f8);
  color: var(--bc-ink-2, #3a3a44);
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.15s var(--bc-ease, ease);
}
.bc-spot-nav button:hover { background: var(--bc-surface-3, #eeeef2); }
.bc-spot-strip {
  display: flex;
  gap: 12px;
  margin: 14px -4px 0;
  padding: 0 4px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bc-spot-strip::-webkit-scrollbar { display: none; }
.bc-spot {
  position: relative;
  flex: 0 0 min(260px, 82%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  scroll-snap-align: start;
  background: linear-gradient(160deg, color-mix(in srgb, var(--belt, #5b4bd1) 70%, #1b1030), #120d1f);
  color: #fff !important;
  text-decoration: none !important;
  isolation: isolate;
  box-shadow: 0 10px 24px -14px rgba(16, 16, 30, 0.6);
}
.bc-spot-img { position: absolute; inset: 0; z-index: -1; display: block; line-height: 0; }
.bc-spot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--bc-ease, ease); }
.bc-spot:hover .bc-spot-img img { transform: scale(1.05); }
/* No photo: the initials avatar sits big in the middle of the belt-coloured card */
.bc-spot-img.is-empty { display: grid; place-items: center; padding-bottom: 30%; }
.bc-spot-img.is-empty img, .bc-spot-img.is-empty .bc-av { width: 96px !important; height: 96px !important; margin: 0 !important; border-radius: 50% !important; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18) !important; }
.bc-spot-img.is-empty .bc-av { font-size: 34px !important; }
/* Legibility: dark fade at the bottom where the text sits */
.bc-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 8, 20, 0) 40%, rgba(10, 8, 20, 0.55) 68%, rgba(10, 8, 20, 0.9) 100%);
}
.bc-spot-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--bc-ink, #0b0b10);
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-spot-tag i { font-size: 11px; }
.bc-spot.tone-pink .bc-spot-tag i { color: #db2777; }
.bc-spot.tone-gold .bc-spot-tag i { color: #d97706; }
.bc-spot.tone-green .bc-spot-tag i { color: #15803d; }
.bc-spot.tone-blue .bc-spot-tag i { color: #2563eb; }
.bc-spot.tone-accent .bc-spot-tag i { color: var(--bc-accent, #5b4bd1); }
.bc-spot-info { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 5px; }
.bc-spot-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); overflow-wrap: anywhere; }
.bc-spot-belt { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 550; color: rgba(255, 255, 255, 0.92); }
.bc-spot-beltdraw { line-height: 0; }
.bc-spot-beltdraw > div { width: 52px !important; height: 10px !important; padding: 0 7px 0 0 !important; margin: 0 !important; border-radius: 2px !important; overflow: hidden; font-size: 0 !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) !important; }
.bc-spot-beltdraw > div > div { width: auto !important; min-width: 9px !important; height: 100% !important; padding: 0 1px 0 2px !important; gap: 1.5px; justify-content: center !important; }
.bc-spot-beltdraw img { display: block !important; width: 2px !important; height: 100% !important; margin: 0 !important; }
.bc-spot-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.75); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .bc-spot-img img { transition: none; } }

/* Photo cards: a bit narrower so the wide middle column shows two and a half */
.bc-spot { flex-basis: min(230px, 80%); }
/* Initials sit behind the photo; they show when there is no photo or it fails to load */
.bc-spot-img { display: grid; place-items: center; }
.bc-spot-img > img { position: absolute; inset: 0; }
.bc-spot-initials {
  margin-bottom: 30%;
  color: rgba(255, 255, 255, 0.92);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

/* ---------- Leaderboard podium ---------- */
.bc-podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: end;
  gap: 8px;
  margin: 12px 0 6px;
}
.bc-podium-spot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: inherit !important;
  text-decoration: none !important;
  text-align: center;
}
.bc-podium-av { position: relative; line-height: 0; margin-bottom: 4px; transition: transform 0.2s var(--bc-ease, ease); }
.bc-podium-spot:hover .bc-podium-av { transform: translateY(-3px); }
.bc-podium-av img, .bc-podium-av .bc-av { width: 58px !important; height: 58px !important; margin: 0 !important; border-radius: 50% !important; object-fit: cover; }
.bc-podium-spot.is-1 .bc-podium-av img, .bc-podium-spot.is-1 .bc-podium-av .bc-av { width: 74px !important; height: 74px !important; }
.bc-podium-av .bc-av { font-size: 20px !important; }
.bc-podium-av > b {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #c0c4cc;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--bc-surface, #fff);
}
.bc-podium-spot.is-1 .bc-podium-av > b { background: linear-gradient(135deg, #f5c518, #e39b0b); }
.bc-podium-spot.is-3 .bc-podium-av > b { background: linear-gradient(135deg, #d48a4f, #a9602d); }
.bc-podium-name {
  max-width: 100%;
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--bc-ink, #0b0b10);
  font-size: 12.5px;
  font-weight: 650;
}
.bc-podium-val { color: var(--bc-ink-2, #3a3a44); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bc-podium-val small { color: var(--bc-muted, #6b6b76); font-size: 10.5px; font-weight: 500; }
.bc-podium-block {
  width: 100%;
  margin-top: 6px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--bc-surface-3, #eeeef2), var(--bc-surface-2, #f6f6f8));
}
.bc-podium-spot.is-1 .bc-podium-block { height: 46px; background: linear-gradient(180deg, rgba(245, 197, 24, 0.28), rgba(245, 197, 24, 0.06)); }
.bc-podium-spot.is-2 .bc-podium-block { height: 30px; }
.bc-podium-spot.is-3 .bc-podium-block { height: 20px; background: linear-gradient(180deg, rgba(212, 138, 79, 0.22), rgba(212, 138, 79, 0.05)); }
.bc-podium-rest { margin-top: 6px; }

/* ---------- Mobile order ----------
   Phones get one column ordered by what matters there (the --m on each slot in index.php):
   your progress, who's online, the forum, fresh promotions, people who need votes, spotlight,
   ID card & certificates, the ruleset vote … and the reference cards last. */
.bc-slot:empty { display: none; }
@media (max-width: 767.98px) {
  .bc-index > .row { display: flex; flex-direction: column; flex-wrap: nowrap; }
  .bc-index > .row > [class*="col-"] { display: contents; }
  .bc-index .bc-slot { order: var(--m, 500); width: 100%; max-width: 100%; min-width: 0; }
}

/* Light photo cards (promotions, needs votes): photo on top, white panel below, so they sit
   calmly next to the dark Spotlight */
.bc-spot-card--light .bc-spot {
  flex-basis: min(190px, 62%);
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  background: var(--bc-surface, #fff);
  color: var(--bc-ink, #0b0b10) !important;
  box-shadow: 0 0 0 1px var(--bc-line, rgba(15, 15, 25, 0.07));
  transition: transform 0.2s var(--bc-ease, ease), box-shadow 0.2s var(--bc-ease, ease);
}
.bc-spot-card--light .bc-spot:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--bc-line-strong, rgba(15, 15, 25, 0.12)), var(--bc-shadow-2); }
.bc-spot-card--light .bc-spot::after { display: none; }
.bc-spot-card--light .bc-spot-img {
  position: relative;
  inset: auto;
  z-index: 0;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--belt, #5b4bd1) 55%, var(--bc-surface)), color-mix(in srgb, var(--belt, #5b4bd1) 85%, #1b1030));
}
.bc-spot-card--light .bc-spot-initials { margin: 0; font-size: 44px; }
.bc-spot-card--light .bc-spot-tag { top: 10px; left: 10px; height: 24px; font-size: 11px; box-shadow: 0 1px 3px rgba(16, 16, 30, 0.12); }
.bc-spot-card--light .bc-spot-info { position: static; padding: 10px 12px 12px; gap: 4px; }
.bc-spot-card--light .bc-spot-name { font-size: 14.5px; text-shadow: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-spot-card--light .bc-spot-belt { color: var(--bc-muted, #6b6b76); font-size: 11.5px; }
.bc-spot-card--light .bc-spot-beltdraw > div { box-shadow: inset 0 0 0 1px rgba(15, 15, 25, 0.14) !important; }
.bc-spot-card--light .bc-spot-sub { color: var(--bc-faint, #9a9aa5); font-size: 11.5px; }

/* ---------- Face walls: the people grids as rounded photo tiles instead of circles.
   Shared class .bc-facewall (full pages, styles/stats.css) uses the same tile look. ---------- */
.bc-index .bc-tiles > .row, .bc-facewall > .row { margin: 0 -4px !important; padding: 6px 0 0 !important; }
.bc-index .bc-tiles > .row > [class*="col-"], .bc-facewall > .row > [class*="col-"] { padding: 0 4px !important; margin-bottom: 12px !important; }
.bc-index .bc-tiles > .row > [class*="col-"] > div:first-child, .bc-facewall > .row > [class*="col-"] > div:first-child { margin-bottom: 6px !important; }
.bc-index .bc-tiles > .row > [class*="col-"] > div:first-child > div, .bc-facewall > .row > [class*="col-"] > div:first-child > div { display: block !important; width: 100%; }
.bc-index .bc-tiles img.rounded-circle,
.bc-facewall img.rounded-circle,
.bc-index .bc-tiles .bc-av, .bc-facewall .bc-av {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  border: 0 !important;
  border-radius: 16px !important;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--bc-line, rgba(15, 15, 25, 0.07)) !important;
  transition: transform 0.2s var(--bc-ease, ease), box-shadow 0.2s var(--bc-ease, ease);
}
.bc-index .bc-tiles .bc-av, .bc-facewall .bc-av { display: grid !important; place-items: center; font-size: 26px !important; }
.bc-index .bc-tiles .bc-av[hidden], .bc-facewall .bc-av[hidden] { display: none !important; }
.bc-index .bc-tiles > .row > [class*="col-"]:hover img.rounded-circle,
.bc-facewall > .row > [class*="col-"]:hover img.rounded-circle,
.bc-index .bc-tiles > .row > [class*="col-"]:hover .bc-av, .bc-facewall > .row > [class*="col-"]:hover .bc-av { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--bc-line-strong, rgba(15, 15, 25, 0.12)), var(--bc-shadow-2) !important; }
.bc-index .bc-tiles .cutofftext, .bc-facewall .cutofftext { color: var(--bc-ink, #0b0b10); font-size: 12.5px; font-weight: 600; opacity: 1 !important; }
.bc-index .bc-tiles .font-10, .bc-facewall .font-10 { font-size: 10.5px !important; }
@media (max-width: 767.98px) {
  .bc-index .bc-tiles > .row {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bc-index .bc-tiles > .row::-webkit-scrollbar { display: none; }
  .bc-index .bc-tiles > .row > [class*="col-"] { flex: 0 0 96px !important; max-width: 96px !important; scroll-snap-align: start; }
}

/* ---------- Recent votes: a feed of vouches ---------- */
.bc-vouches { display: flex; flex-direction: column; }
.bc-vouch { display: flex; gap: 14px; padding: 14px 4px; }
.bc-vouch + .bc-vouch { box-shadow: 0 -1px 0 0 var(--bc-line, rgba(15, 15, 25, 0.07)); }
.bc-vouch-pics { position: relative; flex: 0 0 auto; width: 64px; height: 64px; line-height: 0; }
.bc-vouch-member img, .bc-vouch-member .bc-av { width: 56px !important; height: 56px !important; margin: 0 !important; border: 0 !important; border-radius: 16px !important; object-fit: cover; }
.bc-vouch-member .bc-av { font-size: 20px !important; }
.bc-vouch-voter { position: absolute; right: 0; bottom: 0; }
.bc-vouch-voter img, .bc-vouch-voter .bc-av { width: 28px !important; height: 28px !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; box-shadow: 0 0 0 3px var(--bc-surface, #fff) !important; object-fit: cover; }
.bc-vouch-voter .bc-av { font-size: 10px !important; }
.bc-vouch-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.bc-vouch-text { color: var(--bc-ink-2, #3a3a44); font-size: 14px; line-height: 1.4; }
.bc-vouch-text a { color: var(--bc-ink, #0b0b10) !important; font-weight: 650; text-decoration: none !important; }
.bc-vouch-text a:hover { color: var(--bc-accent, #5b4bd1) !important; }
.bc-vouch-belt { display: inline-flex; align-items: center; gap: 8px; color: var(--bc-muted, #6b6b76); font-size: 12px; }
.bc-vouch-belt .bc-spot-beltdraw > div { box-shadow: inset 0 0 0 1px rgba(15, 15, 25, 0.14) !important; }
.bc-vouch-quote {
  position: relative;
  align-self: flex-start;
  max-width: 100%;
  margin-top: 2px;
  padding: 8px 12px;
  border-radius: 4px 14px 14px 14px;
  background: var(--bc-surface-2, #f6f6f8);
  color: var(--bc-ink-2, #3a3a44);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.bc-vouch-meta { display: flex; align-items: center; gap: 10px; color: var(--bc-faint, #9a9aa5); font-size: 11.5px; }
.bc-vouch-pts {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.bc-vouch.is-ok .bc-vouch-pts { background: rgba(22, 163, 74, 0.1); color: #15803d; }
.bc-vouch.is-bad .bc-vouch-pts { background: rgba(225, 29, 72, 0.1); color: #be123c; }
.bc-vouch-pts i { font-size: 10px; }

/* ---------- Recently verified: bento mosaic ---------- */
.bc-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 8px;
  margin-top: 12px;
}
.bc-bento-tile {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--belt, #5b4bd1) 55%, var(--bc-surface)), color-mix(in srgb, var(--belt, #5b4bd1) 85%, #1b1030));
  color: #fff !important;
  text-decoration: none !important;
  isolation: isolate;
}
.bc-bento-tile.is-big { grid-column: span 2; grid-row: span 2; border-radius: 18px; }
.bc-bento-tile > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--bc-ease, ease); }
.bc-bento-tile:hover > img { transform: scale(1.06); }
.bc-bento-initials { position: absolute; z-index: -2; font-size: 20px; font-weight: 700; color: rgba(255, 255, 255, 0.92); }
.bc-bento-tile.is-big .bc-bento-initials { font-size: 44px; margin-bottom: 18%; }
.bc-bento-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 8, 20, 0) 45%, rgba(10, 8, 20, 0.75) 100%); }
.bc-bento-check {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 9.5px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}
.bc-bento-tile.is-big .bc-bento-check { top: 12px; right: 12px; width: 28px; height: 28px; font-size: 13px; }
.bc-bento-info { position: absolute; left: 8px; right: 8px; bottom: 7px; display: flex; flex-direction: column; gap: 2px; }
.bc-bento-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 650; }
.bc-bento-tile.is-big .bc-bento-info { left: 14px; right: 14px; bottom: 12px; }
.bc-bento-tile.is-big .bc-bento-info b { font-size: 17px; font-weight: 700; }
.bc-bento-info span { color: rgba(255, 255, 255, 0.8); font-size: 12px; }
@media (max-width: 767.98px) {
  .bc-bento { gap: 6px; }
  .bc-bento-info b { font-size: 10px; }
}
.bc-spot-card--light .bc-spot-belt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bc-spot-card--light .bc-spot-beltdraw { flex: 0 0 auto; }

/* Schedule nudge for academy admins (index_card_schedulenudge.php) */
.bc-schednudge-in { display: flex; gap: 14px; align-items: flex-start; }
.bc-schednudge-icon { flex: 0 0 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(13, 148, 136, 0.12); color: #0d9488; font-size: 17px; }
.bc-schednudge-in h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.bc-schednudge-in p { margin: 0; font-size: 13px; line-height: 1.5; }
.bc-schednudge-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.bc-schednudge-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #0d9488; color: #fff !important; font-size: 13px; font-weight: 650; text-decoration: none !important; }
.bc-schednudge-link { font-size: 13px; font-weight: 600; color: var(--bc-accent) !important; text-decoration: none; }
