/* Leader board — the leader watch's overview (4 Oct 2026, owner's reference: a warm gradient panel, a portrait card,
   pill bars, big light numbers, lollipop bars, a ring and a dark list). Athena's gold and ink; the dark cards are dark in
   both themes on purpose. Markup: events-platforms.js board(). */
.lx { --lx-r: 24px; --lx-ink: #1f2126; position: relative; border-radius: 30px; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 18px;
  background: radial-gradient(120% 90% at 100% 100%, color-mix(in srgb, var(--accent) 34%, var(--surface)) 0%, transparent 55%),
              radial-gradient(90% 70% at 0% 0%, var(--surface) 0%, transparent 60%),
              linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--accent-soft) 85%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); box-shadow: 0 30px 60px -40px rgba(80, 60, 10, .35); }
.lx-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; }
@media (max-width: 1100px) { .lx-top { grid-template-columns: 1fr; } }
.lx-hello { max-width: 720px; display: flex; flex-direction: column; gap: 6px; }
.lx-hello > small { color: var(--text-3); font-size: 12px; }
.lx-hello h1 { margin: 2px 0 0; font: 400 clamp(26px, 2.6vw, 40px)/1.1 var(--font); letter-spacing: -.025em; color: var(--text); text-wrap: balance; }
.lx-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--text-3); font-size: 12px; }
.lx-live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--pos) 12%, var(--surface)); color: var(--pos-ink); font: 600 11.5px var(--font); }
.lx-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 0 color-mix(in srgb, var(--pos) 50%, transparent); animation: lx-pulse 1.8s ease-out infinite; }
@keyframes lx-pulse { to { box-shadow: 0 0 0 8px transparent; } }
.lx-hello h1 b { font-weight: 650; }
.lx-hello p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.lx-big { display: flex; gap: 32px; justify-content: flex-end; }
.lx-big > div { display: flex; flex-direction: column; align-items: flex-start; }
.lx-big b { font: 300 clamp(36px, 4vw, 58px)/1 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--text); }
.lx-big small { display: inline-flex; gap: 5px; align-items: center; color: var(--text-2); font-size: 12px; margin-top: 4px; }
.lx-pills { display: flex; gap: 10px; align-items: flex-end; }
.lx-pill-w { display: flex; flex-direction: column; gap: 6px; min-width: 96px; }
.lx-pill-w small { color: var(--text-2); font-size: 12px; white-space: nowrap; }
.lx-pill { display: flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font: 650 13px var(--font); font-variant-numeric: tabular-nums; }
.lx-pill.ink { background: var(--lx-ink); color: #fff; }
.lx-pill.gold { background: var(--accent); color: #2a1d05; }
.lx-pill.hatch { color: var(--text); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--text) 16%, transparent) 0 2px, transparent 2px 9px), var(--surface); border: 1px solid var(--line); }
.lx-pill.line { border: 1.5px solid color-mix(in srgb, var(--text) 30%, transparent); color: var(--text); background: transparent; }

.lx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lx-card { position: relative; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-radius: var(--lx-r); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; color: var(--text); text-decoration: none; border: 1px solid color-mix(in srgb, var(--surface) 60%, transparent); box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .25); }
.lx-card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lx-card-h h3 { margin: 0; font: 550 17px/1.2 var(--font); letter-spacing: -.01em; display: inline-flex; gap: 8px; align-items: center; }
.lx-arrow { display: inline-grid; place-items: center; min-width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); }

/* portrait */
.lx-portrait { padding: 0; overflow: hidden; min-height: 300px; justify-content: flex-end; background: linear-gradient(160deg, color-mix(in srgb, var(--pc) 30%, var(--surface-2)), var(--surface-3)); }
.lx-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease-out, ease); }
/* The whole photo, bottom-aligned, over a blurred copy of itself: a close-up never has its head cut, a wide photo never stretches */
.lx-portrait > img.lx-bg { object-fit: cover; filter: blur(22px) saturate(1.15); transform: scale(1.2); opacity: .9; }
.lx-portrait > img.lx-fg { object-fit: contain; object-position: 50% 100%; }
.lx-portrait:hover > img.lx-fg { transform: scale(1.03); }
.lx-portrait::after { content: ''; position: absolute; inset: 40% 0 0 0; background: linear-gradient(180deg, transparent, rgba(10, 10, 12, .78)); pointer-events: none; }
/* The caption carries its own dark fade: the card's ::after is taken by the polish layer's spotlight (ath-spotlight),
   which hid the fade, so a white shirt (M. K. Stalin) left the white name unreadable. */
.lx-portrait-f { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 48px 14px 22px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 12, .55) 38%, rgba(10, 10, 12, .85)); text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.lx-portrait-f > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lx-portrait-f b { font: 650 16.5px/1.2 var(--font); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-portrait-f small { color: rgba(255, 255, 255, .78); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-portrait .lx-chip { position: absolute; top: 12px; left: 12px; z-index: 3; background: rgba(15, 15, 18, .35); }
.lx-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); font: 650 13px var(--font); color: #fff; }
.lx-credit { position: absolute; bottom: 5px; right: 14px; z-index: 2; font: 500 9px var(--font); font-style: normal; color: rgba(255, 255, 255, .55); }

/* the week as lollipops */
.lx-stat { display: flex; align-items: center; gap: 10px; }
.lx-stat b { font: 300 40px/1 var(--font); letter-spacing: -.03em; }
.lx-stat small { color: var(--text-3); font-size: 11.5px; line-height: 1.3; }
.lx-lolli { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 6px; min-height: 140px; padding-top: 22px; }
.lx-lolli > div { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; }
.lx-lolli i { width: 6px; border-radius: 6px; background: var(--text); position: relative; transition: height .9s var(--ease-out, ease); }
.lx-lolli i::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--text); transform: translateX(-50%); box-shadow: 0 0 0 3px var(--surface); }
.lx-lolli > div:not(.peak) i { background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--text) 75%, transparent) 0 3px, transparent 3px 6px); }
.lx-lolli > div.peak i, .lx-lolli > div.peak i::after { background: var(--accent); }
.lx-lolli small { color: var(--text-3); font-size: 11px; margin-top: 4px; }
.lx-tip { position: absolute; top: -22px; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #2a1d05; font: 700 11px var(--font); white-space: nowrap; }

/* mood ring */
.lx-ring { position: relative; display: grid; place-items: center; }
.lx-ring .vz-ring-v { display: none; }
.lx-ring > div { position: absolute; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 112px; }
.lx-ring > div b { font: 350 34px/1 var(--font); letter-spacing: -.03em; }
.lx-ring > div small { color: var(--text-3); font-size: 10.5px; line-height: 1.25; margin-top: 4px; }
.lx-parties { display: flex; justify-content: space-around; gap: 6px; flex-wrap: wrap; }
.lx-parties > span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; }

/* platforms and the dark list */
.lx-plat { grid-row: span 2; }
.lx-pct { font: 300 34px/1 var(--font); letter-spacing: -.03em; display: inline-flex; align-items: baseline; gap: 4px; }
.lx-pct small { font-size: 11px; color: var(--text-3); }
.lx-seg { display: flex; gap: 6px; }
.lx-seg > div { display: flex; flex-direction: column; gap: 5px; min-width: 34px; }
.lx-seg small { font: 600 11px var(--font); color: var(--text-2); }
.lx-seg i { height: 32px; border-radius: 10px; background: var(--c); }
.lx-seg > div:nth-child(2) i { background: repeating-linear-gradient(135deg, var(--c) 0 6px, color-mix(in srgb, var(--c) 70%, #fff) 6px 9px); }
.lx-seg span { color: var(--text-3); font-size: 10.5px; display: inline-flex; align-items: center; }
.lx-dark { flex: 1; background: var(--lx-ink); color: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); }
.lx-dark-h { display: flex; justify-content: space-between; align-items: baseline; }
.lx-dark-h h3 { margin: 0; font: 550 15px var(--font); }
.lx-dark-h b { font: 300 28px/1 var(--font); }
.lx-dark-h b small { font-size: 14px; color: rgba(255, 255, 255, .55); }
.lx-task { display: grid; grid-template-columns: 34px 1fr 16px; gap: 10px; align-items: center; }
.lx-task-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); font: 650 12px var(--font); }
.lx-task > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.lx-task b { font: 550 12.5px/1.3 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-task small { color: rgba(255, 255, 255, .55); font-size: 11px; }
.lx-task > i { width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.lx-task > i.hot { background: var(--accent); box-shadow: 0 0 0 3px rgba(220, 158, 58, .25); }
.lx-dark .tiny { color: rgba(255, 255, 255, .6); }

/* own account, as an accordion */
.lx-acc details { border-bottom: 1px solid var(--line-2); padding: 8px 0; }
.lx-acc details:last-child { border-bottom: 0; }
.lx-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--text); }
.lx-acc summary::-webkit-details-marker { display: none; }
.lx-acc summary b { margin-left: auto; font-variant-numeric: tabular-nums; }
.lx-acc details small { display: block; color: var(--text-3); font-size: 11.5px; margin-top: 6px; }

