/* Dark-broadcast layer for the Leaderboard, Channel and Account pages.
   Design source: "Leaderboard and Channel Redesign Ideas" (panels 1a/1c/1d).
   Self-contained: pages opt in with <body class="dc dc-dark">; everything in
   here is scoped under .dc-dark so the light pages never see it. */

body.dc-dark {
  --dk-bg: #0A0C0A;
  --dk-ink: #F7F5F0;
  --dk-mint: #6EE7B7;
  --dk-mint-deep: #34D399;
  --dk-green: #0A9E5F;
  --dk-gold: #C7A24A;
  --dk-gold-hi: #F6C544;
  --dk-purple: #A78BFA;
  --dk-red: #E5674B;
  --dk-red-deep: #B0432B;
  --dk-card: rgba(255, 255, 255, .03);
  --dk-card2: rgba(255, 255, 255, .04);
  --dk-bd: rgba(255, 255, 255, .1);
  --dk-bd2: rgba(255, 255, 255, .08);
  --dk-tx-hi: rgba(247, 245, 240, .75);
  --dk-tx: rgba(247, 245, 240, .6);
  --dk-tx-lo: rgba(247, 245, 240, .45);
  --f-cond: 'Saira Condensed', 'Archivo', sans-serif;
  --f-saira: 'Saira', 'Hanken Grotesk', sans-serif;
  background: var(--dk-bg);
  color: var(--dk-ink);
}
body.dc-dark .dc-main { max-width: 1120px; padding: 18px 30px 90px; }
@media (max-width: 720px) { body.dc-dark .dc-main { padding: 14px 14px 90px; } }

body.dc-dark .dc-demo { background: rgba(255, 255, 255, .05); border: 1px solid var(--dk-bd2); color: var(--dk-tx); border-radius: 10px; }
body.dc-dark .dc-back { color: var(--dk-tx); }
body.dc-dark .dc-back:hover { color: var(--dk-ink); }
body.dc-dark .dc-flash { background: rgba(255, 255, 255, .05); border: 1px solid var(--dk-bd); color: var(--dk-ink); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; font-size: 13px; }
body.dc-dark .dc-flash.success { border-color: rgba(110, 231, 183, .4); }
body.dc-dark .dc-flash.danger, body.dc-dark .dc-flash.error { border-color: rgba(229, 103, 75, .45); }

@keyframes dk-shimmer { 0% { background-position: -180% 0; } 100% { background-position: 180% 0; } }
@keyframes dk-fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* flip-card entrances are opacity-ONLY: any transform on the perspective
   parent flattens its preserve-3d children and the back face bleeds through
   mirror-reversed (same lesson as .lbp in dc.css). */
@keyframes dk-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes dk-dashline { to { stroke-dashoffset: 0; } }
@keyframes dk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) {
  body.dc-dark * { animation-duration: .01s !important; transition-duration: .01s !important; }
}

/* ------------------------------------------------------------ primitives */
.dk-cap { font-family: var(--f-mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dk-tx-lo); }
.dk-card { background: var(--dk-card); border: 1px solid var(--dk-bd); border-radius: 18px; padding: 20px 22px; }
.dk-card + .dk-card, .dk-grid2 + .dk-card, .dk-card + .dk-grid2 { margin-top: 12px; }
/* side-by-side grid children space via the grid gap, not the stacking margin
   — without this the 2nd card sits 12px lower than its neighbour */
.dk-grid2 > .dk-card { margin-top: 0; }
.dk-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.dk-card-t { font-family: var(--f-cond); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; color: var(--dk-ink); }
.dk-card-line { flex: 1; height: 1px; background: var(--dk-bd); }
.dk-card-note { font-family: var(--f-mono); font-size: 9.5px; color: var(--dk-tx-lo); }
.dk-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dk-grid2.w { grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 860px) { .dk-grid2, .dk-grid2.w { grid-template-columns: 1fr; } }

