/* Chase the Case — live briefcase board (ported from design preview) */
@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

.briefcase-board-section {
  --bc-gold: var(--chasethecase-accent, #ffd700);
  --bc-gold-soft: var(--chasethecase-gold-soft, #ffe566);
  --bc-purple: var(--chasethecase-purple, #7c3aed);
  --bc-purple-deep: var(--chasethecase-purple-deep, #3d004d);
  --bc-magenta: var(--chasethecase-magenta, #a21caf);
  --bc-muted: rgba(255, 247, 214, 0.72);
  --bc-accent: var(--chasethecase-purple, #7c3aed);
  --bc-text: var(--chasethecase-title-on-dark, #fff7d6);
  --bc-surface: rgba(61, 0, 77, 0.38);
  --bc-surface-strong: rgba(45, 8, 68, 0.62);
  --bc-border: rgba(255, 215, 0, 0.18);
  --bc-border-strong: rgba(255, 215, 0, 0.28);
  --bc-highlight: var(--chasethecase-magenta, #a21caf);
  --bc-live: var(--chasethecase-cyan, #22d3ee);
  --gold: var(--bc-gold);
  --gold-soft: var(--bc-gold-soft);
  --muted: var(--bc-muted);
  --accent: var(--bc-accent);
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
  color: var(--bc-text);
}

.briefcase-board-section .bc-board-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bc-gold);
  font-weight: 700;
}

.briefcase-board-section .bc-board-head { text-align: center; margin-bottom: 1rem; }

.briefcase-board-section .bc-board-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  letter-spacing: 0.03em;
  color: var(--bc-gold-soft);
  line-height: 1;
  margin: 0.35rem 0;
}

.briefcase-board-section .bc-board-sub {
  color: var(--bc-muted);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0;
}

.briefcase-board-section .bc-board-sub strong { color: var(--bc-gold-soft); }

.briefcase-board-section .bc-live-strip,
.briefcase-board-section .live-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.briefcase-board-section .bc-live-dot,
.briefcase-board-section .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bc-live);
  box-shadow: 0 0 8px var(--bc-live);
  animation: bc-live-pulse 1.4s ease-in-out infinite;
}

.briefcase-board-section .bc-live-strip em,
.briefcase-board-section .live-strip em {
  font-style: normal;
  color: var(--bc-gold-soft);
  font-weight: 800;
}

.briefcase-board-empty-crew,
.briefcase-board-section .briefcase-board-loading {
  color: var(--bc-muted);
  text-align: center;
  padding: 2rem 1rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .briefcase-board-section * {
    animation: none !important;
  }
}

@keyframes bc-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.briefcase-board-section .crew-zone {
      position: relative;
      margin-bottom: 1.75rem;
      padding-bottom: 1.25rem;
    }
.briefcase-board-section .crew-zone-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.65rem;
      padding: 0 0.25rem;
    }
.briefcase-board-section .crew-zone-label {
      font-family: 'Bangers', cursive;
      font-size: 1.1rem;
      color: var(--gold);
      letter-spacing: 0.05em;
    }
.briefcase-board-section .crew-zone-count {
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--muted);
    }
.briefcase-board-section .crew-scroll-hint { display: none; }
.briefcase-board-section .crew-lineup-wrap {
      position: relative;
      margin: 0;
      background: var(--bc-surface);
      border: 1px solid var(--bc-border);
      border-radius: 18px;
      padding: 1.25rem 1rem 1.1rem;
    }
.briefcase-board-section .crew-lineup-wrap::before, .briefcase-board-section .crew-lineup-wrap::after { display: none; }
.briefcase-board-section .crew-lineup {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      overflow: visible;
      padding: 0;
      min-height: 0;
    }
.briefcase-board-section .crew-flat, .briefcase-board-section .crew-podium-row, .briefcase-board-section .crew-row {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      gap: clamp(0.5rem, 2vw, 1.25rem);
      flex-wrap: wrap;
    }
.briefcase-board-section .layout-grid .crew-flat {
      display: flex;
      flex-direction: column;
      gap: clamp(0.5rem, 1.5vw, 0.85rem);
      width: 100%;
    }
.briefcase-board-section .layout-4 .crew-flat {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.85rem;
      align-items: stretch;
      max-width: 820px;
      margin: 0 auto;
    }
.briefcase-board-section .layout-grid .crew-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.85rem;
      width: 100%;
      max-width: 820px;
      margin-left: auto;
      margin-right: auto;
      align-items: stretch;
    }
.briefcase-board-section .layout-1 .crew-flat {
      padding: 0.5rem 0 0.25rem;
    }
.briefcase-board-section .layout-1 .player-card--podium {
      max-width: 220px;
      margin: 0 auto;
    }
.briefcase-board-section .layout-1 .player-card--podium .player-figure,
.briefcase-board-section .layout-1 .player-card--podium.is-leader .player-figure {
      width: 120px;
    }

@media (min-width: 641px) {
  .briefcase-board-section .layout-2 .crew-podium-row--duo,
  .briefcase-board-section .layout-3 .crew-podium-row {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .briefcase-board-section .layout-4 .player-card--grid,
  .briefcase-board-section .layout-grid .player-card--grid {
    padding: 0.75rem 0.6rem;
  }

  .briefcase-board-section .layout-4 .player-card--grid .player-figure,
  .briefcase-board-section .layout-grid .player-card--grid .player-figure {
    width: 80px;
  }
}

    @media (max-width: 640px) {
      .briefcase-board-section .layout-grid .crew-row,
      .briefcase-board-section .layout-4 .crew-flat {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
      }

      .briefcase-board-section .layout-2 .crew-podium-row--duo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
        max-width: 100%;
      }

      .briefcase-board-section .layout-2 .player-card--podium {
        max-width: none;
      }

      .briefcase-board-section .layout-2 .player-card--podium .player-figure,
      .briefcase-board-section .layout-2 .player-card--podium.is-leader .player-figure {
        width: 74px;
      }

      .briefcase-board-section .layout-3 .crew-podium-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.55rem;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
      }

      .briefcase-board-section .layout-3 .crew-podium-row .player-card.is-leader {
        order: -1;
        flex: 0 0 100%;
        max-width: 168px;
      }

      .briefcase-board-section .layout-3 .crew-podium-row .player-card:not(.is-leader) {
        flex: 1 1 calc(50% - 0.55rem);
        max-width: calc(50% - 0.3rem);
      }

      .briefcase-board-section .layout-1 .player-card--podium {
        max-width: 180px;
      }

      .briefcase-board-section .layout-1 .player-card--podium .player-figure,
      .briefcase-board-section .layout-1 .player-card--podium.is-leader .player-figure {
        width: 100px;
      }
    }