/* the week, day by day */
.lx-cal { grid-column: span 2; }
.lx-cal-g { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); grid-auto-flow: row dense; gap: 6px 8px; }
.lx-cal-d { display: flex; flex-direction: column; align-items: center; padding: 4px 0 8px; border-bottom: 1px dashed var(--line); }
.lx-cal-d small { color: var(--text-3); font-size: 11px; }
.lx-cal-d b { font: 600 15px var(--font); }
.lx-cal-d.today b { background: var(--accent); color: #2a1d05; border-radius: 999px; padding: 1px 9px; }
.lx-ev { display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 11.5px; line-height: 1.3; box-shadow: 0 6px 14px -12px rgba(0, 0, 0, .35); transition: transform .2s var(--ease-spring, ease); min-width: 0; }
.lx-ev:hover { transform: translateY(-2px); }
.lx-ev b { display: inline-flex; gap: 4px; align-items: center; font-size: 11px; white-space: nowrap; overflow: hidden; }
.lx-ev span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lx-ev small { color: var(--text-3); font-size: 10.5px; }
.lx-ev.dark { background: var(--lx-ink); color: #fff; border-color: transparent; }
.lx-ev.dark small { color: rgba(255, 255, 255, .6); }
.lx-ev.pos { box-shadow: inset 3px 0 0 var(--pos), 0 6px 14px -12px rgba(0, 0, 0, .35); }
.lx-ev.neg { box-shadow: inset 3px 0 0 var(--neg), 0 6px 14px -12px rgba(0, 0, 0, .35); }

@media (max-width: 1200px) { .lx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lx-plat { grid-row: auto; } }
@media (max-width: 720px) { .lx { padding: 18px 14px; } .lx-grid { grid-template-columns: 1fr; } .lx-cal { grid-column: auto; } .lx-pills { flex-wrap: wrap; } .lx-big { gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .lx-portrait > img, .lx-ev { transition: none; } .lx-live i { animation: none; } }

/* platforms without data: one quiet row under the platform cards */
.pl-off { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: -4px; font-size: 12.5px; color: var(--text-3); }
.pl-off > span { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; }
.pl-off a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1px dashed var(--line); color: var(--text-2); text-decoration: none; background: var(--surface); }
.pl-off a small { color: var(--text-3); }
.pl-off a:hover { border-style: solid; color: var(--text); }

/* "Since yesterday" — the war room's first look (pulse-view.js) */
.px { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 40px -34px rgba(0, 0, 0, .35); }
.px-h h2 { margin: 0; font: 600 22px/1.2 var(--font); letter-spacing: -.015em; display: inline-flex; align-items: center; gap: 8px; }
.px-h p { margin: 4px 0 0; color: var(--text-3); font-size: 12.5px; }
.px-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.px-tiles > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); min-width: 0; }
.px-tiles small { color: var(--text-3); font-size: 11.5px; }
.px-tiles b { font: 300 32px/1.05 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.px-tiles b.pos, .px-tiles em.pos { color: var(--pos-ink); } .px-tiles b.neg, .px-tiles em.neg { color: var(--neg-ink); }
.px-tiles em { font-style: normal; }
.px-ch { font: 600 11.5px var(--font); color: var(--text-3); }
.px-ch.up { color: var(--accent-ink); } .px-ch.down { color: var(--text-2); }
.px-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.px-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.px-col h3 { margin: 4px 0 2px; font: 600 15px var(--font); display: flex; align-items: center; gap: 8px; }
.px-col h3 small { color: var(--text-3); font-weight: 500; font-size: 11.5px; margin-left: auto; }
.px-dot { width: 10px; height: 10px; border-radius: 50%; }
.px-dot.neg { background: var(--neg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--neg) 18%, transparent); }
.px-dot.pos { background: var(--pos); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pos) 18%, transparent); }
.px-post { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .2s var(--ease-out, ease), box-shadow .2s; }
.px-post:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.px-post.px-neg { box-shadow: inset 3px 0 0 var(--neg); } .px-post.px-pos { box-shadow: inset 3px 0 0 var(--pos); }
.px-post.px-neg:hover { box-shadow: inset 3px 0 0 var(--neg), var(--shadow-md); } .px-post.px-pos:hover { box-shadow: inset 3px 0 0 var(--pos), var(--shadow-md); }
.px-ic { position: relative; width: 64px; height: 64px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; color: var(--text-3); }
.px-ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.px-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.px-who { display: flex; align-items: center; gap: 5px; font-size: 12px; min-width: 0; }
.px-who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-who small { color: var(--text-3); margin-left: auto; white-space: nowrap; }
.px-text { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.px-meta { color: var(--text-3); font-size: 11.5px; }
.px-arg { display: grid; grid-template-columns: minmax(140px, 40%) 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.px-arg > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-bars { display: flex; flex-direction: column; gap: 3px; }
.px-bars i { display: block; height: 7px; border-radius: 4px; }
.px-bars i.now { background: var(--accent); } .px-bars i.before { background: var(--surface-3); }
.px-arg b { font-variant-numeric: tabular-nums; } .px-arg b small { color: var(--text-3); font-weight: 500; }
.px-dists { display: flex; flex-wrap: wrap; gap: 8px; }
.px-dists span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: var(--surface-2); }
.px-dists small { color: var(--text-3); font-size: 11.5px; }
@media (max-width: 1000px) { .px-tiles { grid-template-columns: 1fr 1fr; } .px-cols { grid-template-columns: 1fr; } }

/* Events page: the always-on leader watches as portrait cards */
.ev-watches { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; margin: 4px 0 18px; }
.ev-watch { position: relative; display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 20px; background: linear-gradient(120deg, color-mix(in srgb, var(--c) 10%, var(--surface)), var(--surface) 60%); border: 1px solid color-mix(in srgb, var(--c) 25%, var(--line)); color: var(--text); text-decoration: none; transition: transform .2s var(--ease-out, ease), box-shadow .2s; }
.ev-watch:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ev-watch > img { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; object-position: 50% 15%; }
.ev-watch > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev-watch small { color: var(--accent-ink); font: 600 11.5px var(--font); }
.ev-watch b { font: 650 20px/1.2 var(--font); letter-spacing: -.01em; }
.ev-watch em { font-style: normal; color: var(--text-2); font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-watch-k { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 12px; }
.ev-watch > i { color: var(--text-3); }

/* Admin → Leader pictures (leader-photos.js) */
.lp { display: flex; flex-direction: column; gap: 14px; max-width: 1320px; margin: 0 auto; padding-bottom: 32px; }
.lp-note { margin: 0; display: flex; gap: 6px; align-items: flex-start; color: var(--text-3); font-size: 12.5px; line-height: 1.5; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.lp-card { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.lp-card.none { border-style: dashed; }
.lp-frame { width: 96px; height: 128px; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.lp-frame img { width: 100%; height: 100%; object-fit: cover; }
.lp-frame span { font: 700 26px var(--font); color: var(--text-3); }
.lp-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lp-body b { font-size: 15px; }
.lp-body small { color: var(--text-3); font-size: 12px; }
.lp-src { align-self: flex-start; font: 600 11px var(--font); padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); }
.lp-src.up { background: color-mix(in srgb, var(--pos) 14%, transparent); color: var(--pos-ink); }
.lp-src.missing { background: var(--accent-soft); color: var(--accent-ink); }
.lp-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.lp-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: color-mix(in srgb, #0b0d12 45%, transparent); backdrop-filter: blur(6px); }
.lp-dialog { width: min(860px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 14px; }
.lp-dh { display: flex; justify-content: space-between; align-items: center; } .lp-dh h3 { margin: 0; font: 650 18px var(--font); }
.lp-edit { display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
@media (max-width: 720px) { .lp-edit { grid-template-columns: 1fr; } }
.lp-previews { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: end; }
.lp-previews small { grid-column: 1 / -1; color: var(--text-3); font-size: 11.5px; }
.lp-big { aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.lp-big img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.lp-round { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--accent); }
.lp-round img { width: 100%; height: 100%; object-fit: cover; }
.lp-form { display: flex; flex-direction: column; gap: 14px; }
.lp-form label { display: flex; flex-direction: column; gap: 6px; font: 600 13px var(--font); }
.lp-form label small { color: var(--text-3); font-weight: 400; font-size: 11.5px; }
.lp-drop { align-items: center; text-align: center; padding: 18px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--surface-2); cursor: pointer; }
.lp-drop:hover { border-color: var(--accent); }

/* Platform share (5 Oct 2026): one bar, then icon chips that open each platform. Dark cards turn X's mark white. */

.lx-share { display: flex; flex-direction: column; gap: 10px; }
.lx-share-bar { display: flex; gap: 4px; height: 30px; }
.lx-share-bar i { min-width: 6px; border-radius: 9px; background: var(--c); }
.lx-share-bar i:nth-child(2) { background: repeating-linear-gradient(135deg, var(--c) 0 6px, color-mix(in srgb, var(--c) 70%, #fff) 6px 9px); }
.lx-share-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.lx-share-i { display: flex; align-items: center; gap: 7px; padding: 5px 8px 5px 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 12px; min-width: 0; }
.lx-share-i > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-share-i b { font: 650 12px var(--font); font-variant-numeric: tabular-nums; }
a.lx-share-i:hover { border-color: var(--c); box-shadow: 0 0 0 1px var(--c); }

/* A platform's icon on a round chip: readable on light, dark and coloured grounds */
.pv-ni { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }


/* The platform filter (All platforms page) */
.pv-bar { position: sticky; top: 0; z-index: 6; display: flex; gap: 6px; padding: 8px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: thin; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 10px 26px -22px rgba(0, 0, 0, .4); }
.pv-bar a { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 6px 12px 6px 6px; border-radius: 999px; color: var(--text-2); text-decoration: none; font: 550 13px var(--font); border: 1px solid transparent; transition: background .15s, color .15s; }
.pv-bar a small { font: 600 11px var(--font); color: var(--text-3); font-variant-numeric: tabular-nums; }
.pv-bar a:hover { background: var(--surface-2); color: var(--text); }
.pv-bar a.on { background: var(--primary); color: var(--on-primary); }
.pv-bar a.on small { color: color-mix(in srgb, var(--on-primary) 70%, transparent); }
.pv-bar a.off { opacity: .6; }
.pv-bar a.off small { font-style: italic; }

/* One platform in full */
.pv { margin-bottom: 16px; }
.pv .lx-kick { gap: 8px; }
.pv-src { color: var(--text-3); font-size: 12px; line-height: 1.4; }
.pv-grid { margin-top: 2px; }
.pv-parties { display: flex; flex-direction: column; gap: 10px; }
.pv-party { display: grid; grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) minmax(120px, auto); align-items: center; gap: 14px; }
.pv-pn { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pv-pn b { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-pv { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.pv-pv small { color: var(--text-3); font-size: 11px; white-space: nowrap; }
.pv-party .vz-stack { width: 100%; }
@media (max-width: 720px) { .pv-party { grid-template-columns: 1fr; gap: 6px; } .pv-pv { justify-content: flex-start; } }
.pv-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .pv-posts { grid-template-columns: 1fr; } }
.pv-post { display: flex; gap: 12px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; min-width: 0; }
.pv-post:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.pv-post img { width: 72px; height: 72px; flex: none; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.pv-post-b { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.pv-donut { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pv-cov { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pv-cov > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.pv-cov b { font: 400 24px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pv-cov small { color: var(--text-3); font-size: 11.5px; line-height: 1.35; }
.pv-tone { min-width: 90px; }
a.pl-card.pl-go { text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
a.pl-card.pl-go:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.cc-net.cc-go { cursor: pointer; transition: border-color .15s, transform .15s; }
.cc-net.cc-go:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }

/* Public mood as positive / neutral / negative (5 Oct 2026) */
.lx-mood { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.lx-mood .vz-donut-v { font-size: 26px; }
.lx-mood-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; min-width: 130px; }
.lx-mood-l li { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; }
.lx-mood-l li i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.lx-mood-l li b { font: 650 14px var(--font); font-variant-numeric: tabular-nums; }
.lx-mood-l .lx-mood-n { display: block; color: var(--text-3); font-size: 11px; margin-top: 2px; }
.lx-parties > span { gap: 5px; }
.lx-key { display: flex; justify-content: center; }

/* Insight deck on the dark card, and the own-accounts slideshow */
.lx-dark-h small { color: rgba(255, 255, 255, .5); font-size: 11px; }
.lx-deck { color: #fff; flex: 1; }
.lx-deck .vz-ss-k { color: var(--accent); }
.lx-deck p { margin: 0; color: rgba(255, 255, 255, .86); }
.lx-deck .vz-pnkey { color: rgba(255, 255, 255, .65); }
.dk-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dk-fact { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, currentColor 8%, transparent); min-width: 0; }
.dk-fact b { font: 400 22px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-fact small { font-size: 11px; opacity: .7; line-height: 1.3; }
.dk-legend { display: flex; }
.dk-line { width: 100%; height: auto; }
.dk-line .dk-mid { stroke: currentColor; stroke-opacity: .25; stroke-dasharray: 3 4; }
.dk-line .dk-ax { fill: currentColor; fill-opacity: .55; font: 600 9px var(--font); }
.dk-hyp { padding: 8px 10px; border-radius: 10px; border-left: 3px solid var(--accent); background: color-mix(in srgb, currentColor 7%, transparent); }
.dk-note { font-size: 11px; opacity: .7; display: flex; gap: 5px; align-items: flex-start; }
.dk-q { margin: 0; padding: 9px 11px; border-radius: 12px; background: color-mix(in srgb, currentColor 7%, transparent); font-size: 12.5px; line-height: 1.45; display: flex; flex-direction: column; gap: 5px; }
.dk-q.pos { border-left: 3px solid var(--pos); } .dk-q.neg { border-left: 3px solid var(--neg); }
.dk-q small { display: inline-flex; gap: 5px; align-items: center; opacity: .7; font-size: 10.5px; }
.dk-bar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 12px; }
.dk-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-bar i { height: 8px; border-radius: 4px; }
.dk-bar b { font-variant-numeric: tabular-nums; }
.dk-news { display: flex; flex-direction: column; gap: 2px; padding: 7px 10px; border-radius: 10px; background: color-mix(in srgb, currentColor 7%, transparent); color: inherit; text-decoration: none; font-size: 12px; }
.dk-news b { font-size: 11px; opacity: .75; }
.dk-news span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dk-news:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.dk-plat { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 12.5px; }
.dk-plat span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-plat small { grid-column: 2 / -1; opacity: .65; font-size: 11px; margin-top: -4px; }
.dk-link { color: var(--accent); font: 600 12px var(--font); text-decoration: none; }
.dk-link:hover { text-decoration: underline; }
.dk-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.dk-chart { display: flex; flex-direction: column; gap: 3px; }
.dk-chart small { font-size: 11px; color: var(--text-3); }
.dk-mini, .dk-chart .vz-spark { width: 100%; height: 46px; }
.lx-own { color: var(--text); flex: 1; }
.lx-own .vz-slide h4 a { color: inherit; text-decoration: none; }
.lx-own .vz-slide h4 a:hover { text-decoration: underline; }
.lx-own .vz-ss-k { display: inline-flex; gap: 6px; align-items: center; color: var(--text-2); }
.lx-own .dk-fact { background: var(--surface-2); }
.lx-acc-ic { display: inline-flex; gap: 3px; }
.lx-acc-ic .pv-ni { width: 22px; height: 22px; }

/* The party table as percentages */
.pl-matrix3 td { padding: 6px; vertical-align: top; }
.pl-c3 { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); min-width: 120px; }
.pl-c3 b { font: 400 22px/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 5px; }
.pl-c3 b small { font: 600 11px var(--font); color: var(--text-3); letter-spacing: 0; }
.pl-c3 b.pos { color: var(--pos-ink); } .pl-c3 b.neg { color: var(--neg-ink); }
.pl-c3-n { font-size: 11px; color: var(--text-3); }
.pl-c3.na { color: var(--text-3); font-size: 12px; text-align: center; }
.pl-matrix3 tr.tot .pl-c3 { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.vz-take .vz-pnkey { margin-left: 8px; }
/* Parties in the mood card: one row each — logo, name, then positive · neutral · negative */
.lx-moodcard .lx-parties { flex-direction: column; flex-wrap: nowrap; gap: 6px; }
.lx-moodcard .lx-parties > span { flex-direction: row; justify-content: flex-start; gap: 8px; font-size: 12.5px; }
.lx-moodcard .lx-parties > span b { flex: 1; text-align: left; }

/* ===== Readability pass (owner, 5 Oct 2026, second review) ===== */
/* Calendar and quotes use their own classes: the global .pos / .neg colours turned whole cards green or red */
.lx-ev.lx-ev-pos { box-shadow: inset 3px 0 0 var(--pos), 0 6px 14px -12px rgba(0, 0, 0, .35); }
.lx-ev.lx-ev-neg { box-shadow: inset 3px 0 0 var(--neg), 0 6px 14px -12px rgba(0, 0, 0, .35); }
.lx-ev { font-size: 12px; padding: 9px 11px; }
.lx-ev b { font-size: 11.5px; }
.dk-q { color: #fff; }
.dk-q.dk-pos { border-left: 3px solid var(--pos); }
.dk-q.dk-neg { border-left: 3px solid var(--neg); }

/* Insights deck: larger type that fills the card */
.lx-deck .vz-ss-track { display: flex; flex-direction: column; }
.lx-deck .vz-slide { flex: 1; gap: 12px; }
.lx-deck .vz-slide h4 { font-size: 20px; line-height: 1.25; }
.lx-deck .vz-ss-k { font-size: 12px; }
.lx-deck .vz-ss-b { font-size: 14px; line-height: 1.55; gap: 12px; }
.lx-deck .dk-fact b { font-size: 26px; }
.lx-deck .dk-fact small { font-size: 12px; }
.lx-deck .dk-q { font-size: 14.5px; line-height: 1.55; padding: 12px 14px; }
.lx-deck .dk-bar { font-size: 13.5px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; }
.lx-deck .dk-bar i { height: 10px; }
.lx-deck .dk-plat { font-size: 14px; }
.lx-deck .dk-news { font-size: 13.5px; padding: 10px 12px; }
.lx-deck .dk-line { min-height: 170px; }
.lx-deck .dk-hyp { font-size: 14.5px; padding: 12px 14px; }

/* Platform share: the bar's parts open each platform */
.lx-share-bar a { min-width: 6px; border-radius: 9px; background: var(--c); transition: transform .15s, filter .15s; }
.lx-share-bar a:nth-child(2) { background: repeating-linear-gradient(135deg, var(--c) 0 6px, color-mix(in srgb, var(--c) 70%, #fff) 6px 9px); }
.lx-share-bar a:hover { transform: translateY(-2px); filter: brightness(1.05); }
.lx-mood-l li[data-drill] { cursor: pointer; border-radius: 6px; padding: 2px 4px; margin: -2px -4px; }
.lx-mood-l li[data-drill]:hover { background: var(--surface-2); }

/* A platform icon centred in its chip (the X mark sat off-centre) */
.pv-ni { line-height: 0; }
.pv-ni .ni { display: block; margin: 0; }

/* Own accounts slide */
.lx-own .vz-slide { gap: 10px; }
.oa-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.oa-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); line-height: 0; }
.oa-h b { display: block; font: 650 16px/1.2 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oa-h small { color: var(--text-3); font-size: 12px; }
.oa-open { color: var(--text-3); padding: 6px; border-radius: 8px; }
.oa-open:hover { background: var(--surface-2); color: var(--text); }
.oa-ks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.oa-k { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); min-width: 0; }
.oa-k b { font: 400 24px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.oa-k span { font-size: 12px; color: var(--text-2); }
.oa-k em { display: block; font-style: normal; color: var(--pos-ink); font-weight: 600; }
.oa-chart { display: flex; flex-direction: column; gap: 4px; }
.oa-ct { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--text-2); }
.oa-ct b { font-weight: 600; color: var(--text); }
.oa-chart .vz-spark, .oa-bars { width: 100%; height: 52px; }
.oa-mood { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.oa-mood > span small { color: var(--text-3); margin-left: 4px; }
.oa-row { display: flex; justify-content: space-between; font-size: 13px; }
.oa-row b { font-weight: 650; }
.oa-best { display: flex; gap: 10px; padding: 9px; border-radius: 12px; background: var(--surface-2); color: inherit; text-decoration: none; font-size: 12.5px; line-height: 1.4; }
.oa-best img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; flex: none; }
.oa-best small { display: block; color: var(--text-3); font-size: 11.5px; }
.oa-best > span > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oa-note { color: var(--text-2); font-size: 13px; margin: 6px 0 0; }

/* The positive / neutral / negative bar with labelled, clickable parts */
.sx3 { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sx3-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--surface-2); }
.sx3-bar button { border: 0; padding: 0; cursor: pointer; min-width: 4px; transition: filter .15s; }
.sx3-bar button:hover { filter: brightness(1.12) saturate(1.1); }
.sx3-bar .p { background: var(--pos); }
.sx3-bar .z { background: color-mix(in srgb, var(--text-3) 70%, var(--surface)); }
.sx3-bar .n { background: var(--neg); }
.sx3-none { flex: 1; }
.sx3-l { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }
.sx3-l button { border: 0; background: none; padding: 1px 0; cursor: pointer; font: inherit; color: var(--text-2); border-bottom: 1px dashed transparent; }
.sx3-l button b { font-weight: 700; font-variant-numeric: tabular-nums; }
.sx3-l .p b { color: var(--pos-ink); }
.sx3-l .n b { color: var(--neg-ink); }
.sx3-l .z b { color: var(--text); }
.sx3-l button:hover { color: var(--text); border-bottom-color: currentColor; }
.sx3-l .all { margin-left: auto; color: var(--accent-ink, var(--text)); font-weight: 600; }

/* Sentiment by source tables */
.sx .sx-row { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(0, 1.4fr) minmax(0, 1.4fr); gap: 22px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.sx .sx-head { border-top: 0; padding: 2px 0 6px; font: 600 11.5px var(--font); color: var(--text-3); }
.sx-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sx-who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.sx-who b { font: 600 13.5px/1.3 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-who small { color: var(--text-3); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-ic { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); font: 700 15px var(--font); line-height: 0; }
.sx-ic.h { color: var(--accent-ink, var(--accent)); }
.sx .sx-who .pv-ni { width: 30px; height: 30px; }
@media (max-width: 1000px) { .sx .sx-row { grid-template-columns: 1fr; gap: 8px; } .sx .sx-head { display: none; } }

/* The side panel behind a number */
.dr-wrap { position: fixed; inset: 0; z-index: 9000; background: rgba(15, 17, 22, .32); backdrop-filter: blur(2px); display: flex; justify-content: flex-end; animation: dr-fade .2s ease; }
@keyframes dr-fade { from { opacity: 0; } }
.dr { width: min(620px, 100%); height: 100%; background: var(--surface); color: var(--text); display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .4); animation: dr-in .25s var(--ease-out, ease); }
@keyframes dr-in { from { transform: translateX(40px); opacity: .4; } }
.dr-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 18px 20px 10px; }
.dr-h small { color: var(--text-3); font-size: 12px; }
.dr-h h3 { margin: 2px 0 0; font: 600 19px/1.25 var(--font); }
.dr-kind, .dr-tabs { display: flex; gap: 6px; padding: 0 20px 10px; flex-wrap: wrap; }
.dr-summary { display: flex; align-items: baseline; gap: 7px; padding: 0 20px 10px; color: var(--text-3); font-size: 12px; }
.dr-summary b { color: var(--text); font: 650 13px var(--font); }
.dr-kind button, .dr-tabs button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font: 600 12.5px var(--font); color: var(--text-2); cursor: pointer; }
.dr-kind button.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.dr-tabs button small { font-weight: 500; opacity: .75; margin-left: 3px; }
.dr-tabs button.on.all { background: var(--surface-2); color: var(--text); border-color: var(--text-3); }
.dr-tabs button.on.favours { background: color-mix(in srgb, var(--pos) 14%, var(--surface)); color: var(--pos-ink); border-color: var(--pos); }
.dr-tabs button.on.none { background: var(--surface-2); color: var(--text); border-color: var(--text-3); }
.dr-tabs button.on.attacks { background: color-mix(in srgb, var(--neg) 12%, var(--surface)); color: var(--neg-ink); border-color: var(--neg); }
.dr-list { flex: 1; overflow-y: auto; padding: 4px 20px 10px; display: flex; flex-direction: column; gap: 10px; }
.dr-it { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; }
a.dr-it:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.dr-it img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.dr-it > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.dr-comment { display: grid; grid-template-columns: minmax(138px, .45fr) minmax(0, 1fr); align-items: start; }
.dr-profile { display: flex; align-items: center; gap: 9px; min-width: 0; color: inherit; text-decoration: none; }
a.dr-profile:hover b { text-decoration: underline; }
.dr-profile > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.dr-profile b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 650 12.5px var(--font); }
.dr-profile small { color: var(--text-3); font-size: 10.5px; line-height: 1.3; }
.dr-avatar, .dr-it img.dr-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; background: var(--surface-2); color: var(--text-2); font: 700 13px var(--font); }
.dr-it p { margin: 0; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.dr-it small { color: var(--text-3); font-size: 12px; }
.dr-m { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.dr-m .dr-s { margin-left: auto; }
.dr-s { padding: 2px 9px; border-radius: 999px; font: 650 11px var(--font); background: var(--surface-2); color: var(--text-2); }
.dr-s.p { background: color-mix(in srgb, var(--pos) 15%, var(--surface)); color: var(--pos-ink); }
.dr-s.n { background: color-mix(in srgb, var(--neg) 13%, var(--surface)); color: var(--neg-ink); }
.dr-post { font-size: 12px; color: var(--text-3); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.dr-post:hover { color: var(--text); }
.dr-more { padding: 10px 20px 18px; display: flex; justify-content: center; }
@media (max-width: 540px) { .dr-comment { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .dr-wrap, .dr { animation: none; } }

/* The party table, easier to read */
.pl-matrix3 { table-layout: fixed; width: 100%; }
.pl-matrix3 thead th:first-child, .pl-matrix3 tbody th { width: 170px; }
.pl-matrix3 tbody th { font-weight: 600; font-size: 13.5px; }
.pl-matrix3 tbody th .pv-ni { margin-right: 6px; vertical-align: middle; display: inline-grid; }
.pl-ph { display: inline-flex; align-items: center; gap: 8px; }
.pl-ph b { font: 650 14px var(--font); }
.pl-c3 { gap: 7px; padding: 10px 12px; cursor: pointer; transition: box-shadow .15s; }
.pl-c3:hover { box-shadow: 0 0 0 1.5px var(--accent); }
.pl-c3 b { font-size: 26px; }
.pl-c3 b.pl-up { color: var(--pos-ink); }
.pl-c3 b.pl-down { color: var(--neg-ink); }
.pl-c3 b small { font-size: 12px; }
.pl-c3 .vz-stack { height: 8px; }
.pl-c3-n { display: flex; gap: 12px; font-size: 12px; }
.pl-c3-n em { font-style: normal; font-weight: 600; }
.pl-c3-n em.z { color: var(--text-2); }
.pl-c3-n em.n { color: var(--neg-ink); }
.lx-deck .dk-fact b { font-size: 21px; white-space: normal; overflow-wrap: anywhere; line-height: 1.15; }
.lx-deck .dk-facts { gap: 10px; }

/* Calendar as rows: one day per row, newest first, its two most engaged posts side by side */
.lx-cal-rows { display: flex; flex-direction: column; gap: 10px; }
.lx-cal-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: stretch; }
.lx-cal-row .lx-cal-d { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 12px; background: var(--surface-2); padding: 6px 0; }
.lx-cal-row .lx-cal-d small { font-size: 11px; color: var(--text-3); }
.lx-cal-row .lx-cal-d b { font: 600 17px/1 var(--font); }
.lx-cal-row .lx-cal-d.today { background: var(--accent); }
.lx-cal-row .lx-cal-d.today small, .lx-cal-row .lx-cal-d.today b { color: #2a1d05; }
.lx-cal-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lx-cal-items .lx-ev { font-size: 12.5px; line-height: 1.4; }
.lx-cal-items .lx-ev b { font-size: 12px; }
.lx-cal-items .lx-ev span { -webkit-line-clamp: 2; }
.lx-cal-none { align-self: center; color: var(--text-3); font-size: 12px; }
/* Deck topic bars: the name on its own line */
.lx-deck .dk-bar { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.lx-deck .dk-bar > span:first-child { white-space: normal; overflow: visible; font-weight: 550; }
.dk-bar-r { display: flex; align-items: center; gap: 8px; }
.dk-bar-r i { display: block; flex: none; }
.dk-bar-r b { font-variant-numeric: tabular-nums; }
.lx-deck .dk-fact b { font-size: 20px; overflow-wrap: normal; word-break: keep-all; }
.dr-ai { color: var(--text-2) !important; font-style: italic; }
.pl-card .pl-row { flex-wrap: wrap; gap: 4px 8px; }
/* X's mark fills its whole square while the other logos leave a margin: scale it so it sits optically centred */
.ni[title="X"] { transform: scale(.84); }

/* ===== Home analysis (5 Oct 2026): sentiment tiles, top content, topics & events and their dossier ===== */
.ha-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.ha-tile { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--surface-2); min-width: 0; }
.ha-tile > small { font: 600 12.5px var(--font); color: var(--text-2); }
.ha-tile > em { font-style: normal; font-size: 11.5px; color: var(--text-3); }
.ha-big { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.ha-big b { font: 400 30px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ha-big b.p { color: var(--pos-ink); } .ha-big b.n { color: var(--neg-ink); margin-left: 8px; }
.ha-big span { font-size: 12px; color: var(--text-2); }
.ha-tile .sx3-l { font-size: 11.5px; }

.ha-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.ha-switch button { border: 0; background: transparent; border-radius: 999px; padding: 5px 12px; font: 600 12.5px var(--font); color: var(--text-2); cursor: pointer; }
.ha-switch button.on { background: var(--primary); color: var(--on-primary); }
.ha-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .ha-cols { grid-template-columns: 1fr; } }
.ha-col { display: flex; flex-direction: column; gap: 8px; }
.ha-col h4 { margin: 0 0 2px; font: 650 14px var(--font); display: flex; align-items: center; gap: 8px; }
.ha-col h4 i { width: 10px; height: 10px; border-radius: 50%; }
.ha-col-neg h4 i { background: var(--neg); } .ha-col-pos h4 i { background: var(--pos); }
.ha-col-neg .ha-it { border-left: 3px solid var(--neg); } .ha-col-pos .ha-it { border-left: 3px solid var(--pos); }
.ha-it { display: flex; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; min-width: 0; }
.ha-it:hover { box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .35); }
.ha-it img, .ha-noimg { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-2); display: grid; place-items: center; }
.ha-it-b { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.ha-it-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.ha-it-h small { margin-left: auto; color: var(--text-3); font-size: 11.5px; }
.ha-it-t { font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ha-it-b > small { color: var(--text-3); font-size: 11.5px; }
.ha-more { align-self: flex-start; border: 0; background: none; padding: 4px 0; font: 600 12.5px var(--font); color: var(--accent-ink, var(--text)); cursor: pointer; }
.ha-more:hover { text-decoration: underline; }

.ha-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .ha-stories { grid-template-columns: 1fr; } }
.ha-story { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.ha-story-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ha-story-h img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.ha-story-h > span:nth-child(2), .ha-story-h > span:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ha-story-h small { color: var(--text-3); font-size: 11.5px; }
.ha-story-h b { font: 650 15px/1.3 var(--font); text-wrap: balance; }
.ha-tl { display: flex; align-items: flex-end; gap: 2px; height: 36px; width: 70px; }
.ha-tl i { flex: 1; min-width: 4px; border-radius: 2px; background: var(--accent); }
.ha-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ha-chip { padding: 3px 9px; border-radius: 999px; font: 600 11.5px var(--font); background: var(--surface-2); color: var(--text-2); }
.ha-chip.own { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); color: var(--text); }
.ha-chip.news { background: color-mix(in srgb, #0f766e 14%, var(--surface)); color: #0f766e; }
.ha-chip.rival { background: color-mix(in srgb, #b45309 14%, var(--surface)); color: #b45309; }
.ha-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ha-two small { display: block; font-size: 11.5px; color: var(--text-3); margin-bottom: 4px; }
.ha-open { align-self: flex-start; }

/* The topic dossier (a wider side panel) */
.dr.dr-story { width: min(820px, 100%); }
.ds { gap: 18px; }
.ds section { display: flex; flex-direction: column; gap: 8px; }
.ds h4 { margin: 0; font: 650 14px var(--font); }
.ds h4.neg { color: var(--neg-ink); } .ds h4.pos { color: var(--pos-ink); }
.ds-kw { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.ds-kw span { padding: 2px 8px; border-radius: 999px; background: var(--surface-2); font-size: 11.5px; color: var(--text-2); }
.ds-k { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ds-k div { padding: 10px; border-radius: 12px; background: var(--surface-2); display: flex; flex-direction: column; gap: 2px; }
.ds-k b { font: 400 22px/1.1 var(--font); font-variant-numeric: tabular-nums; }
.ds-k small { font-size: 11.5px; color: var(--text-3); }
.ds-tl { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.ds-tl > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; min-width: 0; }
.ds-tl i { width: 100%; max-width: 46px; border-radius: 6px 6px 2px 2px; background: var(--accent); }
.ds-tl b { font-size: 11.5px; } .ds-tl small { font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.ds-src { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 2px; }
.ds-srcl { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--text-2); }
.ds-srcl i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.ds-two { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ds-ch { display: flex; flex-direction: column; gap: 6px; }
.ds-ch > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center; font-size: 13px; padding: 6px 0; border-top: 1px solid var(--line); }
.ds-ch small { color: var(--text-3); }
@media (max-width: 700px) { .ds-k { grid-template-columns: repeat(2, 1fr); } .ds-two, .ha-two { grid-template-columns: 1fr; } }
.ha-tile .sx3-l .p, .ha-tile .sx3-l .n { display: none; }
.ha-big b { font-size: 26px; }
.ds h4.ds-neg { color: var(--neg-ink); } .ds h4.ds-pos { color: var(--pos-ink); }

/* Issues Athena created from the news, in the Issues & events list */
.ev-card.auto { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.ev-card.auto .ev-kind { background: color-mix(in srgb, var(--accent) 20%, var(--surface)); color: var(--text); display: inline-flex; gap: 4px; align-items: center; }

/* ===== Leaders page (views/leaders.js, 5 Oct 2026) ===== */
.ld { display: flex; flex-direction: column; gap: 16px; }
.ld-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.ld-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: inset 0 3px 0 var(--c); min-width: 0; }
.ld-card.own { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, var(--surface)), var(--surface) 40%); }
.ld-h { display: flex; align-items: center; gap: 12px; }
.ld-h img, .ld-noimg { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--c); background: var(--surface-2); display: grid; place-items: center; font: 650 18px var(--font); }
.ld-h > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ld-h b { font: 650 17px/1.2 var(--font); }
.ld-h small { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); font-size: 12px; }
.ld-k { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ld-k > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); min-width: 0; }
.ld-k small { color: var(--text-3); font-size: 11.5px; }
.ld-k b { font: 600 13px/1.35 var(--font); }
.ld-k b em { font-style: normal; font: 650 19px var(--font); font-variant-numeric: tabular-nums; }
.ld-k em.p { color: var(--pos-ink); } .ld-k em.n { color: var(--neg-ink); }
.ld-k b.na { color: var(--text-3); font-weight: 500; }
.ld-k span { color: var(--text-3); font-size: 11.5px; }
.ld-trend { display: flex; flex-direction: column; gap: 4px; }
.ld-trend > div { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--text-2); }
.ld-trend b { color: var(--text); }
.ld-trend .vz-spark { width: 100%; height: 44px; }
.ld-plat, .ld-nar { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 12px; }
.ld-plat span, .ld-nar span { padding: 3px 9px; border-radius: 999px; background: var(--surface-2); display: inline-flex; align-items: center; gap: 4px; }
.ld-nar small { font: 650 11.5px var(--font); margin-right: 3px; }
.ld-nar small.p { color: var(--pos-ink); } .ld-nar small.n { color: var(--neg-ink); }
.ld-best { display: flex; gap: 10px; padding: 9px; border-radius: 12px; background: var(--surface-2); color: inherit; text-decoration: none; font-size: 12.5px; line-height: 1.4; }
.ld-best img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; flex: none; }
.ld-best small { display: flex; align-items: center; gap: 4px; color: var(--text-3); font-size: 11.5px; margin-bottom: 2px; }
.ld-act { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }

/* ===== Key pointers and What the news is saying (Home, 5 Oct 2026) ===== */
.kp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1000px) { .kp-list { grid-template-columns: 1fr; } }
.kp-it { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); color: inherit; text-decoration: none; border-left: 3px solid var(--text-3); }
a.kp-it:hover { box-shadow: 0 6px 16px -12px rgba(0, 0, 0, .4); }
.kp-it.kp-good { border-left-color: var(--pos); } .kp-it.kp-bad { border-left-color: var(--neg); } .kp-it.kp-watch { border-left-color: var(--accent); }
.kp-ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--surface); color: var(--text-2); }
.kp-good .kp-ic { color: var(--pos-ink); } .kp-bad .kp-ic { color: var(--neg-ink); } .kp-watch .kp-ic { color: var(--accent-ink, var(--accent)); }
.kp-it b { display: block; font: 550 13.5px/1.45 var(--font); }
.kp-it small { display: block; color: var(--text-3); font-size: 11.5px; margin-top: 2px; }
.kp-hyp { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); font-size: 13px; display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.kp-hyp em { color: var(--text-3); font-size: 12px; }
.kp-nl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { .kp-nl { grid-template-columns: 1fr; } }
.kp-n { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; }
.kp-n small { color: var(--text-3); font-size: 11.5px; }
.kp-n b { font: 600 14px/1.4 var(--font); }
.kp-nr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 11.5px; color: var(--text-3); }
.kp-nr i { font-style: normal; }

/* ===== Leader board, third review (5 Oct 2026) ===== */
/* Read by AI and platforms live: small chips in the corner */
.lx-corner { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); color: var(--text-2); font: 600 11px var(--font); }
/* The sources, shown plainly at the top: the leader's own profiles, news channels, hashtags & keywords */
.lx-src { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .lx-src { grid-template-columns: 1fr; } }
.lx-src-t { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid color-mix(in srgb, var(--surface) 60%, var(--line)); box-shadow: 0 10px 26px -22px rgba(0, 0, 0, .3); min-width: 0; }
.lx-src-h { display: flex; align-items: center; gap: 10px; }
.lx-src-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--accent) 18%, var(--surface)); color: var(--text); font: 750 16px var(--font); }
.lx-src-h b { display: block; font: 650 14.5px/1.25 var(--font); }
.lx-src-h small { color: var(--text-3); font-size: 11.5px; }
.lx-src-n { display: flex; gap: 22px; }
.lx-src-n b { font: 350 28px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lx-src-n small { display: block; color: var(--text-3); font-size: 11.5px; margin-top: 2px; }
.lx-src-r > small { display: block; font: 600 11.5px var(--font); color: var(--text-2); margin-bottom: 4px; }
/* Pill bars: clickable, and Media favourable as a two-colour split with its count */
.lx-pill-w.is-click { cursor: pointer; }
.lx-pill-w.is-click:hover .lx-pill { filter: brightness(1.06); box-shadow: 0 6px 14px -10px rgba(0, 0, 0, .5); }
.lx-pill.lx-split { padding: 0; overflow: hidden; display: flex; }
.lx-pill.lx-split i { display: flex; align-items: center; padding: 0 12px; font-style: normal; white-space: nowrap; min-width: 0; overflow: hidden; }
.lx-pill.lx-split .p { background: color-mix(in srgb, var(--pos) 85%, #000); color: #fff; }
.lx-pill.lx-split .n { background: color-mix(in srgb, var(--neg) 80%, #000); color: #fff; justify-content: flex-end; }
.lx-pill-n { font-style: normal; font-size: 11px; color: var(--text-3); }
.lx-pills { flex-wrap: wrap; }
.lx-pill-w small { white-space: normal; }
/* Platforms card: no read figure here any more */
.lx-plat .lx-card-h .tiny { font-size: 11.5px; }

/* The calendar: light cards, the platform's own icon, a plain "For / Against" tag */
.lx-ev2 { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; min-width: 0; box-shadow: 0 6px 14px -12px rgba(0, 0, 0, .3); transition: transform .15s; }
.lx-ev2:hover { transform: translateY(-2px); }
.lx-ev2.is-a { border-left: 3px solid var(--neg); } .lx-ev2.is-f { border-left: 3px solid var(--pos); }
.lx-ev2-h { display: flex; align-items: center; gap: 7px; font-size: 12.5px; min-width: 0; }
.lx-ev2-h b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-ev2-h em { margin-left: auto; flex: none; font-style: normal; font: 650 10.5px var(--font); padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.lx-ev2-h em.a { background: color-mix(in srgb, var(--neg) 13%, var(--surface)); color: var(--neg-ink); }
.lx-ev2-h em.f { background: color-mix(in srgb, var(--pos) 14%, var(--surface)); color: var(--pos-ink); }
.lx-ev2-t { font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-ev2 small { color: var(--text-3); font-size: 11.5px; }

/* Insights as flashcards (light, like the owner's sample): category chip, a highlighted hero, marked key words, stat tiles */
.lx-fcwrap { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface-2)); border: 1px solid var(--line); }
.lx-fc-h { display: flex; justify-content: space-between; align-items: baseline; }
.lx-fc-h h3 { margin: 0; font: 650 15px var(--font); display: inline-flex; gap: 6px; align-items: center; }
.lx-fc-h small { color: var(--text-3); font-size: 11px; }
.lx-deck { color: var(--text); flex: 1; }
.lx-deck .vz-ss-dots i.on { background: var(--accent); }
.fc { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .35); border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.fc-pos { border-top-color: var(--pos); } .fc-neg { border-top-color: var(--neg); }
.fc-cat { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font: 650 11.5px var(--font); background: color-mix(in srgb, var(--accent) 18%, var(--surface)); color: var(--text); }
.fc-pos .fc-cat { background: color-mix(in srgb, var(--pos) 14%, var(--surface)); color: var(--pos-ink); }
.fc-neg .fc-cat { background: color-mix(in srgb, var(--neg) 12%, var(--surface)); color: var(--neg-ink); }
.fc-img { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.fc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-hero { display: flex; flex-direction: column; gap: 2px; }
.fc-big { font: 300 46px/1 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--text); }
.fc-big.pos { color: var(--pos-ink); } .fc-big.neg { color: var(--neg-ink); }
.fc-big-l { font: 600 13px/1.35 var(--font); color: var(--text-2); }
.fc-quote { font: 550 17px/1.45 var(--font); letter-spacing: -.01em; }
.fc-title { margin: 0; font: 500 14.5px/1.55 var(--font); color: var(--text); }
.fc mark { background: color-mix(in srgb, var(--accent) 30%, transparent); color: inherit; padding: 0 4px; border-radius: 5px; font-weight: 650; }
.fc mark.pos { background: color-mix(in srgb, var(--pos) 18%, transparent); color: var(--pos-ink); }
.fc mark.neg { background: color-mix(in srgb, var(--neg) 15%, transparent); color: var(--neg-ink); }
.fc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 6px; }
.fc-stats > div { padding: 8px 10px; border-radius: 12px; background: var(--surface-2); min-width: 0; }
.fc-stats b { display: block; font: 650 18px/1.15 var(--font); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-stats b.pos { color: var(--pos-ink); } .fc-stats b.neg { color: var(--neg-ink); }
.fc-stats small { color: var(--text-3); font-size: 11px; }
.fc-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.fc-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); font-size: 11.5px; color: var(--text-2); }
.fc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.fc-foot small { color: var(--text-3); font-size: 11px; }
.fc-foot a { font: 650 12px var(--font); color: var(--accent-ink, var(--text)); text-decoration: none; cursor: pointer; white-space: nowrap; }
.fc-more { border: 0; padding: 0; background: none; font: 650 12px var(--font); color: var(--accent-ink, var(--text)); cursor: pointer; white-space: nowrap; }
.fc-foot a:hover, .fc-more:hover { text-decoration: underline; }
.fc.is-click { cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.fc.is-click:hover { border-color: color-mix(in srgb, var(--accent) 48%, var(--line)); transform: translateY(-1px); }
.fc.is-click:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent); outline-offset: 2px; }
.fc-bars { display: flex; flex-direction: column; gap: 6px; }
.fc-bars > div { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 12px; }
.fc-bars span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.fc-bars i { height: 8px; border-radius: 4px; background: var(--accent); }
.fc-neg .fc-bars i { background: var(--neg); } .fc-pos .fc-bars i { background: var(--pos); }
.fc .dk-line { width: 100%; height: auto; color: var(--text-2); }
.fc .vz-stack { height: 10px; }

/* The leader's portrait fills its whole card edge to edge (owner, 5 Oct 2026: square, using all the space) — near square on a
   wide screen, never with empty space under it */
.lx-portrait { min-height: 300px; align-self: stretch; }
.lx-portrait > img.lx-fg { object-fit: cover; object-position: 50% var(--fp, 20%); }
.lx-portrait > img.lx-bg { display: none; }
@media (max-width: 1100px) { .lx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The meter row (5 Oct 2026, owner: "short, in the pill area"): each source's posts and replies as split pill bars */
.lx-meters { display: grid; grid-template-columns: minmax(0, .9fr) repeat(3, minmax(0, 1.1fr)) minmax(0, .9fr); gap: 14px; align-items: end; }
@media (max-width: 1200px) { .lx-meters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lx-m { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.lx-m > small { color: var(--text-2); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-m > small b { color: var(--text); font-weight: 650; }
.lx-m-bar { display: flex; align-items: stretch; height: 22px; border-radius: 999px; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font: 650 11px/22px var(--font); font-variant-numeric: tabular-nums; }
.lx-m.one .lx-m-bar { height: 36px; line-height: 36px; font-size: 12.5px; }
.lx-m-bar em { flex: none; font-style: normal; padding: 0 9px; color: var(--text-2); background: var(--surface); border-right: 1px solid var(--line); font-weight: 600; }
.lx-m-bar i { font-style: normal; min-width: 3px; padding: 0 7px; overflow: hidden; white-space: nowrap; cursor: pointer; transition: filter .15s; }
.lx-m-bar i:hover { filter: brightness(1.1); }
.lx-m-bar i.p { background: color-mix(in srgb, var(--pos) 88%, #000); color: #fff; }
.lx-m-bar i.z { background: color-mix(in srgb, var(--text-3) 55%, var(--surface)); color: var(--text); }
.lx-m-bar i.n { background: color-mix(in srgb, var(--neg) 85%, #000); color: #fff; text-align: right; }
.lx-m-bar i.na { flex: 1; color: var(--text-3); cursor: default; font-weight: 500; }
.lx-m-bar i.na:hover { filter: none; }

/* ===== Source sentiment, simplified stacked charts (5 Oct 2026) ===== */
.lx-meters { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1.2fr)) minmax(0, 1fr); gap: 12px; align-items: stretch; }
@media (max-width: 1200px) { .lx-meters { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }
.lx-s { display: flex; flex-direction: column; gap: 9px; padding: 12px 14px; border-radius: 18px; min-width: 0; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid color-mix(in srgb, var(--surface) 50%, var(--line)); box-shadow: 0 10px 24px -22px rgba(0, 0, 0, .35); }
.lx-s-h { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; }
.lx-s-h > b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lx-s-ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: color-mix(in srgb, var(--accent) 18%, var(--surface)); color: var(--text); }
.lx-s-ic b { font: 750 13px/1 var(--font); }
.lx-s-b { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.lx-k { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.lx-k-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; font-size: 11px; line-height: 1.2; }
.lx-k-h span { color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-k-h strong { flex: none; color: var(--text-3); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lx-k-h strong.p { color: var(--pos-ink); } .lx-k-h strong.n { color: var(--neg-ink); } .lx-k-h strong.z { color: var(--text-2); }
.lx-k-bar { display: flex; width: 100%; height: 9px; overflow: hidden; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 65%, transparent); }
.lx-k-bar > button, .lx-k-bar > span { min-width: 2px; padding: 0; border: 0; appearance: none; transition: filter .15s, opacity .15s; }
.lx-k-bar > button { cursor: pointer; }
.lx-k-bar > button:hover, .lx-k-bar > button:focus-visible { filter: brightness(1.1) saturate(1.12); outline: 2px solid var(--text); outline-offset: -2px; }
.lx-k-bar .p { background: var(--pos); } .lx-k-bar .z { background: color-mix(in srgb, var(--text-3) 60%, var(--surface)); } .lx-k-bar .n { background: var(--neg); }
.lx-k-bar > i { flex: 1; background: var(--surface-2); }
.lx-k-key { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--text-3); font-size: 10.5px; white-space: nowrap; }
.lx-k-key > * { display: inline-flex; align-items: center; gap: 4px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.lx-k-key button[data-drill] { cursor: pointer; }
.lx-k-key button[data-drill]:hover, .lx-k-key button[data-drill]:focus-visible { color: var(--text); }
.lx-k-key i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.lx-k-key .p i { background: var(--pos); } .lx-k-key .n i { background: var(--neg); }
.lx-k-key b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.lx-k.detailed .lx-k-bar { height: 11px; }
.lx-k.is-na .lx-k-h { justify-content: flex-start; }

/* Two even rows: portrait · conversation · mood · insights, then own accounts · day by day · platforms */
.lx-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); grid-template-areas: "por wk md ins" "acc cal cal plat"; align-items: stretch; }
.lx-portrait { grid-area: por; aspect-ratio: auto; min-height: 320px; align-self: stretch; }
.lx-week { grid-area: wk; } .lx-moodcard { grid-area: md; } .lx-acc { grid-area: acc; } .lx-cal { grid-area: cal; } .lx-plat { grid-area: plat; }
/* Insights take exactly the row's height: the card adds nothing to it, and the flashcard fills it */
.lx-ins { grid-area: ins; contain: size; min-height: 430px; display: flex; flex-direction: column; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface)); }
.lx-ins .lx-card-h h3 { display: inline-flex; align-items: center; gap: 6px; }
.lx-ins .vz-ss { flex: 1; min-height: 0; }
.lx-ins .vz-ss-track { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.lx-ins .vz-slide { flex: 1; min-height: 0; animation-duration: .3s; }
.lx-ins .vz-ss-b { flex: 1; min-height: 0; display: flex; }
.lx-ins .fc { flex: 1; min-height: 0; overflow: hidden; gap: 10px; padding: 14px; }
.lx-ins .fc-big { font-size: 38px; }
.lx-ins .fc-quote { font-size: 15.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.lx-ins .fc-title { font-size: 13.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.lx-ins .fc-img { flex: none; aspect-ratio: auto; height: 104px; }
.lx-ins .fc-foot { margin-top: auto; }
.lx-ins .fc .dk-line { max-height: 130px; }
.lx-ins .vz-ss-nav button { width: 24px; height: 24px; }
/* Own accounts: the card fills its row; the dots stay at the bottom */
.lx-acc { display: flex; flex-direction: column; }
.lx-acc .vz-ss { flex: 1; }
.lx-acc .vz-ss-nav { margin-top: auto; }
/* Platforms beside the calendar: the share bar, then one tile per platform with its mood */
.lx-plat { display: flex; flex-direction: column; gap: 12px; }
.lx-plat .lx-share-bar { display: flex; gap: 3px; height: 14px; }
.lx-plat .lx-share-bar a { border-radius: 5px; background: var(--c); }
.lx-pts { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.lx-pt { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border-left: 4px solid var(--c); color: var(--text); text-decoration: none; min-width: 0; transition: transform .15s, box-shadow .15s; }
.lx-pt:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -14px rgba(0, 0, 0, .4); }
.lx-pt-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.lx-pt-h b { font-weight: 650; }
.lx-pt-h strong { margin-left: auto; font: 600 20px/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lx-pt-bar { display: flex; gap: 2px; height: 7px; border-radius: 4px; overflow: hidden; }
.lx-pt-bar i { display: block; } .lx-pt-bar i.p { background: var(--pos); } .lx-pt-bar i.z { background: color-mix(in srgb, var(--text-3) 50%, var(--surface)); } .lx-pt-bar i.n { background: var(--neg); }
.lx-pt small { color: var(--text-3); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-pt small b { font-weight: 650; } .lx-pt small b.p { color: var(--pos-ink); } .lx-pt small b.n { color: var(--neg-ink); }
@media (max-width: 1200px) { .lx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "por wk" "md ins" "acc plat" "cal cal"; } }
@media (max-width: 720px) { .lx-grid { grid-template-columns: 1fr; grid-template-areas: "por" "wk" "md" "ins" "acc" "plat" "cal"; } .lx-ins { min-height: 470px; } }
.lx-s-b { gap: 9px; }
.lx-s { gap: 8px; padding: 11px 13px; }
.lx-ins .fc-img { height: 80px; }
.lx-ins .fc:has(.fc-img) { gap: 8px; }
.lx-ins .fc-img + .fc-title { -webkit-line-clamp: 2; }
.lx-ins .fc-stats > div { padding: 6px 8px; }
.lx-ins .fc-stats b { font-size: 16px; }
.lx-ins .fc > * { flex-shrink: 0; }
.lx-ins .fc-stats { grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); }
.lx-ins .fc .dk-line { max-height: 116px; }
.lx-ins .fc .dk-line { min-height: 0; flex-shrink: 1; }
.lx-deck .fc p, .lx-deck .fc .fc-title { color: var(--text); }
.lx-deck .fc .vz-pnkey { color: var(--text-3); }
/* The Chief Minister's Office on the CM's card (leaders.js cmoBlock, 6 Oct 2026) */
.ld-cmo { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface)); }
.ld-cmo-h { display: flex; align-items: center; gap: 6px; color: var(--accent-ink); }
.ld-cmo-h b { color: var(--text); font: 650 13.5px var(--font); }
.ld-cmo-h small { margin-left: auto; color: var(--text-3); font-size: 11px; }
.ld-cmo-port { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-2); }
.ld-cmo-o { display: flex; flex-direction: column; gap: 5px; padding-top: 8px; border-top: 1px solid var(--line); min-width: 0; }
.ld-cmo-n { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; }
.ld-cmo-n b { font: 600 12.5px/1.35 var(--font); }
.ld-cmo-n a { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--text-3); text-decoration: none; }
.ld-cmo-n a:hover, .ld-cmo-more:hover { color: var(--accent-ink); }
.ld-cmo-l { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-3); }
.ld-cmo-l a { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; border: 1px dashed var(--line); color: var(--text-2); text-decoration: none; }
.ld-cmo-l a.ok { border-style: solid; border-color: color-mix(in srgb, var(--pos) 50%, var(--line)); }
.ld-cmo-top { font-size: 12px; line-height: 1.45; color: var(--text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ld-cmo-more { align-self: flex-end; display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--text-2); text-decoration: none; }
/* Party tone on the leader card's top edge (INC tricolour, BJP saffron, JD(S) green — viz.js partyTone). */
.ld-card.ld-toned { position: relative; box-shadow: none; overflow: hidden; }
.ld-card.ld-toned::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--bar); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
