/* ============================================================
   BrettZone v2 — Components
   Chip / button / card / table / bracket / ticker / score-bug / etc.
   Source of truth: Brief §4.
   ============================================================ */

/* ============================================================
   Weight chip
   ============================================================ */

.bz-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* Asymmetric vertical padding: DIN Next's metrics float caps ~1.5px
     high in a line-height-1 box — this optically centers the label. */
  padding: 4.5px 8px 1.5px;
  border: 1px solid currentColor;
  border-radius: var(--bz-r-sm);
  background: transparent;
  font: 700 11px/1 var(--bz-font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bz-chip--sm { padding: 3.5px 6px 0.5px; font-size: 10px; }

.bz-chip[data-w="3"]  { color: var(--bz-w3);   background: var(--bz-w3-bg); }
.bz-chip[data-w="12"] { color: var(--bz-w12);  background: var(--bz-w12-bg); }
.bz-chip[data-w="30"] { color: var(--bz-w30);  background: var(--bz-w30-bg); }
.bz-chip[data-w="fs"] { color: var(--bz-w-fs); background: var(--bz-w-fs-bg); }

/* ============================================================
   Live badge
   ============================================================ */

.bz-live-badge {
  color: var(--bz-live);
  background: var(--bz-live-bg);
  border-color: var(--bz-live);
}

.bz-live-dot {
  /* NHRL arena-corner triangle, not a blinking circle. A slow breathe
     replaces the hard pulse — present, but not shouting. */
  width: 8px;
  height: 8px;
  background: var(--bz-live);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  animation: bz-live-breathe 3.2s var(--bz-ease) infinite;
  flex-shrink: 0;
}

/* ============================================================
   Status chip variants
   ============================================================ */

.bz-status { display: inline-flex; align-items: center; padding: 5px 8px 1px; border-radius: var(--bz-r-sm); font: 700 10px/1 var(--bz-font-ui); letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid transparent; }
.bz-status--final    { color: var(--bz-text-dim);   background: var(--bz-surface-3); }
.bz-status--live     { color: var(--bz-live);       background: var(--bz-live-bg);   border-color: var(--bz-live); }
.bz-status--upcoming { color: var(--bz-w12);        background: var(--bz-w12-bg);    }
.bz-status--ko       { color: var(--bz-live);       background: var(--bz-live-bg);   }
.bz-status--judges   { color: var(--bz-text-dim);   background: var(--bz-surface-3); }
.bz-status--tap      { color: var(--bz-text-muted); background: var(--bz-surface-3); }
.bz-status--champion { color: var(--bz-accent-strong); background: var(--bz-accent-bg); border-color: var(--bz-accent); }
.bz-status--underway { color: var(--bz-w12);        background: var(--bz-w12-bg);    border-color: var(--bz-w12); }
.bz-status--test     { color: var(--bz-warn);       background: var(--bz-w12-bg);    border-color: var(--bz-warn); }
.bz-status--tier     { color: var(--bz-text-muted); background: transparent; border-color: var(--bz-border); }
.bz-status--tier-worlds  { color: var(--bz-accent-strong); border-color: var(--bz-accent); background: var(--bz-accent-bg); }
.bz-status--tier-protour { color: var(--bz-text-dim); border-color: var(--bz-border-strong); }
.bz-status--tier-open    { color: var(--bz-text-muted); border-color: var(--bz-border); }
.bz-status--tier-xp      { color: var(--bz-w-fs); border-color: var(--bz-w-fs); background: var(--bz-w-fs-bg); }

/* ============================================================
   Buttons
   ============================================================ */

.bz-btn {
  font: 600 12px/1 var(--bz-font-ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8.5px 14px 7.5px;   /* asymmetric: optically centers DIN caps */
  border-radius: var(--bz-r-sm);
  border: 1px solid var(--bz-border-strong);
  background: var(--bz-surface-2);
  color: var(--bz-text);
  cursor: pointer;
  transition: background var(--bz-d-fast) var(--bz-ease),
              border-color var(--bz-d-fast) var(--bz-ease),
              color var(--bz-d-fast) var(--bz-ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.bz-btn:hover { background: var(--bz-surface-3); border-color: var(--bz-text-muted); color: var(--bz-text); }

.bz-btn--primary {
  background: var(--bz-accent);
  border-color: var(--bz-accent);
  color: #0b0a16;
  /* NHRL corner cut — CTAs carry the arena-corner motif */
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.bz-btn--primary:hover {
  background: var(--bz-accent-strong);
  border-color: var(--bz-accent-strong);
  color: #0b0a16;
}

.bz-btn--ghost { background: transparent; border-color: var(--bz-border); }
.bz-btn--ghost:hover { background: var(--bz-surface-2); }

.bz-btn--sm { padding: 4px 8px; font-size: 10px; }

/* ============================================================
   Card
   ============================================================ */

.bz-card {
  position: relative;
  background: var(--bz-surface-1);
  border: 1px solid var(--bz-border);
  /* NHRL corner cut replaces the rounded top-right corner */
  border-radius: 0 0 var(--bz-r-xs) var(--bz-r-xs);
  clip-path: polygon(
    0 0,
    calc(100% - var(--bz-cut)) 0,
    100% var(--bz-cut),
    100% 100%,
    0 100%
  );
  --bz-cut-line: var(--bz-border);
  transition: border-color var(--bz-d-base) var(--bz-ease),
              transform var(--bz-d-base) var(--bz-ease);
}
/* Diagonal border along the cut edge — a 2px band centered on the clip
   line; the outer half is clipped away, leaving a 1px border that follows
   the corner cut. Scales with --bz-cut. */
.bz-card::after {
  content: "";
  position: absolute;
  top: calc(var(--bz-cut) / 2 - 1px);
  right: calc(var(--bz-cut) * -0.2071);
  width: calc(var(--bz-cut) * 1.4143);
  height: 2px;
  background: var(--bz-cut-line);
  transform: rotate(45deg);
  pointer-events: none;
}

.bz-card--hover {
  cursor: pointer;
}
.bz-card--hover:hover {
  border-color: var(--bz-border-strong);
  --bz-cut-line: var(--bz-border-strong);
  transform: translateY(-2px);
}

/* ============================================================
   Bot photo placeholder
   ============================================================ */

.bz-bot-photo {
  background: linear-gradient(135deg, #1b1734 0%, #110e22 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--bz-r-sm);
  flex-shrink: 0;
}
.bz-bot-photo::before {
  /* Sparky watermark — the housebot stands in when no photo exists */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../brand/sparky-white.svg");
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: 42% auto;
  opacity: 0.14;
}
.bz-bot-photo::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;   /* sit below the Sparky watermark */
  padding-bottom: 8%;
  justify-content: center;
  font: 400 10px/1 var(--bz-font-mono);
  letter-spacing: 0.1em;
  color: var(--bz-text-faint);
  text-transform: uppercase;
  text-align: center;
  padding: 4px;
}
.bz-bot-photo--has-image::before,
.bz-bot-photo--has-image::after { display: none; }

/* Tiny avatars: Sparky alone, centered — no name label */
.bz-bot-photo--tiny::after { display: none; }
.bz-bot-photo--tiny::before {
  background-position: center;
  background-size: 55% auto;
}
.bz-bot-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* contain variant: small avatars / index cards — show the whole bot */
.bz-bot-photo--contain img {
  object-fit: contain;
  object-position: center;
  padding: 4px;
}

/* hero variant: big rectangle on the bot profile, transparent-BG aware */
.bz-bot-photo--hero {
  background: linear-gradient(160deg, var(--bz-surface-2) 0%, var(--bz-surface-1) 60%, #0e0c1c 100%);
}
.bz-bot-photo--hero[data-w="3"]  { background: radial-gradient(ellipse at center bottom, var(--bz-w3-bg) 0%, #0e0c1c 70%); }
.bz-bot-photo--hero[data-w="12"] { background: radial-gradient(ellipse at center bottom, var(--bz-w12-bg) 0%, #0e0c1c 70%); }
.bz-bot-photo--hero[data-w="30"] { background: radial-gradient(ellipse at center bottom, var(--bz-w30-bg) 0%, #0e0c1c 70%); }
.bz-bot-photo--hero[data-w="fs"] { background: radial-gradient(ellipse at center bottom, var(--bz-w-fs-bg) 0%, #0e0c1c 70%); }
.bz-bot-photo--hero img {
  object-fit: contain;
  object-position: center bottom;
  padding: 6px;
}
.bz-bot-photo--hero::before {
  /* Repurpose the diagonal pattern for hero placeholder, but lighter so
     it still reads as "image incoming" when the removebg fallback chain
     ends in nothing. */
  opacity: 0.6;
}

/* ============================================================
   Score-bug (Brief §4.4)
   ============================================================ */

.bz-scorebug {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--bz-surface-3);
  border: 1px solid var(--bz-border);
  border-radius: 0;
  /* NHRL corner cut, large — broadcast score bug is a marquee surface */
  clip-path: polygon(
    0 0,
    calc(100% - var(--bz-cut-lg)) 0,
    100% var(--bz-cut-lg),
    100% 100%,
    0 100%
  );
  padding: 14px 18px;
}
/* Diagonal border along the cut edge (see .bz-card::after) */
.bz-scorebug::after {
  content: "";
  position: absolute;
  top: calc(var(--bz-cut-lg) / 2 - 1px);
  right: calc(var(--bz-cut-lg) * -0.2071);
  width: calc(var(--bz-cut-lg) * 1.4143);
  height: 2px;
  background: var(--bz-border);
  transform: rotate(45deg);
  pointer-events: none;
}

.bz-scorebug--overlay {
  background: rgba(10, 8, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bz-scorebug__side {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.bz-scorebug__side--right {
  flex-direction: row-reverse;
  text-align: right;
}

.bz-scorebug__wedge {
  width: 8px;
  height: 48px;
  flex-shrink: 0;
}
.bz-scorebug__wedge[data-w="3"]  { background: var(--bz-w3); }
.bz-scorebug__wedge[data-w="12"] { background: var(--bz-w12); }
.bz-scorebug__wedge[data-w="30"] { background: var(--bz-w30); }
.bz-scorebug__wedge[data-w="fs"] { background: var(--bz-w-fs); }

.bz-scorebug__name {
  /* DIN Next Heavy Italic — forward lean, broadcast fighter names */
  font-family: var(--bz-font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.bz-scorebug__sub {
  font: 500 10px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
  text-transform: uppercase;
}

.bz-scorebug__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 130px;
}
.bz-scorebug__round {
  font: 700 10px/1 var(--bz-font-ui);
  color: var(--bz-text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bz-scorebug__clock {
  background: var(--bz-live-bg);
  border: 1px solid var(--bz-live);
  padding: 4px 10px;
  border-radius: var(--bz-r-xs);
  font: 700 13px/1 var(--bz-font-mono);
  color: var(--bz-live);
  letter-spacing: 0.06em;
}
.bz-scorebug__clock--idle {
  background: var(--bz-surface-2);
  border-color: var(--bz-border);
  color: var(--bz-text-dim);
}

/* ============================================================
   Fight card (Brief §4.5)
   ============================================================ */

.bz-fightcard {
  position: relative;
  background: var(--bz-surface-1);
  border: 1px solid var(--bz-border);
  border-radius: 0 0 var(--bz-r-xs) var(--bz-r-xs);
  clip-path: polygon(
    0 0,
    calc(100% - var(--bz-cut)) 0,
    100% var(--bz-cut),
    100% 100%,
    0 100%
  );
  --bz-cut-line: var(--bz-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color var(--bz-d-base) var(--bz-ease),
              transform var(--bz-d-base) var(--bz-ease);
  color: inherit;
}
.bz-fightcard::after {
  content: "";
  position: absolute;
  top: calc(var(--bz-cut) / 2 - 1px);
  right: calc(var(--bz-cut) * -0.2071);
  width: calc(var(--bz-cut) * 1.4143);
  height: 2px;
  background: var(--bz-cut-line);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 2;
}
.bz-fightcard:hover {
  border-color: var(--bz-border-strong);
  --bz-cut-line: var(--bz-border-strong);
  transform: translateY(-2px);
  color: inherit;
}

.bz-fightcard__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #100e20;
  border-bottom: 1px solid var(--bz-border);
}
.bz-fightcard__head-round {
  font: 500 11px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.06em;
}
.bz-fightcard__head-spacer { flex: 1; }

.bz-fightcard__media {
  aspect-ratio: 16 / 9;
  position: relative;
  background: linear-gradient(135deg, var(--bz-surface-2), var(--bz-surface-1));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bz-fightcard__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.bz-fightcard__vs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.bz-fightcard__vs-label {
  font-family: var(--bz-font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--bz-text-faint);
  text-transform: uppercase;
}

.bz-fightcard__rows {
  display: flex;
  flex-direction: column;
}
.bz-fightcard__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-top: 1px solid var(--bz-border);
}
.bz-fightcard__row:first-child { border-top: none; }
.bz-fightcard__row--win {
  color: var(--bz-text);
}
.bz-fightcard__row--loss {
  color: var(--bz-text-muted);
}
.bz-fightcard__row-name {
  font-family: var(--bz-font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  flex: 1;
  letter-spacing: -0.01em;
}
.bz-fightcard__row--win .bz-fightcard__row-name::before {
  content: "▶";
  color: var(--bz-win);
  margin-right: 6px;
  font-size: 9px;
  vertical-align: middle;
}
.bz-fightcard__row-time {
  font: 500 11px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.06em;
}

/* ============================================================
   Tournament card (Brief §4.6)
   ============================================================ */

.bz-tcard {
  background: var(--bz-surface-1);
  border: 1px solid var(--bz-border);
  border-radius: 0 0 var(--bz-r-xs) var(--bz-r-xs);
  clip-path: polygon(
    0 0,
    calc(100% - var(--bz-cut)) 0,
    100% var(--bz-cut),
    100% 100%,
    0 100%
  );
  --bz-cut-line: var(--bz-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--bz-d-base) var(--bz-ease),
              transform var(--bz-d-base) var(--bz-ease);
}
.bz-tcard::after {
  content: "";
  position: absolute;
  top: calc(var(--bz-cut) / 2 - 1px);
  right: calc(var(--bz-cut) * -0.2071);
  width: calc(var(--bz-cut) * 1.4143);
  height: 2px;
  background: var(--bz-cut-line);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 2;
}
.bz-tcard:hover {
  border-color: var(--bz-border-strong);
  --bz-cut-line: var(--bz-border-strong);
  transform: translateY(-2px);
  color: inherit;
}
.bz-tcard__band {
  height: 14px;
  position: relative;
}
.bz-tcard__band[data-w="3"]  { background: linear-gradient(135deg, var(--bz-w3-bg), transparent 80%); border-bottom: 2px solid var(--bz-w3); }
.bz-tcard__band[data-w="12"] { background: linear-gradient(135deg, var(--bz-w12-bg), transparent 80%); border-bottom: 2px solid var(--bz-w12); }
.bz-tcard__band[data-w="30"] { background: linear-gradient(135deg, var(--bz-w30-bg), transparent 80%); border-bottom: 2px solid var(--bz-w30); }
.bz-tcard__band[data-w="fs"] { background: linear-gradient(135deg, var(--bz-w-fs-bg), transparent 80%); border-bottom: 2px solid var(--bz-w-fs); }
.bz-tcard__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.bz-tcard__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bz-tcard__date {
  font: 500 10px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bz-tcard__title {
  font-family: var(--bz-font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.bz-tcard__stats {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.bz-tcard__stat-num {
  font-family: var(--bz-font-display);
  font-size: 22px;
  font-weight: 700;
}
.bz-tcard__stat-num[data-w="3"]  { color: var(--bz-w3); }
.bz-tcard__stat-num[data-w="12"] { color: var(--bz-w12); }
.bz-tcard__stat-num[data-w="30"] { color: var(--bz-w30); }
.bz-tcard__stat-num[data-w="fs"] { color: var(--bz-w-fs); }
.bz-tcard__stat-label {
  font: 700 9px/1 var(--bz-font-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bz-text-muted);
  margin-top: 2px;
}
.bz-tcard__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--bz-border);
  margin-top: auto;
}
.bz-tcard__actions--triple {
  grid-template-columns: 1fr 1fr 1fr;
}
.bz-tcard__actions .bz-btn {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 10px;
  justify-content: center;
}
.bz-tcard__actions .bz-btn + .bz-btn {
  border-left: 1px solid var(--bz-border);
}
.bz-tcard__actions .bz-btn:hover { background: var(--bz-surface-2); }

/* ============================================================
   Table (Brief §4.7)
   ============================================================ */

.bz-table { width: 100%; border-collapse: collapse; }
.bz-table thead th {
  font: 700 10px/1 var(--bz-font-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bz-text-muted);
  background: #0e0c1c;
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--bz-border);
  position: sticky;
  top: 0;
  z-index: 2;
  white-space: nowrap;
}
.bz-table tbody td {
  padding: 10px;
  border-bottom: 1px solid var(--bz-border);
  font-size: 13px;
  vertical-align: middle;
}
.bz-table tbody tr {
  transition: background var(--bz-d-fast) var(--bz-ease);
}
.bz-table tbody tr.bz-table__row--link {
  cursor: pointer;
}
.bz-table tbody tr.bz-table__row--link:hover {
  background: var(--bz-surface-2);
}
.bz-table tbody tr.bz-table__group {
  background: #0e0c1c;
  position: sticky;
  top: 33px;
  z-index: 1;
}
.bz-table tbody tr.bz-table__group td {
  font-family: var(--bz-font-display);
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px 10px 8px;
  color: var(--bz-text);
  border-bottom: 1px solid var(--bz-border-strong);
  letter-spacing: -0.01em;
}
.bz-w-strip {
  display: inline-block;
  width: 4px;
  height: 30px;
  vertical-align: middle;
}
.bz-w-strip[data-w="3"]  { background: var(--bz-w3); }
.bz-w-strip[data-w="12"] { background: var(--bz-w12); }
.bz-w-strip[data-w="30"] { background: var(--bz-w30); }
.bz-w-strip[data-w="fs"] { background: var(--bz-w-fs); }

.bz-table td.bz-mono { font-family: var(--bz-font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--bz-text-dim); }
.bz-table td.bz-num  { font-family: var(--bz-font-mono); font-size: 13px; text-align: right; font-weight: 500; }

/* Inline bot identity inside a table cell (Polish item 09) */
.bz-cell-bot { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.bz-cell-bot__photo { flex-shrink: 0; }
.bz-cell-bot__name {
  font-family: var(--bz-font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bz-cell-bot__name:hover { color: var(--bz-accent-strong); }

/* Tournaments table row striping (Polish item 05) */
.bz-table tbody tr.bz-table__row--link:nth-of-type(even) {
  background: rgba(255,255,255,0.012);
}
.bz-table tbody tr.bz-table__row--link:nth-of-type(even):hover {
  background: var(--bz-surface-2);
}

/* ============================================================
   Table -> Cards on mobile (Mobile Brief §3)
   ============================================================
   Tables that opt-in with .bz-table--cards collapse to a stacked-card
   layout on <768px. Cells are tagged with:
     .bz-cell-hide-mobile  — desktop-only (hidden at <768px)
     .bz-cell-only-mobile  — mobile-only  (hidden at >=768px)
   The mobile-only cell is a full-width card body that synthesises the
   right visual hierarchy (stripe, meta, title, status) for that row.
*/

/* Utility cells (apply at every breakpoint, then media queries refine) */
.bz-cell-only-mobile { display: none; }

@media (max-width: 767.98px) {
  .bz-table--cards thead { display: none; }

  .bz-table--cards tbody tr.bz-table__row,
  .bz-table--cards tbody tr.bz-table__row--link {
    display: block;
    padding: 0;
    border-bottom: 1px solid var(--bz-border);
  }
  .bz-table--cards tbody tr.bz-table__row td,
  .bz-table--cards tbody tr.bz-table__row--link td {
    display: none !important;
  }
  .bz-table--cards tbody tr.bz-table__row td.bz-cell-only-mobile,
  .bz-table--cards tbody tr.bz-table__row--link td.bz-cell-only-mobile {
    display: block !important;
    padding: 0;
    border: none;
    width: 100%;
  }

  /* Group headers: full-width condensed bar */
  .bz-table--cards tbody tr.bz-table__group { display: block; }
  .bz-table--cards tbody tr.bz-table__group td {
    display: block !important;
    padding: 14px 16px 6px !important;
    font-size: 18px !important;
    text-align: left;
  }
}

/* Hide desktop-only cells when device is narrow */
@media (max-width: 767.98px) {
  .bz-cell-hide-mobile { display: none !important; }
}

/* The mobile card body — stripe + meta + title + status + chevron */
.bz-mcard {
  display: grid;
  grid-template-columns: 4px 1fr 14px;
  grid-template-areas:
    "stripe meta   chev"
    "stripe title  chev"
    "stripe status chev";
  align-items: center;
  gap: 4px 12px;
  padding: 12px 16px;
  min-height: var(--bz-touch-min);
}
.bz-mcard__stripe {
  grid-area: stripe;
  align-self: stretch;
  width: 4px;
  border-radius: 1px;
}
.bz-mcard__stripe[data-w="3"]  { background: var(--bz-w3); }
.bz-mcard__stripe[data-w="12"] { background: var(--bz-w12); }
.bz-mcard__stripe[data-w="30"] { background: var(--bz-w30); }
.bz-mcard__stripe[data-w="fs"] { background: var(--bz-w-fs); }
.bz-mcard__stripe--none { background: var(--bz-surface-3); }
.bz-mcard__meta {
  grid-area: meta;
  font: 500 11px/1.2 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bz-mcard__title {
  grid-area: title;
  font-family: var(--bz-font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--bz-text);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.bz-mcard__title-loss { color: var(--bz-text-muted); }
.bz-mcard__title-sep { color: var(--bz-text-faint); padding: 0 6px; }
.bz-mcard__title-win::before {
  content: "▶ ";
  color: var(--bz-win);
  font-size: 10px;
  margin-right: 2px;
}
.bz-mcard__status {
  grid-area: status;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.bz-mcard__chev {
  grid-area: chev;
  color: var(--bz-text-muted);
  display: flex;
  align-items: center;
}


/* ============================================================
   Bracket leaf (Brief §4.8)
   ============================================================ */

.bz-match {
  background: var(--bz-surface-1);
  border: 1px solid var(--bz-border);
  border-radius: var(--bz-r-md);
  overflow: hidden;
  min-width: 220px;
}
.bz-match__slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-left: 3px solid var(--bz-surface-3);
  transition: background var(--bz-d-fast) var(--bz-ease);
}
.bz-match__slot + .bz-match__slot {
  border-top: 1px solid var(--bz-border);
}
.bz-match__slot--win {
  background: rgba(16, 185, 129, 0.06);
  border-left-color: var(--bz-win);
}
.bz-match__slot--loss {
  color: var(--bz-text-muted);
}
.bz-match__slot--bye {
  color: var(--bz-text-faint);
  font-style: italic;
}
.bz-match__seed {
  font: 500 10px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  min-width: 20px;
}
.bz-match__name {
  font-family: var(--bz-font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  flex: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bz-match__method {
  font: 500 9px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   Live ticker (Brief §4.9)
   ============================================================ */

.bz-ticker {
  background: #0e0c1c;
  border-bottom: 1px solid var(--bz-border);
  overflow: hidden;
  position: relative;
  padding: 8px 0;
  height: 34px;
}
/* Caution strip riding the ticker's bottom edge (brand guide motif) */
.bz-ticker::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  color: var(--bz-brand-blue);
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    -45deg,
    currentColor 0, currentColor 4px,
    transparent 4px, transparent 8px
  );
  pointer-events: none;
  z-index: 3;
}
.bz-ticker__label {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 156px;
  background: linear-gradient(90deg, var(--bz-live) calc(100% - 16px), transparent 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  color: #fff;
  z-index: 2;
  font-family: var(--bz-font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 800;
  white-space: nowrap;
}
.bz-ticker__viewport {
  padding-left: 166px;
  white-space: nowrap;
  overflow: hidden;
}
.bz-ticker__track {
  display: inline-flex;
  gap: 48px;
  animation: bz-marquee 60s linear infinite;
  font: 400 12px/1 var(--bz-font-mono);
  color: var(--bz-text-dim);
}
.bz-ticker__track:hover { animation-play-state: paused; }
.bz-ticker__item::before {
  content: "◆";
  color: var(--bz-accent);
  margin-right: 8px;
}
.bz-ticker__item-win { color: var(--bz-text); font-weight: 500; }
.bz-ticker__item-loss { color: var(--bz-text-muted); }
.bz-ticker__item-meta { color: var(--bz-text-muted); }

/* ============================================================
   Form strip (W/L blocks)
   ============================================================ */

.bz-form-strip {
  display: inline-flex;
  gap: 3px;
}
.bz-form-strip__cell {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: var(--bz-loss);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 8px/1 var(--bz-font-ui);
  color: rgba(0,0,0,0.6);
}
.bz-form-strip__cell--win  { background: var(--bz-win); }
.bz-form-strip__cell--loss { background: var(--bz-loss); }

/* ============================================================
   Filter pill group
   ============================================================ */

.bz-pills {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.bz-pill {
  position: relative;
  font: 600 11px/1 var(--bz-font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7.75px 10px 4.25px;   /* asymmetric: optically centers DIN caps */
  border-radius: var(--bz-r-sm);
  border: 1px solid var(--bz-border);
  background: var(--bz-surface-1);
  color: var(--bz-text-dim);
  cursor: pointer;
  transition: background var(--bz-d-fast) var(--bz-ease), border-color var(--bz-d-fast) var(--bz-ease), color var(--bz-d-fast) var(--bz-ease);
}
.bz-pill:hover { background: var(--bz-surface-2); color: var(--bz-text); }
.bz-pill--active {
  background: var(--bz-accent-bg);
  border-color: currentColor;   /* tracks the accent + weight variants */
  color: var(--bz-accent-strong);
  /* Active = NHRL corner cut */
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}
/* Border follows the cut edge (currentColor tracks weight variants) */
.bz-pill--active::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -1.2px;
  width: 8.5px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  pointer-events: none;
}
.bz-pill[data-w="3"].bz-pill--active  { color: var(--bz-w3);  border-color: var(--bz-w3);  background: var(--bz-w3-bg); }
.bz-pill[data-w="12"].bz-pill--active { color: var(--bz-w12); border-color: var(--bz-w12); background: var(--bz-w12-bg); }
.bz-pill[data-w="30"].bz-pill--active { color: var(--bz-w30); border-color: var(--bz-w30); background: var(--bz-w30-bg); }
.bz-pill[data-w="fs"].bz-pill--active { color: var(--bz-w-fs); border-color: var(--bz-w-fs); background: var(--bz-w-fs-bg); }

/* ============================================================
   Input
   ============================================================ */

.bz-input {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bz-surface-1);
  border: 1px solid var(--bz-border);
  border-radius: var(--bz-r-sm);
  padding: 7px 10px;
  color: var(--bz-text);
  font-family: var(--bz-font-ui);
  font-size: 13px;
  width: 100%;
  transition: border-color var(--bz-d-fast) var(--bz-ease);
}
.bz-input:focus-within { border-color: var(--bz-border-strong); }
.bz-input input {
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
  font: inherit;
  flex: 1;
  min-width: 0;
}
.bz-input input::placeholder { color: var(--bz-text-muted); }
.bz-input__kbd {
  font: 500 9px/1 var(--bz-font-mono);
  color: var(--bz-text-faint);
  border: 1px solid var(--bz-border);
  padding: 2px 5px;
  border-radius: var(--bz-r-xs);
}

/* ============================================================
   Segmented control
   Used wherever a small set of options act like a chip-group tab strip:
   speed selector, orientation toggle, search-mode toggle, etc.
   ============================================================ */

.bz-segmented {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  background: var(--bz-surface-2);
  border: 1px solid var(--bz-border);
  border-radius: var(--bz-r-sm);
}
.bz-segmented--wrap { flex-wrap: wrap; }
.bz-segmented--block { display: flex; width: 100%; }

.bz-segmented__btn {
  font: 600 11px/1 var(--bz-font-ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--bz-r-xs);
  border: 1px solid transparent;
  background: transparent;
  color: var(--bz-text-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  flex: 1 1 auto;
  transition: background var(--bz-d-fast) var(--bz-ease),
              border-color var(--bz-d-fast) var(--bz-ease),
              color var(--bz-d-fast) var(--bz-ease);
}
.bz-segmented__btn:hover { color: var(--bz-text); }
.bz-segmented__btn.is-active {
  background: var(--bz-surface-3);
  border-color: var(--bz-border-strong);
  color: var(--bz-text);
  /* Active = NHRL corner cut (matches .bz-pill--active) */
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%);
}

/* ============================================================
   Icon helpers
   ============================================================ */

.bz-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  color: currentColor;
}
.bz-icon--sm { width: 14px; height: 14px; }
.bz-icon--lg { width: 20px; height: 20px; }

/* ============================================================
   Divider
   ============================================================ */

.bz-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bz-border) 20%, var(--bz-border) 80%, transparent);
  border: none;
  margin: 16px 0;
}

/* ============================================================
   Stat row (for page headers)
   ============================================================ */

.bz-statrow {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.bz-statrow__item { display: flex; flex-direction: column; gap: 2px; }
.bz-statrow__num {
  font-family: var(--bz-font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}
.bz-statrow__label {
  font: 700 10px/1 var(--bz-font-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bz-text-muted);
}

/* ============================================================
   Empty / zero-state cards (Polish item 02)
   ============================================================ */

.bz-empty {
  border: 1px dashed var(--bz-border-strong);
  background: var(--bz-surface-1);
  border-radius: var(--bz-r-md);
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color var(--bz-d-base) var(--bz-ease),
              transform var(--bz-d-base) var(--bz-ease);
}
.bz-empty:hover { border-color: var(--bz-text-muted); }

.bz-empty__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 10px/1 var(--bz-font-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bz-text-muted);
  margin-bottom: 4px;
}
.bz-empty__dot {
  /* Corner-triangle marker, matching the live-dot language */
  width: 6px; height: 6px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  background: var(--bz-text-faint);
}

.bz-empty__icon {
  color: var(--bz-text-muted);
  margin-bottom: 4px;
}
.bz-empty__icon .bz-icon { width: 28px; height: 28px; }

/* Sparky (NHRL housebot) fronts zero states */
.bz-empty__sparky {
  width: 44px;
  height: auto;
  opacity: 0.45;
  margin-bottom: 4px;
}

.bz-empty__title {
  font: 700 11px/1 var(--bz-font-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bz-text-muted);
}
.bz-empty__big {
  font-family: var(--bz-font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--bz-accent-strong);
  margin: 2px 0;
}
.bz-empty__sub {
  font: 500 11px/1.2 var(--bz-font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bz-text-dim);
}
.bz-empty__body { color: var(--bz-text-dim); font-size: 13px; max-width: 280px; }
.bz-empty__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 6px;
}
.bz-empty__action { margin-top: 10px; }

.bz-empty--offline {
  border-color: var(--bz-live);
}
.bz-empty--offline .bz-empty__dot { background: var(--bz-live); }
.bz-empty--offline .bz-empty__eyebrow { color: var(--bz-live); }

.bz-empty--no-results .bz-empty__title { font-family: var(--bz-font-display); font-size: 18px; letter-spacing: -0.01em; color: var(--bz-text); }

/* ============================================================
   Skeleton loading (Polish Appendix A #10)
   ============================================================ */

.bz-skeleton-stack {
  display: flex;
  flex-direction: column;
  gap: var(--bz-skel-gap, 8px);
}
.bz-skeleton {
  background: var(--bz-surface-3);
  border-radius: 2px;
  animation: bz-shimmer 1.8s ease-in-out infinite;
}

/* ============================================================
   Marquee hero (Polish item 01)
   ============================================================ */

.bz-hero {
  position: relative;
  display: block;
  height: 440px;
  border: 1px solid var(--bz-border-strong);
  border-radius: 0 0 var(--bz-r-xs) var(--bz-r-xs);
  /* Marquee surface — large NHRL corner cut */
  clip-path: polygon(
    0 0,
    calc(100% - var(--bz-cut-lg)) 0,
    100% var(--bz-cut-lg),
    100% 100%,
    0 100%
  );
  --bz-cut-line: var(--bz-border-strong);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(207,35,202,0.16) 0%, #0e0c1c 60%);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--bz-d-base) var(--bz-ease),
              transform var(--bz-d-base) var(--bz-ease);
}
.bz-hero:hover {
  border-color: var(--bz-accent);
  --bz-cut-line: var(--bz-accent);
  transform: translateY(-2px);
  color: inherit;
}
/* Diagonal border along the cut (the ::after slot holds the texture) */
.bz-hero::before {
  content: "";
  position: absolute;
  top: calc(var(--bz-cut-lg) / 2 - 1px);
  right: calc(var(--bz-cut-lg) * -0.2071);
  width: calc(var(--bz-cut-lg) * 1.4143);
  height: 2px;
  background: var(--bz-cut-line);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 4;
}
.bz-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg,
    rgba(255,255,255,0.018) 0 2px, transparent 2px 12px);
  pointer-events: none;
  z-index: 1;
}
.bz-hero__media {
  position: absolute; inset: 0;
}
.bz-hero__video,
.bz-hero__fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.bz-hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,20,0.55) 0%, rgba(10,8,20,0.0) 28%, rgba(10,8,20,0.0) 60%, rgba(10,8,20,0.85) 100%);
  z-index: 2;
  pointer-events: none;
}
.bz-hero__top {
  position: absolute;
  top: 18px; left: 18px; right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.bz-hero__top-spacer { flex: 1; }
.bz-hero__eyebrow {
  font: 700 11px/1 var(--bz-font-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bz-text-dim);
}
/* Mono caption sits above the inline score-bug; the hero is autoplaying so
   we don't need a play affordance overlaying the action. */
.bz-hero__play-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(16px + 84px); /* clears the inline score-bug + breathing room */
  font: 500 11px/1 var(--bz-font-mono);
  letter-spacing: 0.16em;
  color: var(--bz-text-dim);
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  z-index: 3;
  white-space: nowrap;
  text-align: center;
  opacity: 0.85;
  transition: opacity var(--bz-d-base) var(--bz-ease), color var(--bz-d-base) var(--bz-ease);
}
.bz-hero:hover .bz-hero__play-caption { opacity: 1; color: var(--bz-accent-strong); }

/* Inline score-bug overlaid at the bottom of the hero */
.bz-hero__scorebug {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  background: rgba(10,8,20,0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bz-border-strong);
  border-radius: var(--bz-r-md);
  padding: 10px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  z-index: 3;
}
.bz-hero__side {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.bz-hero__side--right { flex-direction: row-reverse; text-align: right; }
.bz-hero__name {
  /* DIN Next Heavy Italic — matches the score bug */
  font-family: var(--bz-font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bz-hero__sub {
  font: 500 10px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.bz-hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 130px;
}
.bz-hero__round {
  font: 700 10px/1 var(--bz-font-ui);
  color: var(--bz-text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bz-hero__event {
  font-family: var(--bz-font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--bz-text);
}
.bz-hero__meta {
  font: 500 10px/1 var(--bz-font-mono);
  color: var(--bz-text-dim);
  letter-spacing: 0.06em;
}

/* Score-bug photo slot (Polish item 09) */
.bz-scorebug__photo,
.bz-hero__photo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--bz-r-sm);
  overflow: hidden;
}
.bz-hero__photo { width: 44px; height: 44px; }

/* ============================================================
   Tale of the Tape (Polish item 04)
   ============================================================ */

.bz-tape {
  border-top: 1px solid var(--bz-border);
}
.bz-tape-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 9px 12px;
  border-bottom: 1px solid var(--bz-border);
  align-items: center;
  gap: 12px;
}
.bz-tape-row:last-child { border-bottom: none; }
.bz-tape-row--highlight { background: rgba(207,35,202,0.05); }
.bz-tape__val {
  font-family: var(--bz-font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--bz-text-dim);
}
.bz-tape__val--left  { text-align: left; }
.bz-tape__val--right { text-align: right; }
.bz-tape__val--win {
  color: var(--bz-text);
  font-weight: 700;
}
.bz-tape__val--win::before {
  content: "▶ ";
  color: var(--bz-win);
  font-size: 10px;
  vertical-align: middle;
  margin-right: 4px;
}
.bz-tape__val--right.bz-tape__val--win::before { content: ""; margin-right: 0; }
.bz-tape__val--right.bz-tape__val--win::after  {
  content: " ◀";
  color: var(--bz-win);
  font-size: 10px;
  vertical-align: middle;
  margin-left: 4px;
}
.bz-tape__val--lose { color: var(--bz-text-muted); }
.bz-tape__label {
  font-family: var(--bz-font-mono);
  font-size: 9px;
  color: var(--bz-text-muted);
  letter-spacing: 0.12em;
  text-align: center;
  padding: 0 12px;
  text-transform: uppercase;
}

/* ============================================================
   Head-to-head widget (Polish item 04)
   ============================================================ */

.bz-h2h {
  border: 1px solid var(--bz-border);
  border-radius: var(--bz-r-md);
  padding: 14px 16px;
  background: var(--bz-surface-1);
}
.bz-h2h__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 14px;
}
.bz-h2h__name {
  font-family: var(--bz-font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--bz-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bz-h2h__name--right { text-align: right; }
.bz-h2h__score {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bz-h2h__score-num {
  font-family: var(--bz-font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
}
.bz-h2h__score-num--lead { color: var(--bz-win); }
.bz-h2h__score-num--lose { color: var(--bz-text-muted); }
.bz-h2h__bar {
  display: flex;
  height: 4px;
  margin-top: 10px;
  background: var(--bz-surface-3);
  border-radius: 2px;
  overflow: hidden;
}
.bz-h2h__bar-side--left  { background: var(--bz-win); }
.bz-h2h__bar-side--right { background: var(--bz-accent-strong); }
.bz-h2h__bar-side--zero  { background: var(--bz-loss); }
.bz-h2h__last {
  margin-top: 8px;
  font: 500 10px/1.3 var(--bz-font-mono);
  letter-spacing: 0.06em;
  color: var(--bz-text-muted);
  text-transform: uppercase;
  text-align: center;
}

/* ============================================================
   Bracket-path widget (Polish item 10)
   ============================================================ */

.bz-bracket-path {
  display: flex;
  flex-direction: column;
}
.bz-bracket-path__row {
  display: grid;
  grid-template-columns: 36px 14px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--bz-border);
  color: inherit;
  text-decoration: none;
  transition: background var(--bz-d-fast) var(--bz-ease);
}
.bz-bracket-path__row:last-child { border-bottom: none; }
.bz-bracket-path__row:hover { background: var(--bz-surface-2); color: inherit; }
.bz-bracket-path__round {
  font: 700 10px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.08em;
}
.bz-bracket-path__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bz-surface-3);
  justify-self: center;
}
.bz-bracket-path__row--settled .bz-bracket-path__dot { background: var(--bz-win); }
.bz-bracket-path__row--current .bz-bracket-path__dot { background: var(--bz-accent-strong); box-shadow: 0 0 0 3px var(--bz-accent-bg); }
.bz-bracket-path__row--current { color: var(--bz-accent-strong); }
.bz-bracket-path__row--future .bz-bracket-path__opponent { color: var(--bz-text-muted); font-style: italic; }
.bz-bracket-path__opponent {
  font-family: var(--bz-font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bz-bracket-path__method {
  font: 500 10px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.06em;
}

/* ============================================================
   Clips-from-fight row (Polish item 10)
   ============================================================ */

.bz-fight-clip {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--bz-border);
  transition: background var(--bz-d-fast) var(--bz-ease);
}
.bz-fight-clip:last-child { border-bottom: none; }
.bz-fight-clip:hover { background: var(--bz-surface-2); color: inherit; }
.bz-fight-clip__thumb {
  width: 88px; height: 50px;
  border-radius: var(--bz-r-sm);
  overflow: hidden;
  border: 1px solid var(--bz-border);
  background: var(--bz-surface-2);
  flex-shrink: 0;
  position: relative;
}
.bz-fight-clip__thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bz-fight-clip__name {
  font-family: var(--bz-font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.bz-fight-clip__ts {
  margin-top: 3px;
  font: 500 10px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.06em;
}

/* ============================================================
   Duration badge on fight-card media (Polish item 08)
   ============================================================ */

.bz-fightcard__duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.85);
  padding: 2px 6px;
  border-radius: var(--bz-r-xs);
  font: 500 10px/1 var(--bz-font-mono);
  color: var(--bz-text);
  letter-spacing: 0.04em;
  z-index: 2;
}
.bz-fightcard__vs-photos {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
}
.bz-fightcard__vs-photos .bz-bot-photo { width: 64px; height: 64px; }
.bz-fightcard__vs-photos .bz-fightcard__vs-label { font-size: 18px; }

/* ============================================================
   Recent Champions widget (Polish item 02)
   ============================================================ */

.bz-champ-row {
  display: grid;
  grid-template-columns: 22px 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--bz-r-sm);
  background: var(--bz-surface-1);
  border: 1px solid var(--bz-border);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--bz-d-fast) var(--bz-ease), background var(--bz-d-fast) var(--bz-ease);
}
.bz-champ-row:hover { border-color: var(--bz-border-strong); background: var(--bz-surface-2); color: inherit; }
.bz-champ-row__trophy { color: var(--bz-accent-strong); display: inline-flex; }
.bz-champ-row__trophy[data-w="3"]  { color: var(--bz-w3); }
.bz-champ-row__trophy[data-w="12"] { color: var(--bz-w12); }
.bz-champ-row__trophy[data-w="30"] { color: var(--bz-w30); }
.bz-champ-row__trophy[data-w="fs"] { color: var(--bz-w-fs); }
.bz-champ-row__name {
  font-family: var(--bz-font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bz-champ-row__weight {
  font: 700 10px/1 var(--bz-font-mono);
  color: var(--bz-text-muted);
  letter-spacing: 0.06em;
}