.briefcase-board-section .crew-podium {
      text-align: center;
      padding: 1.25rem 0.75rem 1.75rem;
      margin-bottom: 0.25rem;
      border-radius: 16px;
      background:
        radial-gradient(ellipse 90% 80% at 50% 100%, rgba(255, 215, 0, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 58, 237, 0.22) 0%, transparent 60%);
      border: 1px solid var(--bc-border);
    }
.briefcase-board-section .crew-podium-label {
      font-family: 'Bangers', cursive;
      font-size: 1.25rem;
      letter-spacing: 0.1em;
      color: var(--gold);
      margin-bottom: 1rem;
    }
.briefcase-board-section .crew-podium-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr);
      gap: clamp(1rem, 3vw, 2rem);
      max-width: 720px;
      margin: 0 auto;
      align-items: start;
    }
.briefcase-board-section .crew-podium-row--duo {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 560px;
      align-items: end;
    }
.briefcase-board-section .crew-podium-row--duo .player-card--podium .player-figure,
.briefcase-board-section .crew-podium-row--duo .player-card--podium.is-leader .player-figure {
      width: 100px;
    }
.briefcase-board-section .crew-podium-row--duo .player-card--podium .case-count-label,
.briefcase-board-section .crew-podium-row--duo .player-card--podium.is-leader .case-count-label {
      font-size: 1.35rem;
    }
.briefcase-board-section .crew-podium-row--duo .player-card--podium.is-leader .player-nameplate {
      border-bottom-color: var(--accent);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    }
