/* ==================================================================
   Leak Buster 3 — v2 components (2026-09-18)
   Loaded after lb3-shared-styles.css; uses its tokens (--lb3-*).
   Everything here is additive: the shared sheet is untouched.
   ================================================================== */

/* ---------- screenshots ---------- */
.lb3-shot { margin: 0; }
.lb3-shot .lb3-fake-window { overflow: hidden; }
.lb3-shot-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 14px 14px;
}
/* the shared sheet uppercases captions (built for three-word labels);
   ours are sentences, so read them as sentences */
.lb3-shot .lb3-screenshot-caption {
  margin-top: 12px;
  text-transform: none;
  letter-spacing: normal;
  font-size: 13px;
  line-height: 1.5;
  color: var(--lb3-muted);
}

.lb3-shot-hero { margin-top: 8px; }
.lb3-shot-hero .lb3-screenshot-caption { display: none; }

.lb3-shot-wide { max-width: 1200px; margin: 28px auto 0; }

.lb3-shot-duo,
.lb3-shot-trio {
  display: grid;
  gap: 22px;
  margin: 30px 0 8px;
  text-align: left;
}
.lb3-shot-duo  { grid-template-columns: 1fr 1fr; }
.lb3-shot-trio { grid-template-columns: repeat(3, 1fr); }

/* ---------- stat strip ---------- */
.lb3-stat-strip {
  border-top: 1px solid var(--lb3-border);
  border-bottom: 1px solid var(--lb3-border);
  background: linear-gradient(180deg, rgba(59,130,246,0.06), rgba(0,0,0,0));
}
.lb3-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.lb3-stat {
  padding: 26px 14px;
  text-align: center;
  border-left: 1px solid var(--lb3-border);
}
.lb3-stat:first-child { border-left: 0; }
.lb3-stat b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lb3-text);
  line-height: 1.05;
}
.lb3-stat b.lb3-stat-blue   { color: var(--lb3-blue-2); }
.lb3-stat b.lb3-stat-orange { color: var(--lb3-orange); }
.lb3-stat b.lb3-stat-green  { color: var(--lb3-green); }
.lb3-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--lb3-muted);
}

/* ---------- pills / kickers ---------- */
.lb3-beta {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255,174,66,0.16);
  border: 1px solid rgba(255,174,66,0.45);
  color: var(--lb3-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}
.lb3-kicker {
  max-width: 820px;
  margin: 18px auto 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--lb3-card);
  border: 1px solid var(--lb3-border);
  color: var(--lb3-muted);
  font-size: 14px;
  line-height: 1.5;
}
.lb3-kicker strong { color: var(--lb3-text); }

/* ---------- GTO band ---------- */
.lb3-gto-band {
  position: relative;
  overflow: hidden;
}
.lb3-gto-band::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 80%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(59,130,246,0.18), rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.lb3-gto-band > .lb3-container { position: relative; }

.lb3-gto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}
.lb3-gto-grid .lb3-card { padding: 22px; }
.lb3-gto-grid .lb3-h3 { margin-top: 12px; }
.lb3-gto-score {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  font-size: 30px;
  color: var(--lb3-text);
  letter-spacing: -0.02em;
}
.lb3-gto-score small { font-size: 13px; color: var(--lb3-muted); font-weight: 600; }

/* deviation bar — the GTO heatmap in miniature */
.lb3-dev {
  display: grid;
  grid-template-columns: 96px 1fr 52px;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-size: 12px;
  color: var(--lb3-muted);
}
.lb3-dev-track {
  height: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.lb3-dev-fill { position: absolute; top: 0; bottom: 0; left: 50%; border-radius: 6px; }
.lb3-dev-fill.pos { background: var(--lb3-red); }
.lb3-dev-fill.neg { background: var(--lb3-green); transform: translateX(-100%); }
.lb3-dev-fill.warn { background: var(--lb3-orange); }
.lb3-dev-val { text-align: right; font-weight: 700; color: var(--lb3-text); }

/* ---------- tabs ---------- */
.lb3-tab-card.lb3-tab-new { border-color: rgba(124,194,255,0.45); }
.lb3-tab-card .lb3-tab-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.lb3-tab-tag.new   { background: rgba(124,194,255,0.16); color: var(--lb3-blue-2); border: 1px solid rgba(124,194,255,0.4); }
.lb3-tab-tag.tourn { background: rgba(64,212,138,0.14); color: var(--lb3-green); border: 1px solid rgba(64,212,138,0.4); }
.lb3-tab-count {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 6px 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lb3-card);
  border: 1px solid var(--lb3-border);
  color: var(--lb3-muted);
  font-size: 13px;
}
.lb3-tab-count b { color: var(--lb3-text); }

/* ---------- drills ---------- */
.lb3-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px auto 0;
  max-width: 980px;
}
.lb3-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--lb3-card);
  border: 1px solid var(--lb3-border);
  color: var(--lb3-text);
  font-size: 13px;
  font-weight: 600;
}
.lb3-chip b {
  font-weight: 800;
  color: var(--lb3-blue-2);
  font-variant-numeric: tabular-nums;
}
.lb3-chip-more { color: var(--lb3-muted); font-weight: 600; }

.lb3-diff {
  max-width: 820px;
  margin: 26px auto 0;
  text-align: left;
}
.lb3-diff-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--lb3-muted);
  margin-bottom: 8px;
}
.lb3-diff-bar {
  display: flex;
  height: 14px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}
.lb3-diff-bar span { display: block; height: 100%; }
.lb3-diff-bar .easy   { background: var(--lb3-green); }
.lb3-diff-bar .medium { background: var(--lb3-blue); }
.lb3-diff-bar .hard   { background: var(--lb3-orange); }
.lb3-diff-bar .expert { background: var(--lb3-red); }
.lb3-diff-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--lb3-muted);
}
.lb3-diff-legend i {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}
.lb3-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 820px;
  margin: 22px auto 0;
}
.lb3-split div {
  padding: 14px;
  border-radius: 12px;
  background: var(--lb3-card);
  border: 1px solid var(--lb3-border);
}
.lb3-split b { display: block; font-size: 22px; font-weight: 800; color: var(--lb3-text); }
.lb3-split span { font-size: 12px; color: var(--lb3-muted); }

/* ---------- formats + trackers ---------- */
.lb3-format-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.lb3-format-tags em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--lb3-border);
  color: var(--lb3-muted);
}
.lb3-trackers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.lb3-tracker {
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--lb3-card);
  border: 1px solid var(--lb3-border);
  color: var(--lb3-text);
  font-weight: 700;
  font-size: 14px;
}
.lb3-tracker.lb3-tracker-new {
  border-color: rgba(124,194,255,0.5);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .lb3-stat-grid { grid-template-columns: repeat(3, 1fr); }
  .lb3-stat { border-left: 0; border-top: 1px solid var(--lb3-border); }
  .lb3-stat:nth-child(-n+3) { border-top: 0; }
  .lb3-gto-grid { grid-template-columns: 1fr 1fr; }
  .lb3-shot-trio { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .lb3-stat-grid { grid-template-columns: 1fr 1fr; }
  .lb3-stat:nth-child(-n+3) { border-top: 1px solid var(--lb3-border); }
  .lb3-stat:nth-child(-n+2) { border-top: 0; }
  .lb3-stat b { font-size: 26px; }
  .lb3-gto-grid, .lb3-shot-duo, .lb3-split { grid-template-columns: 1fr; }
}