.dk-av { border-radius: 50%; overflow: hidden; background: linear-gradient(150deg, #2A2A30, #101014); color: var(--dk-mint); display: flex; align-items: center; justify-content: center; font-family: var(--f-cond); font-weight: 800; flex-shrink: 0; position: relative; }
.dk-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dk-av.grn { background: linear-gradient(150deg, #1B4535, #0A1611); }

.dk-dots { display: inline-flex; gap: 4px; align-items: center; }
.dk-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; background: var(--dk-red); }
.dk-dots i.w { background: var(--dk-mint); }

.dk-gold-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 4; background: linear-gradient(90deg, #B8871A, #F6C544 45%, #FFF0BF 50%, #F6C544 55%, #B8871A); background-size: 200% 100%; animation: dk-shimmer 3.4s linear infinite; }

.dk-pos { color: var(--dk-mint) !important; }
.dk-neg { color: var(--dk-red) !important; }

.dk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--f-saira); font-weight: 700; font-size: 12.5px; border-radius: 10px; padding: 9px 15px; text-decoration: none; cursor: pointer; border: 0; }
.dk-btn.paper { background: var(--dk-ink); color: #0B0B0E; }
.dk-btn.mint { background: var(--dk-mint); color: #0B0B0E; }
.dk-btn.ghost { background: transparent; color: rgba(247, 245, 240, .85); border: 1px solid rgba(255, 255, 255, .18); }
.dk-btn.danger { background: transparent; color: var(--dk-red); border: 1px solid rgba(229, 103, 75, .4); }

.dk-chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; }
.dk-chip.mint { color: var(--dk-mint); background: rgba(110, 231, 183, .14); border: 1px solid rgba(110, 231, 183, .3); }
.dk-chip.mint-solid { color: #0B0B0E; background: var(--dk-mint); }
.dk-chip.gold { color: #0B0B0E; background: linear-gradient(135deg, #F6C544, #D99E1A); }
.dk-chip.dim { color: var(--dk-tx-lo); border: 1px solid var(--dk-bd); }
.dk-chip.red { color: var(--dk-ink); background: var(--dk-red-deep); }

/* stat tiles (channel strip + account) */
.dk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dk-stat { background: var(--dk-card2); border: 1px solid var(--dk-bd); border-radius: 14px; padding: 15px 18px; min-width: 0; }
.dk-stat b { display: block; font-family: var(--f-cond); font-weight: 800; font-size: 30px; color: var(--dk-ink); margin-top: 5px; line-height: 1; white-space: nowrap; }
@media (max-width: 860px) { .dk-stats { grid-template-columns: repeat(2, 1fr); } .dk-stat b { font-size: 24px; } }

/* charts */
.dk-chartwrap { display: flex; gap: 10px; }
.dk-chart-ylab { width: 42px; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 0 22px; text-align: right; font-family: var(--f-mono); font-size: 8px; letter-spacing: .5px; color: rgba(247, 245, 240, .4); }
.dk-chart-body { flex: 1; min-width: 0; }
.dk-chart-body svg { width: 100%; display: block; }
.dk-chart-xlab { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 1px; text-transform: uppercase; color: rgba(247, 245, 240, .35); margin-top: 2px; }
.dk-ranges { display: flex; gap: 4px; }
.dk-range { font-family: var(--f-mono); font-size: 9px; color: rgba(247, 245, 240, .4); border: 1px solid rgba(255, 255, 255, .12); background: transparent; border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.dk-range.on { color: #0B0B0E; background: var(--dk-mint); border-color: var(--dk-mint); font-weight: 700; }
/* series toggles double as the overlay's legend: a colour swatch per line
   (props dashed, matching the chart), and a neutral active state so the swatch
   colour — not a mint fill — stays the thing the eye reads. */
.dk-range .dk-sw { display: inline-block; width: 11px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.dk-sw.total { background: var(--dk-mint); }
.dk-sw.ml { background: var(--dk-gold); }
.dk-sw.props { background: repeating-linear-gradient(90deg, var(--dk-purple) 0 3px, transparent 3px 5px); }
.dk-serieslegend .dk-range.on { color: var(--dk-ink); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); font-weight: 700; }
.dk-serieslegend .dk-range.on .dk-sw.total { box-shadow: 0 0 0 1px rgba(110, 231, 183, .35); }

/* =============================================================== 1a · leaderboard */
.lbx-hero { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding: 12px 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.lbx-hero-l { min-width: 0; flex: 1; }
.lbx-kicker { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--dk-gold); }
.lbx-h1 { font-family: var(--f-cond); font-weight: 800; font-size: clamp(38px, 6vw, 62px); line-height: .9; text-transform: uppercase; letter-spacing: .005em; color: var(--dk-ink); margin: 12px 0 0; max-width: 560px; text-wrap: balance; }
.lbx-h1 em { font-style: normal; color: var(--dk-mint); }
.lbx-scores { display: flex; align-items: flex-end; gap: 26px; }
.lbx-score { text-align: right; }
.lbx-score + .lbx-score { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .14); }
.lbx-score b { display: block; font-family: var(--f-cond); font-weight: 700; font-size: 34px; color: var(--dk-ink); line-height: .9; }
.lbx-score b.mint { color: var(--dk-mint); }
.lbx-score span { display: block; font-family: var(--f-mono); font-size: 8px; letter-spacing: 1.4px; color: rgba(247, 245, 240, .5); text-transform: uppercase; margin-top: 8px; }
.lbx-sub { font-size: 14px; line-height: 1.7; color: rgba(247, 245, 240, .62); margin: 18px 0 26px; max-width: 560px; }
.lbx-sub .yt { display: inline-flex; align-items: center; gap: 5px; vertical-align: -3px; }
.lbx-sub .yt svg { width: 22px; height: 16px; display: block; filter: drop-shadow(0 1px 2px rgba(255, 0, 0, .35)); }
.lbx-sub .yt b { font-family: var(--f-head); font-weight: 800; color: var(--dk-ink); letter-spacing: -.02em; }
@media (max-width: 720px) {
  /* headline on its own line, the three platform scores as a tidy full-width
     row beneath it — no mid-row squeeze */
  .lbx-hero { gap: 14px; padding-bottom: 16px; }
  .lbx-hero-l { flex-basis: 100%; }
  .lbx-kicker { font-size: 9px; letter-spacing: 1.6px; }
  .lbx-h1 { font-size: clamp(32px, 10vw, 44px); }
  .lbx-scores { width: 100%; justify-content: flex-start; gap: 18px; }
  .lbx-score { text-align: left; }
  .lbx-score + .lbx-score { padding-left: 18px; }
  .lbx-score b { font-size: 24px; }
  .lbx-sub { font-size: 13px; margin: 14px 0 20px; }
  /* search takes its own row; the two selects split the next one */
  .lbx-controls { margin-top: 18px; }
  .lbx-search { flex-basis: 100%; }
  .lbx-sel { flex: 1; justify-content: space-between; }
  /* rank-by: label as a mini heading, tighter chips that wrap cleanly */
  .lbx-cats { gap: 6px; }
  .lbx-cats-lab { flex-basis: 100%; margin: 0 0 2px; }
  .lbx-cat, .lbx-more summary { padding: 6px 11px; font-size: 10px; }
}

/* podium flip cards */
.pdx-grid { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 16px; margin-top: 4px; }
@media (max-width: 940px) { .pdx-grid { grid-template-columns: 1fr; max-width: 480px; } }
.pdx { position: relative; height: 424px; perspective: 1600px; cursor: pointer; animation: dk-fadein .55s ease both; outline: none; }
.pdx:nth-child(2) { animation-delay: .07s; }
.pdx:nth-child(3) { animation-delay: .14s; }
.pdx:focus-visible { outline: 2px solid var(--dk-gold); outline-offset: 3px; border-radius: 22px; }
.pdx-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transition: transform .72s cubic-bezier(.3, .75, .28, 1); }
/* Belt-and-braces flip (mirrors .lbp in dc.css): backface-visibility for
   engines that honour it PLUS an opacity swap at the rotation's halfway
   point — Safari mis-renders hidden backfaces on rounded, clipped faces. */
@media (hover: hover) { .pdx:hover .pdx-in, .pdx:focus-visible .pdx-in { transform: rotateY(180deg); } }
.pdx.flip .pdx-in, .pdx:has(a:focus-visible) .pdx-in { transform: rotateY(180deg); }
.pdx-face { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pdx-front { transform: rotateY(0deg); opacity: 1; transition: opacity .18s ease .2s; background: radial-gradient(120% 120% at 82% -18%, rgba(200, 204, 210, .28), transparent 52%), linear-gradient(168deg, #23232A, #0E0E12); box-shadow: 0 20px 44px rgba(0, 0, 0, .44); }
.pdx-back { transform: rotateY(180deg); opacity: 0; transition: opacity .18s ease .2s; background: linear-gradient(168deg, #23232A, #101014); box-shadow: 0 20px 44px rgba(0, 0, 0, .44); padding: 20px 18px 18px; display: flex; flex-direction: column; }
@media (hover: hover) {
  .pdx:hover .pdx-front, .pdx:focus-visible .pdx-front { opacity: 0; }
  .pdx:hover .pdx-back, .pdx:focus-visible .pdx-back { opacity: 1; }
}
.pdx.flip .pdx-front, .pdx:has(a:focus-visible) .pdx-front { opacity: 0; }
.pdx.flip .pdx-back, .pdx:has(a:focus-visible) .pdx-back { opacity: 1; }
.pdx.gold .pdx-front { background: radial-gradient(120% 120% at 82% -18%, rgba(246, 197, 68, .42), transparent 52%), linear-gradient(168deg, #16402F, #06110B); box-shadow: 0 0 0 1px rgba(199, 162, 74, .4), 0 24px 50px rgba(0, 0, 0, .5); }
.pdx.gold .pdx-back { background: linear-gradient(168deg, #14352A, #06110B); box-shadow: 0 0 0 1px rgba(199, 162, 74, .4), 0 24px 50px rgba(0, 0, 0, .5); }
.pdx.bronze .pdx-front { background: radial-gradient(120% 120% at 82% -18%, rgba(217, 168, 119, .3), transparent 52%), linear-gradient(168deg, #2A2118, #120C07); }
.pdx.bronze .pdx-back { background: linear-gradient(168deg, #2A2118, #14100B); }
.pdx-artbox { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.pdx-glow { position: absolute; inset: 0; background: radial-gradient(46% 44% at 73% 30%, rgba(206, 210, 216, .2), transparent 72%); }
.pdx.gold .pdx-glow { background: radial-gradient(46% 44% at 73% 30%, rgba(246, 197, 68, .34), transparent 72%); }
.pdx.bronze .pdx-glow { background: radial-gradient(46% 44% at 73% 30%, rgba(223, 175, 127, .22), transparent 72%); }
/* Art tiers by aspect: squarish headshots stay bust-sized; ~1:1.5 cutouts run
   near full height (the design crop); raw ~1:3 hi-res shots cap at the card. */
.pdx-art { position: absolute; bottom: 0; right: -8px; height: 58%; filter: saturate(1.05) contrast(1.05) brightness(.9) drop-shadow(0 16px 30px rgba(0, 0, 0, .5)); }
.pdx-art.tall { height: 92%; }
.pdx-art.xtall { height: 100%; }
.pdx.gold .pdx-art.tall { height: 96%; }
.pdx-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(8, 8, 11, .96) 40%, rgba(8, 8, 11, .45) 74%, transparent), linear-gradient(to bottom, rgba(8, 8, 11, .85) 0%, rgba(8, 8, 11, .32) 26%, transparent 48%); }
.pdx.gold .pdx-shade { background: linear-gradient(to top, rgba(4, 10, 7, .96) 40%, rgba(4, 10, 7, .45) 74%, transparent), linear-gradient(to bottom, rgba(4, 10, 7, .85) 0%, rgba(4, 10, 7, .32) 26%, transparent 48%); }
.pdx-top { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 5; }
.pdx-pill { display: inline-block; font-family: var(--f-mono); font-size: 8.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #0B0B0E; background: linear-gradient(135deg, #C8CCD2, #9AA0A8); padding: 5px 12px; border-radius: 999px; }
.pdx.gold .pdx-pill { background: linear-gradient(135deg, #F6C544, #D99E1A); }
.pdx.bronze .pdx-pill { background: linear-gradient(135deg, #D9A877, #B07A45); }
.pdx-id { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.pdx-id .dk-av { width: 50px; height: 50px; font-size: 18px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .22); }
.pdx.gold .pdx-id .dk-av { width: 56px; height: 56px; font-size: 20px; box-shadow: 0 0 0 2px rgba(246, 197, 68, .7), 0 8px 20px rgba(0, 0, 0, .5); }
.pdx-nm { min-width: 0; }
.pdx-nm b { display: block; font-family: var(--f-cond); font-weight: 800; font-size: 23px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; color: var(--dk-ink); text-shadow: 0 1px 2px rgba(0, 0, 0, .98), 0 2px 9px rgba(0, 0, 0, .85), 0 0 22px rgba(0, 0, 0, .55); }
.pdx.gold .pdx-nm b { font-size: 26px; }
.pdx-nm span { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .9px; text-transform: uppercase; color: rgba(247, 245, 240, .75); margin-top: 5px; }
.pdx-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 18px; }
.pdx-roi { font-family: var(--f-cond); font-weight: 800; font-size: 48px; line-height: .82; color: var(--dk-mint); }
.pdx-roi.neg { color: var(--dk-red); }
.pdx.gold .pdx-roi { font-size: 58px; }
.pdx-roisub { font-family: var(--f-mono); font-size: 9px; letter-spacing: 1.1px; text-transform: uppercase; color: rgba(247, 245, 240, .6); margin-top: 9px; }
.pdx-netrow { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, .14); }
.pdx-netrow .k { font-family: var(--f-mono); font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(247, 245, 240, .5); }
.pdx-netrow .v { font-family: var(--f-saira); font-weight: 700; font-size: 13px; color: var(--dk-mint); }
.pdx-netrow .v.neg { color: var(--dk-red); }
.pdx-netrow .dk-dots { margin-left: auto; }
.pdx-netrow .dk-dots i { width: 9px; height: 9px; }
/* back face */
.pdx-bhead { display: flex; align-items: center; gap: 10px; }
.pdx-bhead .dk-av { width: 34px; height: 34px; font-size: 13px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.pdx.gold .pdx-bhead .dk-av { box-shadow: 0 0 0 1px rgba(246, 197, 68, .6); }
.pdx-bhead b { font-family: var(--f-cond); font-weight: 800; font-size: 20px; text-transform: uppercase; color: var(--dk-ink); letter-spacing: .01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdx-bhead i { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 8.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #B8BEC8; }
.pdx-bhead i.gold { color: var(--dk-gold); }
.pdx-bhead i.bronze { color: #C88E5C; }
.pdx-led { margin-top: 12px; flex: 1; }
.pdx-lrow { display: flex; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pdx-lrow:last-child { border-bottom: 0; }
.pdx-lrow .k { font-family: var(--f-mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: rgba(247, 245, 240, .5); }
.pdx-lrow b { margin-left: auto; font-family: var(--f-head); font-weight: 800; font-size: 16px; color: var(--dk-ink); font-variant-numeric: tabular-nums; }
.pdx-lrow b.mint { color: var(--dk-mint); }
.pdx-lrow b.gold { color: var(--dk-gold); }
.pdx-lrow .dk-dots { margin-left: auto; }
.pdx-cta { margin-top: 8px; display: flex; align-items: center; justify-content: center; background: var(--dk-ink); color: #0B0B0E; font-family: var(--f-saira); font-weight: 800; font-size: 13px; padding: 12px; border-radius: 999px; text-decoration: none; }
.pdx-cta.mint { background: var(--dk-mint); }
.pdx-note { font-family: var(--f-mono); font-size: 9px; color: rgba(247, 245, 240, .35); margin: 10px 2px 0; }
/* locked podium slot */
.pdx-locked { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-decoration: none; border: 1px dashed rgba(255, 255, 255, .2); }
.pdx-locked .medal { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--f-cond); font-weight: 800; font-size: 22px; color: #0B0B0E; background: linear-gradient(135deg, #C8CCD2, #9AA0A8); }
.pdx-locked.gold .medal { background: linear-gradient(135deg, #F6C544, #D99E1A); }
.pdx-locked.bronze .medal { background: linear-gradient(135deg, #D9A877, #B07A45); }
.pdx-locked .t { font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dk-tx); }
.pdx-locked .glock { color: rgba(247, 245, 240, .5); }
.lbx-unlock { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--f-saira); font-weight: 700; font-size: 13px; color: #0B0B0E; background: var(--dk-mint); border-radius: 999px; padding: 10px 18px; text-decoration: none; }

/* controls row: search + selects */
.lbx-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 26px 0 0; }
.lbx-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 200px; background: var(--dk-card2); border: 1px solid var(--dk-bd); border-radius: 999px; padding: 8px 14px; }
.lbx-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--dk-ink); font-family: var(--f-saira); font-size: 13px; }
.lbx-search input::placeholder { color: var(--dk-tx-lo); }
.lbx-count { font-family: var(--f-mono); font-size: 9.5px; color: var(--dk-tx-lo); }
.lbx-count b { color: var(--dk-tx-hi); }
.lbx-sel { position: relative; display: flex; align-items: center; gap: 7px; background: var(--dk-card2); border: 1px solid var(--dk-bd); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.lbx-sel-cap { font-family: var(--f-mono); font-size: 8px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dk-tx-lo); }
.lbx-sel-val { font-family: var(--f-mono); font-size: 10.5px; color: var(--dk-tx-hi); white-space: nowrap; }
.lbx-sel select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lbx-sel svg { color: var(--dk-tx-lo); }

/* rank-by chips */
.lbx-cats { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.lbx-cats-lab { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(247, 245, 240, .4); margin-right: 4px; }
.lbx-cat { font-family: var(--f-mono); font-size: 10.5px; color: rgba(247, 245, 240, .7); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 7px 14px; text-decoration: none; white-space: nowrap; }
.lbx-cat:hover { color: var(--dk-ink); border-color: rgba(255, 255, 255, .3); }
.lbx-cat.on { color: #0B0B0E; background: var(--dk-mint); border-color: var(--dk-mint); font-weight: 700; }
.lbx-more { position: relative; }
.lbx-more summary { list-style: none; font-family: var(--f-mono); font-size: 10.5px; color: rgba(247, 245, 240, .55); border: 1px dashed rgba(255, 255, 255, .2); border-radius: 999px; padding: 7px 13px; cursor: pointer; white-space: nowrap; }
.lbx-more summary::-webkit-details-marker { display: none; }
.lbx-more-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 190px; background: #101410; border: 1px solid var(--dk-bd); border-radius: 12px; padding: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.lbx-more-menu a { display: block; font-family: var(--f-mono); font-size: 10.5px; color: rgba(247, 245, 240, .75); text-decoration: none; border-radius: 8px; padding: 8px 10px; }
.lbx-more-menu a:hover { background: rgba(255, 255, 255, .06); color: var(--dk-ink); }
.lbx-more-menu a.on { color: #0B0B0E; background: var(--dk-mint); font-weight: 700; }

/* highlight banner */
.lbx-hl { display: flex; align-items: center; gap: 10px; background: rgba(199, 162, 74, .1); border: 1px solid rgba(199, 162, 74, .35); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: 13px; color: var(--dk-tx-hi); }
.lbx-hl strong { color: var(--dk-ink); }
.lbx-hl-star { color: var(--dk-gold); }
.lbx-hl-x { margin-left: auto; color: var(--dk-tx-lo); text-decoration: none; }

/* table */
.lbx-table { background: var(--dk-card); border: 1px solid var(--dk-bd); border-radius: 16px; overflow: hidden; }
/* Column set: # · channel · ROI · Prop ROI · CLV · Hit · Picks · Form L5.
   No composite-score column — a trailing metric column exists ONLY for
   More▾ sorts whose value has no column of its own (.has-metric), and the
   Prop ROI column drops until the MV ships its data (.no-props). */
.lbx-th, .lbx-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 80px 80px 72px 58px 66px 74px; gap: 10px; padding: 11px 20px; align-items: center; }
.lbx-table.has-metric .lbx-th, .lbx-table.has-metric .lbx-row { grid-template-columns: 44px minmax(0, 1fr) 76px 76px 66px 54px 60px 70px 84px; }
.lbx-table.no-props .lbx-th, .lbx-table.no-props .lbx-row { grid-template-columns: 44px minmax(0, 1fr) 84px 76px 62px 70px 80px; }
.lbx-table.no-props.has-metric .lbx-th, .lbx-table.no-props.has-metric .lbx-row { grid-template-columns: 44px minmax(0, 1fr) 80px 72px 58px 64px 74px 84px; }
.lbx-th { border-bottom: 1px solid var(--dk-bd2); font-family: var(--f-mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(247, 245, 240, .4); }
.lbx-th .r, .lbx-row .r { text-align: right; }
.lbx-th .mint { color: var(--dk-mint); }
/* header sorts — same type, hover shows the affordance, active goes gold */
.lbx-ths { color: inherit; text-decoration: none; }
.lbx-ths:hover { color: #F7F5F0; text-decoration: underline; text-underline-offset: 3px; }
.lbx-ths.on { color: var(--dk-gold, #F6C544); }
.lbx-row { padding: 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, .06); text-decoration: none; }
.lbx-row:last-of-type { border-bottom: 0; }
.lbx-row:hover { background: rgba(255, 255, 255, .04); }
.lbx-row.champ { background: linear-gradient(90deg, rgba(246, 197, 68, .07), transparent 60%); }
.lbx-row.hl { background: rgba(199, 162, 74, .08); box-shadow: inset 3px 0 0 var(--dk-gold); }
.lbx-rank { font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: rgba(247, 245, 240, .45); }
.lbx-rank.top { color: var(--dk-gold); }
.lbx-chcell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lbx-chcell .dk-av { width: 30px; height: 30px; font-size: 11px; }
.lbx-chmid { min-width: 0; }
.lbx-chname { display: block; font-family: var(--f-saira); font-weight: 600; font-size: 13.5px; color: var(--dk-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbx-chmeta { display: block; font-family: var(--f-mono); font-size: 9.5px; color: rgba(247, 245, 240, .4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbx-this { font-style: normal; font-family: var(--f-mono); font-size: 8px; font-weight: 700; letter-spacing: 1px; color: var(--dk-gold); }
.lbx-roi { font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; color: var(--dk-mint); }
.lbx-roi.neg { color: var(--dk-red); }
.lbx-proi { font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; color: var(--dk-mint); }
.lbx-proi.neg { color: var(--dk-red); }
.lbx-proi.dim { color: rgba(247, 245, 240, .3); font-weight: 400; }
.lbx-proi small { display: block; font-size: 9.5px; font-weight: 400; color: rgba(247, 245, 240, .4); }
.lbx-clv { font-family: var(--f-mono); font-size: 11.5px; color: rgba(247, 245, 240, .75); }
.lbx-clv.pos { color: var(--dk-mint); }
.lbx-clv.neg { color: var(--dk-red); }
.lbx-clv.dim { color: rgba(247, 245, 240, .3); }
.lbx-hit { font-family: var(--f-mono); font-size: 11.5px; color: rgba(247, 245, 240, .75); }
.lbx-picks { font-family: var(--f-mono); font-size: 11.5px; color: rgba(247, 245, 240, .45); }
.lbx-form { display: flex; justify-content: flex-end; gap: 3px; }
.lbx-form i { width: 7px; height: 7px; border-radius: 50%; display: block; background: var(--dk-red); }
.lbx-form i.w { background: var(--dk-mint); }
.lbx-metric { font-family: var(--f-cond); font-weight: 700; font-size: 17px; color: var(--dk-ink); white-space: nowrap; }
.lbx-metric.neg { color: var(--dk-red); }
.lbx-metric small { display: block; font-family: var(--f-mono); font-size: 9.5px; font-weight: 400; color: rgba(247, 245, 240, .4); }
.lbx-row.locked { opacity: .8; }
.lbx-row .lock, .lbx-row.locked .glock { color: rgba(247, 245, 240, .4); }
.lbx-row.xtra { display: none; }
.lbx-table.all .lbx-row.xtra { display: grid; }
.lbx-foot { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--dk-bd2); }
.lbx-footinfo summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--dk-tx-lo); cursor: pointer; }
.lbx-footinfo summary::-webkit-details-marker { display: none; }
.lbx-footinfo-body { font-size: 12px; line-height: 1.6; color: var(--dk-tx); padding-top: 8px; max-width: 640px; }
.lbx-footinfo-body b { color: var(--dk-tx-hi); }
.lbx-showall { margin-left: auto; font-family: var(--f-saira); font-weight: 700; font-size: 12px; color: var(--dk-ink); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.lbx-empty { padding: 28px 20px; font-size: 13px; color: var(--dk-tx-lo); }
/* tooltip */
.lbx-tip { position: relative; display: inline-flex; margin-left: 4px; color: rgba(247, 245, 240, .35); cursor: help; }
.lbx-tipbox { position: absolute; z-index: 40; bottom: calc(100% + 8px); right: -10px; width: 250px; background: #101410; border: 1px solid var(--dk-bd); border-radius: 10px; padding: 10px 12px; font-family: var(--f-body); font-size: 11.5px; line-height: 1.55; letter-spacing: 0; text-transform: none; color: var(--dk-tx-hi); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); display: none; }
.lbx-tip:hover .lbx-tipbox, .lbx-tip:focus .lbx-tipbox { display: block; }

@media (max-width: 860px) {
  /* mobile: # · channel · ROI · Picks. Prop ROI only when ranked by it;
     the metric column only for More▾ sorts. */
  .lbx-th, .lbx-row { grid-template-columns: 30px minmax(0, 1fr) 66px 50px; gap: 8px; padding: 11px 12px; }
  .c-proi, .c-clv, .c-hit, .c-form { display: none; }
  .lbx-table.sort-props .c-proi { display: revert; }
  .lbx-table.sort-props .lbx-th, .lbx-table.sort-props .lbx-row { grid-template-columns: 30px minmax(0, 1fr) 58px 66px 46px; }
  .lbx-table.has-metric .lbx-th, .lbx-table.has-metric .lbx-row { grid-template-columns: 30px minmax(0, 1fr) 58px 46px 66px; }
}

/* =============================================================== 1c · channel */
.cnx-hero { position: relative; height: 172px; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 160% at 82% -30%, rgba(199, 162, 74, .3), transparent 55%), linear-gradient(120deg, #16402F, #06110B); margin-top: 10px; }
.cnx-hero.plain { background: radial-gradient(120% 160% at 82% -30%, rgba(255, 255, 255, .08), transparent 55%), linear-gradient(120deg, #1C1C22, #0A0A0E); }
.cnx-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cnx-hero-blur { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(28px) brightness(.7) saturate(1.1); }
.cnx-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 14, 9, .95) 6%, rgba(6, 14, 9, .55) 46%, rgba(6, 14, 9, .12) 100%); }
.cnx-rankpill { position: absolute; top: 14px; left: 20px; z-index: 3; }
.cnx-hero-body { position: absolute; left: 20px; bottom: 18px; right: 20px; z-index: 3; }
.cnx-hero-row { display: flex; align-items: flex-end; gap: 14px; }
.cnx-hero-row .dk-av { width: 62px; height: 62px; font-size: 22px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 10px 24px rgba(0, 0, 0, .5); }
.cnx-hero-row .dk-av.champ { box-shadow: 0 0 0 3px rgba(246, 197, 68, .55), 0 10px 24px rgba(0, 0, 0, .5); }
.cnx-hero-mid { flex: 1; min-width: 0; }
.cnx-name { font-family: var(--f-cond); font-weight: 800; font-size: clamp(26px, 5vw, 40px); line-height: .9; text-transform: uppercase; color: var(--dk-ink); margin: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 2px 12px rgba(0, 0, 0, .7); }
.cnx-meta { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .6px; color: rgba(247, 245, 240, .7); margin-top: 7px; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }
.cnx-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
@media (max-width: 720px) {
  .cnx-hero { height: auto; min-height: 172px; }
  .cnx-hero-row { flex-wrap: wrap; align-items: center; }
  .cnx-actions { width: 100%; }
  .cnx-actions .dk-btn { flex: 1; }
}
.cnx-stats { margin-top: 12px; }

/* track record card */
.cnx-track { margin-top: 20px; border-radius: 18px; overflow: hidden; background: linear-gradient(158deg, #0F241C, #070F0A); border: 1px solid var(--dk-bd); box-shadow: 0 18px 40px rgba(0, 0, 0, .34); }
.cnx-track-grid { display: grid; grid-template-columns: 1fr 300px; }
@media (max-width: 860px) { .cnx-track-grid { grid-template-columns: 1fr; } }
.cnx-chart { padding: 18px 22px 14px; border-right: 1px solid var(--dk-bd2); min-width: 0; }
@media (max-width: 860px) { .cnx-chart { border-right: 0; border-bottom: 1px solid var(--dk-bd2); } }
.cnx-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cnx-chart-t { font-family: var(--f-cond); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; color: var(--dk-ink); }
.cnx-chart-t i { font-style: normal; font-family: var(--f-mono); font-weight: 400; font-size: 9px; letter-spacing: 1px; color: rgba(247, 245, 240, .45); text-transform: none; }
/* CLV rail */
.cnx-clv { padding: 20px 22px; background: radial-gradient(130% 80% at 100% 0, rgba(110, 231, 183, .13), transparent 62%); }
.cnx-clv-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cnx-clv-lab { font-family: var(--f-mono); font-size: 8.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dk-gold); }
.cnx-clv-big { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.cnx-clv-big b { font-family: var(--f-cond); font-weight: 800; font-size: 54px; line-height: .8; color: var(--dk-ink); }
.cnx-clv-big b.pos { color: var(--dk-mint); }
.cnx-clv-big b.neg { color: var(--dk-red); }
.cnx-clv-big span { font-family: var(--f-cond); font-weight: 700; font-size: 13px; text-transform: uppercase; color: var(--dk-ink); line-height: 1.05; max-width: 96px; }
.cnx-clv-p { font-size: 12px; line-height: 1.5; color: rgba(247, 245, 240, .66); margin: 14px 0 0; }
.cnx-clv-rest { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--dk-bd); display: flex; flex-direction: column; gap: 10px; }
.cnx-clv-eg { display: flex; align-items: center; gap: 8px; background: var(--dk-card2); border: 1px solid var(--dk-bd); border-radius: 9px; padding: 7px 10px; }
.cnx-clv-eg .cap { font-family: var(--f-mono); font-size: 8.5px; color: rgba(247, 245, 240, .5); }
.cnx-clv-eg .th { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex: none; background: linear-gradient(135deg, #123B2A, #0A9E5F); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.cnx-clv-eg .th img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cnx-clv-eg .who { flex: 1; min-width: 0; }
.cnx-clv-eg .who b { display: block; font-family: var(--f-saira); font-weight: 600; font-size: 12.5px; color: var(--dk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnx-clv-eg .who i { display: block; font-style: normal; font-family: var(--f-mono); font-size: 8px; letter-spacing: .6px; text-transform: uppercase; color: rgba(247, 245, 240, .45); }
.cnx-clv-eg .en { font-family: var(--f-cond); font-weight: 800; font-size: 15px; color: var(--dk-mint); }
.cnx-clv-eg .cl { font-family: var(--f-cond); font-weight: 800; font-size: 15px; color: rgba(247, 245, 240, .6); }
.cnx-clv-eg .pct { margin-left: auto; font-family: var(--f-mono); font-size: 8px; font-weight: 700; text-transform: uppercase; color: #0B0B0E; background: var(--dk-mint); border-radius: 5px; padding: 3px 7px; }
.cnx-clv-kv { display: flex; align-items: baseline; justify-content: space-between; }
.cnx-clv-kv .k { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 1px; text-transform: uppercase; color: rgba(247, 245, 240, .5); }
.cnx-clv-kv .v { font-family: var(--f-cond); font-weight: 800; font-size: 18px; color: var(--dk-mint); }
.cnx-clv-kv .v.neg { color: var(--dk-red); }
.cnx-clv-rank { font-family: var(--f-mono); font-size: 9.5px; color: var(--dk-tx-hi); text-decoration: none; border-bottom: 1px dotted rgba(247, 245, 240, .3); }
.cnx-clv-rank:hover { color: var(--dk-ink); }
/* trophy cabinet */
.cnx-shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 860px) { .cnx-shelf { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .cnx-shelf { grid-template-columns: repeat(2, 1fr); } }
.trx { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 14px 6px 12px; border-radius: 12px; background: rgba(255, 255, 255, .02); cursor: pointer; transition: background .2s ease; text-decoration: none; }
.trx:hover { background: rgba(255, 255, 255, .05); }
/* display:block matters — these are <span>s, and an inline box ignores the
   54px sizing, collapsing the medal faces to nothing. */
.trx-coinbox { display: block; perspective: 700px; width: 54px; height: 54px; }
.trx-coin { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transition: transform 1.15s cubic-bezier(.5, 0, .2, 1); will-change: transform; }
@media (hover: hover) { .trx:hover .trx-coin { transform: rotateY(540deg); } }
.trx.flip .trx-coin { transform: rotateY(540deg); }
/* Same belt-and-braces as the podium flip: opacity swaps mid-spin so a
   mis-rendered backface (Safari, rounded faces) can never show through. */
.trx-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.trx-front { transform: rotateY(0deg); opacity: 1; transition: opacity .22s ease .42s; color: #fff; font-size: 20px; box-shadow: 0 5px 13px rgba(0, 0, 0, .35), inset 0 0 0 3px rgba(255, 255, 255, .4), inset 0 -6px 10px rgba(0, 0, 0, .22); }
@media (hover: hover) {
  .trx:hover .trx-front { opacity: 0; }
  .trx:hover .trx-back { opacity: 1; }
}
.trx.flip .trx-front { opacity: 0; }
.trx.flip .trx-back { opacity: 1; }
.trx-front.gold { background: radial-gradient(120% 120% at 30% 20%, #FBE08A, #E0B93A 55%, #B8871A); }
.trx-front.silver { background: radial-gradient(120% 120% at 30% 20%, #EDF0F3, #B7BCC4 55%, #8A909A); }
.trx-front.bronze { background: radial-gradient(120% 120% at 30% 20%, #EBC49B, #C08A56 55%, #96662F); }
.trx-front.top10 { background: radial-gradient(120% 120% at 30% 20%, #4A463C, #2A2A30 60%, #14130F); }
.trx-front .n { position: absolute; bottom: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #0B0B0E; color: var(--dk-ink); font-family: var(--f-mono); font-style: normal; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .2); }
.trx-back { transform: rotateY(180deg); opacity: 0; transition: opacity .22s ease .42s; flex-direction: column; gap: 1px; background: radial-gradient(120% 120% at 30% 20%, #14352A, #06110B); box-shadow: inset 0 0 0 2px rgba(110, 231, 183, .42), 0 5px 13px rgba(0, 0, 0, .4); }
.trx-back b { font-family: var(--f-cond); font-weight: 800; font-size: 15px; color: var(--dk-mint); line-height: 1; }
.trx-back span { font-family: var(--f-mono); font-size: 6px; letter-spacing: .5px; text-transform: uppercase; color: rgba(247, 245, 240, .6); max-width: 48px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trx-lab { font-family: var(--f-saira); font-weight: 700; font-size: 11.5px; color: var(--dk-ink); text-align: center; line-height: 1.15; }
.trx-sub { font-family: var(--f-mono); font-size: 9px; color: var(--dk-tx-lo); }
.cnx-shelf-note { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .3px; text-transform: uppercase; color: rgba(247, 245, 240, .35); margin-top: 12px; }

/* bet types + divisions */
.cnx-bt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.cnx-bt:last-of-type { border-bottom: 0; }
/* the Props group caption inside the bet-type card — a divider, not a row */
.cnx-bt-cap { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; padding: 10px 0 2px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cnx-bt-cap span { font-family: var(--f-cond); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dk-tx-hi); }
.cnx-bt-cap i { font-style: normal; font-family: var(--f-mono); font-size: 9px; color: var(--dk-tx-lo); margin-left: auto; }
.cnx-bt-ico { width: 28px; height: 28px; border-radius: 9px; border: 1px solid var(--dk-bd); background: var(--dk-card2); display: flex; align-items: center; justify-content: center; color: var(--dk-tx-hi); flex: none; }
.cnx-bt-ico.ko { color: var(--dk-red); }
.cnx-bt-ico.sub { color: var(--dk-gold); }
.cnx-bt-ico.dec { color: var(--dk-tx-hi); }
.cnx-bt-ico.ml, .cnx-bt-ico.prop { color: var(--dk-mint); }
.cnx-bt-mid { flex: 1; min-width: 0; }
.cnx-bt-mid b { display: block; font-family: var(--f-saira); font-weight: 600; font-size: 13.5px; color: var(--dk-ink); }
.cnx-bt-mid i { font-style: normal; font-family: var(--f-mono); font-size: 9.5px; color: var(--dk-tx-lo); }
.cnx-bt-foot { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .8px; text-transform: uppercase; color: rgba(247, 245, 240, .35); padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .07); margin-top: 2px; }
.cnx-bt-roi { font-family: var(--f-mono); font-size: 14px; font-weight: 700; color: var(--dk-mint); text-align: right; }
.cnx-bt-roi.neg { color: var(--dk-red); }
.cnx-bt-roi small { display: block; font-size: 9.5px; font-weight: 400; color: rgba(247, 245, 240, .45); }
.cnx-bt-roi small.neg { color: rgba(229, 103, 75, .75); }
.cnx-bt-roi.dim { color: rgba(247, 245, 240, .3); }
.cnx-wc { margin-bottom: 13px; }
.cnx-wc:last-child { margin-bottom: 0; }
/* divisions card: rows share the card's height so its bottom edge always
   lines up with the (taller) bet-type card beside it */
.cnx-divs { display: flex; flex-direction: column; }
.cnx-divs .cnx-wc { flex: 1; display: flex; flex-direction: column; justify-content: center; margin-bottom: 0; }
.cnx-wc-top { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 6px; }
.cnx-wc-top b { font-weight: 600; color: var(--dk-ink); }
.cnx-wc-top span { font-family: var(--f-mono); font-weight: 700; color: var(--dk-mint); }
.cnx-wc-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.cnx-wc-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0A9E5F, #6EE7B7); }
.cnx-wc-sub { font-family: var(--f-mono); font-size: 9px; color: rgba(247, 245, 240, .4); margin-top: 5px; }

/* recent breakdowns */
.cnx-vid { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); text-decoration: none; }
.cnx-vid:last-of-type { border-bottom: 0; }
.cnx-vid.xtra { display: none; }
.cnx-vid.xtra.shown { display: flex; }
.cnx-thumb { width: 74px; height: 44px; border-radius: 8px; background: linear-gradient(150deg, #1A1A20, #0C0C10); display: flex; align-items: center; justify-content: center; font-family: var(--f-cond); font-weight: 700; font-size: 13px; color: rgba(247, 245, 240, .5); flex-shrink: 0; overflow: hidden; position: relative; }
.cnx-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cnx-vid-mid { flex: 1; min-width: 0; }
.cnx-vid-mid b { display: block; font-family: var(--f-saira); font-weight: 600; font-size: 13.5px; color: var(--dk-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cnx-vid-mid i { font-style: normal; font-family: var(--f-mono); font-size: 9.5px; color: var(--dk-tx-lo); }
.cnx-vid-roi { font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--dk-mint); white-space: nowrap; }
.cnx-vid-roi.neg { color: var(--dk-red); }
.cnx-vid-up { font-family: var(--f-mono); font-size: 8px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8AB4FF; background: rgba(37, 99, 235, .18); border: 1px solid rgba(90, 140, 255, .35); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.cnx-vid-more { text-align: center; padding-top: 12px; }
.cnx-vid-more button { font-family: var(--f-saira); font-weight: 700; font-size: 12px; color: var(--dk-ink); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
@media (max-width: 520px) { .cnx-vid-mid b { white-space: normal; } }

/* =============================================================== 1d · account */
body.dc-dark .dc-nav { display: flex; gap: 4px; font-family: var(--f-saira); font-weight: 600; font-size: 13px; }
body.dc-dark .dc-nav a { color: rgba(247, 245, 240, .6); padding: 6px 11px; text-decoration: none; border-radius: 8px; }
body.dc-dark .dc-nav a.on { color: var(--dk-ink); background: rgba(255, 255, 255, .1); }
@media (max-width: 860px) { body.dc-dark header .dc-nav { display: none; } }

.acx-head { display: flex; align-items: center; gap: 16px; padding: 10px 0 22px; border-bottom: 1px solid var(--dk-bd); }
.acx-head .dk-av { width: 60px; height: 60px; border-radius: 16px; font-size: 22px; box-shadow: 0 0 0 1px rgba(110, 231, 183, .25); }
.acx-name { font-family: var(--f-cond); font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--dk-ink); line-height: 1; }
.acx-whorow { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.acx-since { font-family: var(--f-mono); font-size: 9px; letter-spacing: .6px; text-transform: uppercase; color: rgba(247, 245, 240, .4); }

/* performance card */
.acx-perf { margin-top: 20px; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 130% at 90% -10%, rgba(110, 231, 183, .12), transparent 50%), linear-gradient(158deg, #10281F, #070F0A); border: 1px solid var(--dk-bd); }
.acx-perf-grid { display: grid; grid-template-columns: 250px 1fr; }
@media (max-width: 860px) { .acx-perf-grid { grid-template-columns: 1fr; } }
.acx-perf-l { padding: 24px; border-right: 1px solid var(--dk-bd2); display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 860px) { .acx-perf-l { border-right: 0; border-bottom: 1px solid var(--dk-bd2); } }
.acx-net { font-family: var(--f-cond); font-weight: 800; font-size: 52px; line-height: .9; color: var(--dk-mint); margin-top: 4px; }
.acx-net.neg { color: var(--dk-red); }
.acx-netsub { font-family: var(--f-mono); font-size: 10px; color: rgba(247, 245, 240, .5); margin-top: 4px; }
.acx-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acx-mini b { display: block; font-family: var(--f-cond); font-weight: 800; font-size: 24px; color: var(--dk-ink); line-height: 1; white-space: nowrap; }
.acx-mini b.mint { color: var(--dk-mint); }
.acx-mini b.red { color: var(--dk-red); }
.acx-mini span { display: block; font-family: var(--f-mono); font-size: 8px; letter-spacing: 1px; text-transform: uppercase; color: rgba(247, 245, 240, .45); margin-top: 5px; }
.acx-perf-r { padding: 20px 22px 16px; min-width: 0; }
.acx-perf-empty { padding: 34px 24px; }
.acx-perf-empty p { font-size: 13.5px; line-height: 1.6; color: var(--dk-tx); max-width: 440px; margin: 8px 0 14px; }

/* following */
.acx-follow { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); text-decoration: none; }
.acx-follow:last-of-type { border-bottom: 0; }
.acx-follow .dk-av { width: 34px; height: 34px; border-radius: 10px; font-size: 12px; }
.acx-follow-mid { flex: 1; min-width: 0; }
.acx-follow-mid b { display: block; font-family: var(--f-saira); font-weight: 600; font-size: 13px; color: var(--dk-ink); }
.acx-follow-mid i { font-style: normal; font-family: var(--f-mono); font-size: 9px; color: var(--dk-tx-lo); }
.acx-follow-roi { font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--dk-mint); }
.acx-follow-roi.neg { color: var(--dk-red); }
.acx-followcta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font-family: var(--f-saira); font-weight: 700; font-size: 12px; color: rgba(247, 245, 240, .7); border: 1px dashed rgba(255, 255, 255, .2); border-radius: 10px; padding: 10px; text-decoration: none; }
.acx-followcta:hover { color: var(--dk-ink); border-color: rgba(255, 255, 255, .35); }

/* achievements */
.acx-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.acx-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.acx-badge.off { opacity: .5; }
.acx-badge-ic { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--f-cond); font-weight: 800; font-size: 18px; color: #0B0B0E; box-shadow: 0 5px 13px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .35), inset 0 -5px 9px rgba(0, 0, 0, .2); }
.acx-badge.off .acx-badge-ic { color: rgba(247, 245, 240, .45); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.acx-badge-ic.gold { background: linear-gradient(150deg, #F6C544, #B8871A); }
.acx-badge-ic.mint { background: linear-gradient(150deg, #6EE7B7, #0A9E5F); }
.acx-badge-ic.bronze { background: linear-gradient(150deg, #C7A24A, #8A6A1E); }
.acx-badge b { display: block; font-family: var(--f-saira); font-weight: 700; font-size: 11px; color: var(--dk-ink); line-height: 1.1; }
.acx-badge i { font-style: normal; font-family: var(--f-mono); font-size: 8px; color: rgba(247, 245, 240, .4); }

/* recent bets */
.acx-bet { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.acx-bet:last-of-type { border-bottom: 0; }
.acx-bet-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--dk-mint); }
.acx-bet-dot.l { background: var(--dk-red); }
.acx-bet-dot.p { background: rgba(247, 245, 240, .35); animation: dk-pulse 2s ease infinite; }
.acx-bet-mid { flex: 1; min-width: 0; }
.acx-bet-mid b { display: block; font-family: var(--f-saira); font-weight: 600; font-size: 13px; color: var(--dk-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acx-bet-mid i { font-style: normal; font-family: var(--f-mono); font-size: 9px; color: var(--dk-tx-lo); }
.acx-clvchip { font-family: var(--f-mono); font-size: 8px; font-weight: 700; letter-spacing: .5px; border-radius: 6px; padding: 3px 7px; white-space: nowrap; color: var(--dk-mint); background: rgba(110, 231, 183, .12); border: 1px solid rgba(110, 231, 183, .25); }
.acx-clvchip.neg { color: var(--dk-red); background: rgba(229, 103, 75, .12); border-color: rgba(229, 103, 75, .3); }
.acx-bet-profit { width: 64px; text-align: right; font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--dk-mint); white-space: nowrap; }
.acx-bet-profit.neg { color: var(--dk-red); }
.acx-bet-profit.dim { color: rgba(247, 245, 240, .35); }
@media (max-width: 520px) { .acx-clvchip { display: none; } }

/* best / worst call cards */
.acx-calls { display: flex; flex-direction: column; gap: 12px; }
.acx-call { position: relative; overflow: hidden; border-radius: 18px; padding: 16px 18px; background: linear-gradient(158deg, rgba(110, 231, 183, .12), rgba(110, 231, 183, .02)); border: 1px solid rgba(110, 231, 183, .24); }
.acx-call.worst { background: rgba(255, 255, 255, .03); border-color: rgba(229, 103, 75, .3); }
.acx-call-art { position: absolute; right: -6px; bottom: -8px; width: 96px; height: 96px; overflow: hidden; opacity: .5; }
.acx-call.worst .acx-call-art { opacity: .4; }
.acx-call-art img { position: absolute; top: -4px; right: -14px; height: 138%; filter: saturate(1.05) drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.acx-call.worst .acx-call-art img { filter: grayscale(.25) saturate(1.02) drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.acx-call-in { position: relative; }
.acx-call-tags { display: flex; align-items: center; gap: 8px; }
.acx-call-via { font-family: var(--f-mono); font-size: 8.5px; color: rgba(247, 245, 240, .5); }
.acx-call-row { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.acx-call-pick { font-family: var(--f-cond); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--dk-ink); line-height: 1; }
.acx-call-u { font-family: var(--f-cond); font-weight: 800; font-size: 26px; color: var(--dk-mint); line-height: 1; }
.acx-call.worst .acx-call-u { color: var(--dk-red); }
.acx-call-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.acx-call-line .px { font-family: var(--f-mono); font-size: 10px; color: rgba(247, 245, 240, .7); }
.acx-call-line .px b { color: var(--dk-mint); }
.acx-call.worst .acx-call-line .px b { color: var(--dk-ink); }
.acx-call-line .cl { font-family: var(--f-mono); font-size: 10px; color: rgba(247, 245, 240, .55); }

/* billing */
.acx-planrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.acx-plan { font-family: var(--f-cond); font-weight: 800; font-size: 30px; text-transform: uppercase; color: var(--dk-ink); line-height: 1; }
.acx-price { margin-left: auto; font-family: var(--f-cond); font-weight: 800; font-size: 26px; color: var(--dk-ink); }
.acx-price i { font-style: normal; font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: rgba(247, 245, 240, .5); }
.acx-planmeta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--dk-bd2); }
@media (max-width: 520px) { .acx-planmeta { grid-template-columns: 1fr; } }
.acx-pm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.acx-pm .k { font-family: var(--f-mono); font-size: 9px; letter-spacing: .8px; text-transform: uppercase; color: rgba(247, 245, 240, .45); }
.acx-pm .v { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--dk-ink); }
.acx-planbtns { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.acx-planbtns .grow { flex: 1; }
.acx-hist { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--dk-bd2); }
.acx-inv { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.acx-inv:last-of-type { border-bottom: 0; }
.acx-inv .d { font-family: var(--f-mono); font-size: 11px; color: rgba(247, 245, 240, .65); width: 92px; flex-shrink: 0; }
.acx-inv .p { flex: 1; min-width: 0; font-family: var(--f-mono); font-size: 10px; color: rgba(247, 245, 240, .45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acx-inv .a { font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--dk-ink); }
.acx-inv-chip { font-family: var(--f-mono); font-size: 8px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--dk-mint); background: rgba(110, 231, 183, .12); border: 1px solid rgba(110, 231, 183, .24); border-radius: 5px; padding: 2px 7px; }
.acx-inv-chip.off { color: var(--dk-tx-lo); background: transparent; border-color: var(--dk-bd); }
.acx-footnote { font-family: var(--f-mono); font-size: 8.5px; line-height: 1.6; letter-spacing: .3px; text-transform: uppercase; color: rgba(247, 245, 240, .38); margin-top: 12px; }
.acx-cancel-confirm { margin-top: 14px; border: 1px solid rgba(229, 103, 75, .35); border-radius: 12px; padding: 14px 16px; }
.acx-cancel-confirm p { font-size: 13px; line-height: 1.55; color: var(--dk-tx-hi); margin: 0 0 12px; }
.acx-cancel-confirm b { color: var(--dk-ink); }

/* preferences + security */
.acx-regchips { display: flex; gap: 7px; flex-wrap: wrap; }
.acx-regchip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; color: rgba(247, 245, 240, .7); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.acx-regchip.on { color: #0B0B0E; background: var(--dk-mint); border-color: var(--dk-mint); }
.acx-regchip input { position: absolute; opacity: 0; pointer-events: none; }
.acx-prefnote { font-family: var(--f-mono); font-size: 8.5px; line-height: 1.7; letter-spacing: .4px; text-transform: uppercase; color: rgba(247, 245, 240, .4); margin-top: 14px; }
.acx-sec { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.acx-sec:last-of-type { border-bottom: 0; }
.acx-sec-k { flex: 1; min-width: 0; }
.acx-sec-k b { display: block; font-family: var(--f-saira); font-weight: 600; font-size: 12.5px; color: var(--dk-ink); }
.acx-sec-k i { font-style: normal; font-family: var(--f-mono); font-size: 9.5px; color: var(--dk-tx-lo); overflow-wrap: anywhere; }
.acx-empty { font-size: 13px; line-height: 1.6; color: var(--dk-tx-lo); }