.briefcase-board-section .crew-podium-row .player-card:nth-child(1) { order: 2; }
.briefcase-board-section .crew-podium-row .player-card:nth-child(2) { order: 1; }
.briefcase-board-section .crew-podium-row .player-card:nth-child(3) { order: 3; }
.briefcase-board-section .crew-podium-row--duo .player-card:nth-child(1) { order: 2; }
.briefcase-board-section .crew-podium-row--duo .player-card:nth-child(2) { order: 1; }
.briefcase-board-section .layout-tiered .crew-rest {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      padding-top: 1rem;
      border-top: 1px solid var(--bc-border);
      width: 100%;
    }
.briefcase-board-section .crew-rest-label {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      text-align: center;
      margin-bottom: 0.25rem;
    }
.briefcase-board-section .layout-tiered .crew-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: clamp(0.5rem, 1.5vw, 0.85rem);
      width: 100%;
      align-items: stretch;
    }
.briefcase-board-section .layout-tiered .crew-row--count-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: 75%;
      margin-left: auto;
      margin-right: auto;
    }
.briefcase-board-section .layout-tiered .crew-row--count-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 50%;
      margin-left: auto;
      margin-right: auto;
    }
.briefcase-board-section .layout-tiered .crew-row--count-1 {
      grid-template-columns: minmax(0, 1fr);
      max-width: 28%;
      margin-left: auto;
      margin-right: auto;
    }


    @media (max-width: 520px) {
      .briefcase-board-section .layout-tiered .crew-row,
      .briefcase-board-section .layout-tiered .crew-row--count-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
      }
      .briefcase-board-section .layout-tiered .crew-row--count-3 .player-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
      }
      .briefcase-board-section .layout-tiered .crew-row--count-1 {
        max-width: 55%;
      }
    }
.briefcase-board-section .player-card--podium {
      width: 100%;
      max-width: 220px;
      margin: 0 auto;
    }
.briefcase-board-section .player-card--podium .leader-crown {
      font-size: 2rem;
      min-height: 2rem;
      margin-bottom: 0.35rem;
    }
.briefcase-board-section .player-card--podium .player-nameplate {
      padding: 0.55rem 0.85rem;
      margin-top: 0.55rem;
      margin-bottom: 0;
      border: none;
      border-radius: 12px;
      background: linear-gradient(180deg, var(--bc-surface-strong) 0%, rgba(24, 8, 36, 0.88) 100%);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
      border-bottom: 3px solid var(--accent);
    }
.briefcase-board-section .player-card--podium.is-leader .player-nameplate {
      border-bottom-color: var(--gold);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 215, 0, 0.15);
    }
.briefcase-board-section .player-card--podium .player-nameplate .name {
      font-size: 1.05rem;
    }
.briefcase-board-section .player-card--podium .player-nameplate .tag {
      display: none;
    }
.briefcase-board-section .player-card--podium .player-figure {
      width: 100px;
    }
.briefcase-board-section .player-card--podium.is-leader .player-figure {
      width: 120px;
    }
.briefcase-board-section .player-card--grid .player-figure {
      width: clamp(68px, 76%, 88px);
      height: auto;
      aspect-ratio: 1 / 1.12;
    }
.briefcase-board-section .player-card--podium .case-count-label {
      font-size: 1.35rem;
    }
.briefcase-board-section .player-card--podium.is-leader .case-count-label {
      font-size: 1.55rem;
    }
.briefcase-board-section .player-card--grid {
      width: 100%;
      max-width: none;
      padding: 0;
      border-radius: 0;
      background: transparent;
      border: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }
.briefcase-board-section .player-card--grid:hover {
      background: transparent;
    }
.briefcase-board-section .player-card--grid .player-nameplate {
      display: block;
      padding: 0.42rem 0.55rem;
      margin-top: 0.45rem;
      margin-bottom: 0;
      border: none;
      border-radius: 12px;
      background: linear-gradient(180deg, var(--bc-surface-strong) 0%, rgba(24, 8, 36, 0.88) 100%);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
      border-bottom: 3px solid var(--accent);
      width: 100%;
    }
.briefcase-board-section .player-card--grid.is-leader .player-nameplate {
      border: none;
      border-bottom: 3px solid var(--accent);
      background: linear-gradient(180deg, var(--bc-surface-strong) 0%, rgba(24, 8, 36, 0.88) 100%);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    }
.briefcase-board-section .player-card--grid .player-nameplate .name {
      font-size: clamp(0.76rem, 1.4vw, 0.9rem);
      font-weight: 800;
      max-width: 100%;
    }
.briefcase-board-section .player-card--grid .rank-badge {
      position: absolute;
      top: 0.45rem;
      right: 0.45rem;
      flex-shrink: 0;
      width: clamp(20px, 2.5vw, 26px);
      height: clamp(20px, 2.5vw, 26px);
      border-radius: 6px;
      background: var(--accent);
      color: #fff;
      font-size: clamp(0.62rem, 1.1vw, 0.72rem);
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      z-index: 2;
    }
.briefcase-board-section .player-card--grid .player-nameplate .tag {
      display: none;
    }
.briefcase-board-section .player-card--grid .leader-crown {
      display: none;
    }
.briefcase-board-section .player-card--grid .player-meta {
      display: block;
      margin-top: 0.35rem;
      padding-top: 0;
      border-top: none;
      width: 100%;
      text-align: center;
    }
.briefcase-board-section .player-card--grid .case-count-label {
      font-family: 'Bangers', cursive;
      font-size: clamp(0.95rem, 1.8vw, 1.2rem);
      line-height: 1.15;
      color: var(--gold-soft);
      margin: 0;
    }
.briefcase-board-section .crew-flat .player-card {
      width: 100%;
      max-width: 180px;
      margin: 0 auto;
    }
.briefcase-board-section .player-card {
      --accent: var(--bc-accent);
      --anim-delay: 0s;
      text-align: center;
      position: relative;
    }
.briefcase-board-section .player-card.is-entering {
      animation: card-enter 0.5s ease backwards;
      animation-delay: var(--anim-delay);
    }
@keyframes card-enter{
      from { opacity: 0; transform: translateY(20px) scale(0.92); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
.briefcase-board-section .leader-crown {
      font-size: 1.35rem;
      line-height: 1;
      min-height: 1.35rem;
      margin-bottom: 0.2rem;
      animation: crown-float 2s ease-in-out infinite;
      animation-delay: var(--anim-delay);
    }
@keyframes crown-float{
      0%, 100% { transform: translateY(0) rotate(-8deg) scale(1); }
      50% { transform: translateY(-6px) rotate(4deg) scale(1.08); }
    }
.briefcase-board-section .player-nameplate {
      display: block;
      padding: 0.35rem 0.5rem;
      margin-top: 0.45rem;
      margin-bottom: 0;
      border-radius: 8px;
      border: 2px solid var(--accent);
      background: var(--bc-surface-strong);
      overflow: hidden;
    }
.briefcase-board-section .player-nameplate .name {
      display: block;
      font-weight: 800;
      font-size: 0.82rem;
      line-height: 1.15;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: var(--bc-text);
    }
.briefcase-board-section .player-nameplate .tag {
      display: block;
      font-size: 0.62rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--accent);
      margin-top: 0.05rem;
    }
.briefcase-board-section .player-card.is-leader .player-nameplate .tag { color: var(--gold); }
.briefcase-board-section .player-figure {
      position: relative;
      margin: 0 auto;
      width: 88px;
      aspect-ratio: 1 / 1.12;
    }
.briefcase-board-section .player-card.is-leader .player-figure {
      width: 96px;
    }
.briefcase-board-section .player-figure-inner {
      width: 100%;
      transform-origin: center bottom;
      animation: char-idle 2.2s ease-in-out infinite;
      animation-delay: var(--anim-delay);
      will-change: transform;
    }
@keyframes char-idle{
      0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
      30% { transform: translateY(-10px) rotate(-2deg) scale(1.02); }
      60% { transform: translateY(-4px) rotate(2deg) scale(1.01); }
    }
.briefcase-board-section .player-card.just-won .player-figure-inner {
      animation: char-celebrate 0.85s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
    }
@keyframes char-celebrate{
      0% { transform: translateY(0) scale(1); }
      25% { transform: translateY(-22px) scale(1.08) rotate(-5deg); }
      50% { transform: translateY(-8px) scale(1.04) rotate(4deg); }
      75% { transform: translateY(-14px) scale(1.06) rotate(-2deg); }
      100% { transform: translateY(0) scale(1) rotate(0); }
    }
.briefcase-board-section .shape-collector {
      position: relative;
      width: 100%;
      aspect-ratio: 1 / 1.12;
      line-height: 0;
    }
.briefcase-board-section .shape-shadow {
      position: absolute;
      left: 50%;
      bottom: 0;
      width: 72%;
      transform: translateX(-50%);
      opacity: 0.55;
      pointer-events: none;
    }
.briefcase-board-section .shape-body-stack {
      position: absolute;
      left: 50%;
      bottom: 6%;
      width: 70%;
      transform: translateX(-50%);
    }
.briefcase-board-section .shape-body {
      width: 100%;
      height: auto;
      display: block;
      filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.42));
    }
.briefcase-board-section .shape-face {
      position: absolute;
      left: 50%;
      top: 30%;
      width: 58%;
      transform: translateX(-50%);
      pointer-events: none;
    }
.briefcase-board-section .shape-hand {
      position: absolute;
      width: 24%;
      z-index: 2;
      filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
    }
.briefcase-board-section .shape-hand-l {
      left: 2%;
      bottom: 54%;
      width: 26%;
      transform: rotate(-38deg);
      transform-origin: right bottom;
      animation: hand-wave-l 2.2s ease-in-out infinite;
      animation-delay: var(--anim-delay);
    }
@keyframes hand-wave-l{
      0%, 100% { transform: rotate(-38deg); }
      50% { transform: rotate(-30deg) translateY(-4px); }
    }
.briefcase-board-section .shape-grip-arm {
      position: absolute;
      right: -4%;
      bottom: 24%;
      width: 50%;
      z-index: 3;
      transform-origin: 8% 72%;
      animation: grip-sway 2.2s ease-in-out infinite;
      animation-delay: var(--anim-delay);
    }
.briefcase-board-section .shape-grip-arm .shape-hand-r {
      position: absolute;
      left: -4%;
      top: 18%;
      width: 46%;
      right: auto;
      bottom: auto;
      transform: rotate(14deg);
      transform-origin: right center;
      z-index: 1;
      animation: none;
    }
.briefcase-board-section .shape-grip-arm .char-briefcase {
      position: relative;
      left: 8%;
      top: auto;
      width: 92%;
      display: block;
      transform: rotate(-10deg);
      transform-origin: left center;
      filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.55));
      pointer-events: none;
      z-index: 3;
    }
@keyframes grip-sway{
      0%, 100% { transform: rotate(0deg); }
      50% { transform: rotate(5deg); }
    }
.briefcase-board-section .player-card.just-won .shape-grip-arm {
      animation: grip-pop 0.55s ease 0.15s;
    }
@keyframes grip-pop{
      0% { transform: scale(0.88) rotate(-4deg); opacity: 0.75; }
      60% { transform: scale(1.06) rotate(6deg); }
      100% { transform: scale(1) rotate(0deg); opacity: 1; }
    }
.briefcase-board-section .player-meta {
      margin-top: 0.4rem;
      text-align: center;
    }
.briefcase-board-section .case-count-label {
      font-family: 'Bangers', cursive;
      font-size: 1.15rem;
      color: var(--gold-soft);
      line-height: 1.2;
      letter-spacing: 0.02em;
    }
.briefcase-board-section .case-count-label strong {
      color: var(--gold);
      font-weight: inherit;
    }
.briefcase-board-section .player-card.is-leader .case-count-label {
      text-shadow: 0 0 14px rgba(255, 215, 0, 0.25);
    }
.briefcase-board-section .crew-floor {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 12px;
      border-radius: 50%;
      background: radial-gradient(ellipse at 50% 100%, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
      pointer-events: none;
    }
.briefcase-board-section .crew-floor-bar {
      position: absolute;
      left: 4%;
      right: 4%;
      bottom: 4px;
      height: 2px;
      border-radius: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.35), transparent);
    }
.briefcase-board-section .floor-section {
      border-top: 1px solid var(--bc-border);
      padding-top: 1.5rem;
    }
.briefcase-board-section .floor-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 1rem;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
.briefcase-board-section .floor-header h2,
.briefcase-board-section .floor-header h3 {
      font-family: 'Bangers', cursive;
      font-size: 1.25rem;
      color: var(--bc-highlight);
    }
.briefcase-board-section .floor-header span { font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.briefcase-board-section .floor-panel {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 1rem;
    }


    @media (max-width: 640px) {
      .briefcase-board-section .floor-panel { grid-template-columns: 1fr; }
    }
.briefcase-board-section .floor-stat-card {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 1.5rem 1.25rem;
      border-radius: 16px;
      background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 215, 0, 0.12) 0%, transparent 60%),
        var(--bc-surface);
      border: 1px solid var(--bc-border-strong);
    }
.briefcase-board-section .floor-stat-card .big {
      font-family: 'Bangers', cursive;
      font-size: clamp(2.2rem, 6vw, 3rem);
      color: var(--gold);
      line-height: 1;
      text-shadow: 0 0 32px rgba(255, 215, 0, 0.25);
    }
.briefcase-board-section .floor-stat-card .sub {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--muted);
      margin-top: 0.45rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
.briefcase-board-section .floor-shelf {
      border-radius: 16px;
      background: linear-gradient(180deg, rgba(61, 0, 77, 0.45) 0%, rgba(24, 8, 36, 0.72) 100%);
      border: 1px solid var(--bc-border);
      padding: 0.9rem 1rem 0.85rem;
      display: flex;
      flex-direction: column;
      min-height: 0;
      overflow: visible;
      position: relative;
    }
.briefcase-board-section .floor-shelf::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 70%;
      height: 55%;
      background: radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
      pointer-events: none;
    }
.briefcase-board-section .floor-shelf-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 0.65rem;
    }
.briefcase-board-section .floor-shelf-title {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
    }
.briefcase-board-section .floor-shelf-badge {
      font-size: 0.72rem;
      font-weight: 800;
      color: var(--bc-highlight);
      padding: 0.2rem 0.55rem;
      border-radius: 999px;
      background: rgba(162, 28, 175, 0.14);
      border: 1px solid rgba(162, 28, 175, 0.28);
    }
.briefcase-board-section .floor-shelf-stage {
      position: relative;
      z-index: 1;
      flex: 1;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(var(--case-min, 48px), 1fr));
      gap: 0.35rem 0.2rem;
      align-items: end;
      align-content: end;
      justify-items: center;
      padding: 0.5rem 0.35rem 22px;
      min-height: 96px;
      overflow: visible;
    }
.briefcase-board-section .floor-shelf-stage[data-case-count="1"] {
      grid-template-columns: minmax(0, 1fr);
      min-height: 120px;
    }
.briefcase-board-section .floor-shelf-stage[data-case-count="2"],
.briefcase-board-section .floor-shelf-stage[data-case-count="3"] {
      min-height: 108px;
    }
.briefcase-board-section .floor-shelf-plank {
      position: absolute;
      left: 3%;
      right: 3%;
      bottom: 6px;
      height: 14px;
      border-radius: 3px;
      background: linear-gradient(180deg, #8b6914 0%, #5c4510 40%, #3d2e0a 100%);
      border: 1px solid rgba(255, 215, 0, 0.35);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.2);
    }
.briefcase-board-section .floor-shelf-plank::after {
      content: '';
      position: absolute;
      left: 8%;
      right: 8%;
      top: 3px;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
      border-radius: 1px;
    }
.briefcase-board-section .floor-shelf-case {
      position: relative;
      z-index: 2;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      margin: 0;
      bottom: 8px;
      transform-origin: center bottom;
      animation: shelf-case-idle 3.2s ease-in-out infinite;
      filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
    }
.briefcase-board-section .floor-shelf-case.is-featured {
      z-index: 3;
      bottom: 10px;
      filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 12px rgba(255, 215, 0, 0.2));
    }
.briefcase-board-section .floor-shelf-stage[data-case-count="0"] {
      min-height: 72px;
    }
.briefcase-board-section .floor-shelf-stage[data-case-count="1"] .floor-shelf-case svg {
      width: min(100%, var(--case-max, 128px));
    }
.briefcase-board-section .floor-shelf-case:nth-child(odd) { animation-delay: 0.35s; }
.briefcase-board-section .floor-shelf-case:nth-child(3n) { animation-delay: 0.7s; }
@keyframes shelf-case-idle{
      0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)) scale(1); }
      50% { transform: translateY(-4px) rotate(calc(var(--tilt, 0deg) - 1.5deg)) scale(1.02); }
    }
.briefcase-board-section .floor-shelf-case svg {
      display: block;
      width: min(100%, var(--case-max, 68px));
      height: auto;
      margin: 0 auto;
    }

/* ── Mobile crew layouts (1–10 holders) ── */
@media (max-width: 640px) {
  .briefcase-board-section .crew-lineup-wrap {
    padding: 0.85rem 0.65rem 0.75rem;
    border-radius: 14px;
  }

  .briefcase-board-section .crew-lineup {
    gap: 0.85rem;
  }

  .briefcase-board-section .layout-grid .player-card--grid .player-figure {
    width: clamp(58px, 68%, 72px);
  }

  .briefcase-board-section .layout-grid .player-card--grid .player-nameplate .name {
    font-size: 0.72rem;
  }

  .briefcase-board-section .layout-grid .player-card--grid .case-count-label {
    font-size: 0.9rem;
  }
}

/* ── Light theme ── */
html.light-theme .briefcase-board-section,
.light-theme .briefcase-board-section,
:root.light-theme .briefcase-board-section {
  --bc-muted: rgba(61, 0, 77, 0.62);
  --bc-text: var(--chasethecase-title-on-light, #3d004d);
  --bc-accent: var(--chasethecase-purple, #7c3aed);
  --bc-surface: rgba(255, 255, 255, 0.9);
  --bc-surface-strong: rgba(250, 245, 255, 0.98);
  --bc-border: rgba(124, 58, 237, 0.16);
  --bc-border-strong: rgba(124, 58, 237, 0.24);
  --bc-highlight: var(--chasethecase-purple, #7c3aed);
  --bc-live: #0e7490;
  --bc-gold: #b45309;
  --bc-gold-soft: #92400e;
}

html.light-theme .briefcase-board-section .bc-board-title,
.light-theme .briefcase-board-section .bc-board-title {
  color: var(--chasethecase-title-on-light, #3d004d) !important;
  -webkit-text-fill-color: var(--chasethecase-title-on-light, #3d004d) !important;
  text-shadow: none;
}

html.light-theme .briefcase-board-section .crew-lineup-wrap,
.light-theme .briefcase-board-section .crew-lineup-wrap {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(124, 58, 237, 0.16) !important;
  box-shadow: 0 8px 24px rgba(61, 0, 77, 0.06);
}

html.light-theme .briefcase-board-section .crew-podium,
.light-theme .briefcase-board-section .crew-podium {
  background:
    radial-gradient(ellipse 90% 80% at 50% 100%, rgba(255, 215, 0, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 58, 237, 0.08) 0%, transparent 60%) !important;
  border-color: rgba(124, 58, 237, 0.14) !important;
}

html.light-theme .briefcase-board-section .player-card--podium .player-nameplate,
.light-theme .briefcase-board-section .player-card--podium .player-nameplate,
html.light-theme .briefcase-board-section .player-card--grid .player-nameplate,
.light-theme .briefcase-board-section .player-card--grid .player-nameplate {
  background: linear-gradient(180deg, #ffffff 0%, #f3e8ff 100%) !important;
  border-bottom: 3px solid var(--chasethecase-purple, #7c3aed) !important;
  box-shadow: 0 4px 14px rgba(61, 0, 77, 0.08) !important;
}

html.light-theme .briefcase-board-section .player-card--podium.is-leader .player-nameplate,
.light-theme .briefcase-board-section .player-card--podium.is-leader .player-nameplate,
html.light-theme .briefcase-board-section .player-card--grid.is-leader .player-nameplate,
.light-theme .briefcase-board-section .player-card--grid.is-leader .player-nameplate {
  border-bottom-color: var(--chasethecase-purple, #7c3aed) !important;
  box-shadow: 0 4px 14px rgba(61, 0, 77, 0.08) !important;
}

html.light-theme .briefcase-board-section .crew-podium-row--duo .player-card--podium.is-leader .player-nameplate,
.light-theme .briefcase-board-section .crew-podium-row--duo .player-card--podium.is-leader .player-nameplate {
  border-bottom-color: var(--chasethecase-purple, #7c3aed) !important;
  box-shadow: 0 4px 14px rgba(61, 0, 77, 0.08) !important;
}

html.light-theme .briefcase-board-section .player-nameplate .name,
.light-theme .briefcase-board-section .player-nameplate .name {
  color: var(--chasethecase-title-on-light, #3d004d) !important;
}

html.light-theme .briefcase-board-section .player-nameplate .tag,
.light-theme .briefcase-board-section .player-nameplate .tag {
  color: var(--chasethecase-purple, #7c3aed) !important;
}

html.light-theme .briefcase-board-section .player-card.is-leader .player-nameplate .tag,
.light-theme .briefcase-board-section .player-card.is-leader .player-nameplate .tag {
  color: #b45309 !important;
}

html.light-theme .briefcase-board-section .player-card--grid,
.light-theme .briefcase-board-section .player-card--grid {
  background: transparent !important;
  border: none !important;
}

html.light-theme .briefcase-board-section .player-card--grid:hover,
.light-theme .briefcase-board-section .player-card--grid:hover {
  background: transparent !important;
  border: none !important;
}

html.light-theme .briefcase-board-section .player-card--grid .player-meta,
.light-theme .briefcase-board-section .player-card--grid .player-meta {
  border-top-color: rgba(124, 58, 237, 0.1) !important;
}

html.light-theme .briefcase-board-section .case-count-label,
.light-theme .briefcase-board-section .case-count-label {
  color: rgba(61, 0, 77, 0.72) !important;
  -webkit-text-fill-color: rgba(61, 0, 77, 0.72) !important;
  text-shadow: none;
}

html.light-theme .briefcase-board-section .case-count-label strong,
.light-theme .briefcase-board-section .case-count-label strong {
  color: var(--chasethecase-title-on-light, #3d004d) !important;
  -webkit-text-fill-color: var(--chasethecase-title-on-light, #3d004d) !important;
}

html.light-theme .briefcase-board-section .player-card.is-leader .case-count-label,
.light-theme .briefcase-board-section .player-card.is-leader .case-count-label {
  text-shadow: none;
}

html.light-theme .briefcase-board-section .floor-stat-card,
.light-theme .briefcase-board-section .floor-stat-card {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 215, 0, 0.16) 0%, transparent 60%),
    rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(124, 58, 237, 0.18) !important;
  box-shadow: 0 8px 20px rgba(61, 0, 77, 0.06);
}

html.light-theme .briefcase-board-section .floor-stat-card .big,
.light-theme .briefcase-board-section .floor-stat-card .big {
  color: #b45309 !important;
  -webkit-text-fill-color: #b45309 !important;
  text-shadow: none;
}

html.light-theme .briefcase-board-section .floor-shelf,
.light-theme .briefcase-board-section .floor-shelf {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 232, 255, 0.94) 100%) !important;
  border-color: rgba(124, 58, 237, 0.16) !important;
  box-shadow: 0 8px 20px rgba(61, 0, 77, 0.06);
}

html.light-theme .briefcase-board-section .floor-shelf::before,
.light-theme .briefcase-board-section .floor-shelf::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.14) 0%, transparent 70%) !important;
}

html.light-theme .briefcase-board-section .floor-shelf-badge,
.light-theme .briefcase-board-section .floor-shelf-badge {
  color: var(--chasethecase-purple-deep, #3d004d) !important;
  background: rgba(255, 215, 0, 0.22) !important;
  border-color: rgba(124, 58, 237, 0.18) !important;
}

html.light-theme .briefcase-board-section .floor-shelf-foot strong,
.light-theme .briefcase-board-section .floor-shelf-foot strong {
  color: #b45309 !important;
}

html.light-theme .briefcase-board-section .bc-board-eyebrow,
html.light-theme .briefcase-board-section .crew-zone-label,
html.light-theme .briefcase-board-section .crew-podium-label,
html.light-theme .briefcase-board-section .floor-header h3,
.light-theme .briefcase-board-section .bc-board-eyebrow,
.light-theme .briefcase-board-section .crew-zone-label,
.light-theme .briefcase-board-section .crew-podium-label,
.light-theme .briefcase-board-section .floor-header h3 {
  color: var(--chasethecase-tagline-on-light, #7c3aed) !important;
}

html.light-theme .briefcase-board-section .bc-board-sub strong,
html.light-theme .briefcase-board-section .bc-live-strip em,
.light-theme .briefcase-board-section .bc-board-sub strong,
.light-theme .briefcase-board-section .bc-live-strip em {
  color: var(--chasethecase-price-on-light, #5b21b6) !important;
}