/* Ported from sg-race-app/candidate-watch.css. */
* { box-sizing: border-box; }
:root { --sans: system-ui, -apple-system, sans-serif; }
body { line-height: 1.5; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; }
.skip-link:focus { top: 1rem; background: #111a20; padding: .5rem; }
button, input, select { font: inherit; }
/* Candidate Watch — mobile-first live X campaign wire. */

body[data-page="candidate-watch"] {
  --cw-bg: #070b0e;
  --cw-panel: #0c1216;
  --cw-panel-strong: #111a20;
  --cw-hover: #0e171c;
  --cw-text: #edf3f5;
  --cw-soft: #a9b6be;
  --cw-muted: #6e7d86;
  --cw-rule: #1b272e;
  --cw-rule-strong: #2a3942;
  --cw-signal: #35b9ed;
  --cw-measure: 860px;
  --cw-ticker-height: 2.15rem;
  margin: 0;
  color: var(--cw-text);
  background: var(--cw-bg);
  color-scheme: dark;
  font-family: Inter, var(--sans);
}

body[data-page="candidate-watch"]::before {
  display: none;
}

body[data-page="candidate-watch"] a:not(.tri a) {
  color: inherit;
}

body[data-page="candidate-watch"] :focus-visible {
  outline: 2px solid var(--cw-signal);
  outline-offset: 2px;
}

.cw-header {
  padding: .62rem max(.78rem, env(safe-area-inset-left)) .54rem;
  background: var(--cw-bg);
  border-top: 2px solid var(--cw-signal);
  border-bottom: 1px solid var(--cw-rule);
}

.cw-header__inner,
.cw-feed-section > *,
.cw-footer > * {
  width: 100%;
  max-width: var(--cw-measure);
  margin-inline: auto;
}

.cw-title-row,
.cw-state-row,
.cw-monitor-state {
  display: flex;
  align-items: center;
}

.cw-state-row {
  justify-content: space-between;
  gap: .75rem;
}

.cw-header h1 {
  margin: 0;
  color: var(--cw-text);
  font-family: Inter, var(--sans);
  font-size: 1.42rem;
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.cw-state-row {
  margin-top: .27rem;
}

.cw-monitor-state,
.cw-new-summary,
.cw-monitor-status,
.cw-transparency,
.cw-prototype-notice {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.cw-transparency {
  margin-top: .15rem;
  color: #91a0a8;
  font-size: .6rem;
  letter-spacing: .018em;
  line-height: 1.3;
}

.cw-monitor-state {
  min-width: 0;
  gap: .42rem;
  color: var(--cw-soft);
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .055em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cw-live-dot {
  width: .46rem;
  height: .46rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cw-signal);
  box-shadow: 0 0 0 0 rgba(53, 185, 237, 0);
  animation: cw-live-breathe 3.6s ease-in-out infinite;
}

.cw-monitor-state[data-state="paused"] .cw-live-dot,
.cw-monitor-state[data-state="degraded"] .cw-live-dot,
.cw-monitor-state[data-state="stale"] .cw-live-dot {
  background: #77838a;
  animation: none;
}

@keyframes cw-live-breathe {
  0%, 100% {
    opacity: .72;
    box-shadow: 0 0 0 0 rgba(53, 185, 237, 0);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 7px 1px rgba(53, 185, 237, .28);
  }
}

.cw-new-summary {
  flex: 0 0 auto;
  color: var(--cw-signal);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.cw-monitor-status {
  margin-top: .12rem;
  overflow: hidden;
  color: var(--cw-muted);
  font-size: .58rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cw-monitor-freshness {
  color: #7f8e97;
}

.cw-prototype-notice {
  margin-top: .09rem;
  color: #53616a;
  font-size: .52rem;
  letter-spacing: .025em;
  line-height: 1.25;
}

.cw-ticker {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  height: var(--cw-ticker-height);
  overflow: hidden;
  color: var(--cw-soft);
  background: var(--cw-panel-strong);
  border-bottom: 1px solid var(--cw-rule-strong);
  font-size: .62rem;
  line-height: var(--cw-ticker-height);
}

.cw-ticker__control {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: var(--cw-ticker-height);
  padding: 0 .7rem;
  color: #061118;
  background: var(--cw-signal);
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0;
  font: inherit;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
}

.cw-ticker__control:disabled {
  cursor: default;
}

.cw-ticker__control-icon {
  font-size: .52rem;
  letter-spacing: -.1em;
}

.cw-ticker__viewport {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 .8rem, #000 calc(100% - .8rem), transparent);
}

.cw-ticker__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: cw-ticker-scroll var(--cw-ticker-duration, 32s) linear infinite;
  will-change: transform;
}

.cw-ticker--paused .cw-ticker__track {
  animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) {
  .cw-ticker:not(.cw-ticker--interaction-running):hover .cw-ticker__track {
    animation-play-state: paused;
  }
}

.cw-ticker__sequence {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding-right: 2rem;
}

.cw-ticker__segment {
  display: inline-flex;
  align-items: baseline;
  gap: .2rem;
  color: #8c9aa3;
  font-size: .59rem;
  font-weight: 620;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cw-ticker__segment::after {
  content: "·";
  margin: 0 1rem;
  color: #4d5d66;
}

.cw-ticker__segment--automation {
  color: #b8c4ca;
  font-weight: 760;
}

.cw-ticker__segment--method {
  color: #b8c4ca;
}

.cw-ticker__method {
  display: inline-flex;
  align-items: baseline;
  min-height: 1.8rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.cw-ticker__method-label {
  color: var(--cw-signal);
  font-weight: 850;
}

.cw-ticker__method:hover,
.cw-ticker__method:focus-visible {
  color: var(--cw-text);
}

.cw-ticker__method:focus-visible {
  outline: 1px solid var(--cw-signal);
  outline-offset: 2px;
  border-radius: 2px;
}

.cw-ticker .cw-ticker__creator {
  color: var(--cw-signal);
  font: inherit;
  text-decoration: none;
}

.cw-ticker__creator:hover,
.cw-ticker__creator:focus-visible {
  color: var(--cw-signal);
}

.cw-ticker__creator:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

.cw-ticker__datum,
.cw-ticker-clock__time {
  color: var(--cw-signal);
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.cw-ticker-clock + .cw-ticker-clock::before {
  content: "·";
  margin-right: .22rem;
  color: #4d5d66;
}

.cw-ticker-clock {
  display: inline-flex;
  gap: .18rem;
}

.cw-ticker--paused .cw-ticker__viewport {
  overflow-x: auto;
  mask-image: none;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.cw-ticker--paused .cw-ticker__sequence[aria-hidden="true"] {
  display: none;
}

@keyframes cw-ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.cw-feed-section {
  padding: 0 max(.78rem, env(safe-area-inset-left)) .8rem;
  background: var(--cw-bg);
}

.cw-loading,
.cw-empty {
  margin: 0;
  padding: .8rem 0;
  color: var(--cw-muted);
  font-size: .7rem;
}

.cw-date-heading {
  margin: 0 -.78rem;
  color: var(--cw-muted);
  background: rgba(7, 11, 14, .97);
  border-bottom: 1px solid var(--cw-rule-strong);
  font-family: Inter, var(--sans);
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.cw-date-group--today .cw-date-heading {
  position: sticky;
  top: var(--cw-ticker-height);
  z-index: 20;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem .78rem .47rem;
  color: var(--cw-signal);
  background: rgba(10, 17, 21, .97);
  box-shadow: inset 2px 0 0 var(--cw-signal);
  font-size: .79rem;
  backdrop-filter: blur(8px);
}

.cw-date-heading__instruction {
  color: rgba(53, 185, 237, .76);
  font-size: .5rem;
  font-weight: 740;
  letter-spacing: .065em;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.cw-date-heading__instruction-mobile {
  display: none;
}

.cw-history-divider {
  margin: .32rem -.78rem 0;
  padding: .46rem .78rem .38rem;
  background: var(--cw-panel);
  border-top: 1px solid var(--cw-rule-strong);
  border-bottom: 1px solid var(--cw-rule-strong);
}

.cw-history-divider__title {
  margin: 0;
  color: var(--cw-soft);
  font-family: Inter, var(--sans);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.cw-date-group--history .cw-date-heading {
  padding: .36rem .78rem .29rem;
  color: var(--cw-signal);
  background: var(--cw-bg);
  font-size: .68rem;
}

.cw-item {
  position: relative;
  margin: 0;
  padding: .54rem .08rem .56rem;
  border-bottom: 1px solid var(--cw-rule);
}

.cw-item__open {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.cw-item__open:hover,
.cw-item__open:focus-visible {
  background: var(--cw-hover);
  box-shadow: inset 2px 0 0 rgba(53, 185, 237, .48);
}

.cw-item__open:focus-visible {
  outline-offset: -2px;
}

.cw-item--new::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -.78rem;
  width: 2px;
  z-index: 2;
  background: var(--cw-signal);
}

.cw-item__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  pointer-events: none;
}

.cw-item--wire-pending .cw-item__identity,
.cw-item--wire-pending .cw-item__summary,
.cw-item--wire-pending .cw-item__source {
  opacity: 0;
}

.cw-item--wire-pending .cw-item__headline {
  clip-path: inset(0 100% 0 0);
}

.cw-item--wire-reveal .cw-item__identity {
  animation: cw-wire-supporting-resolve 120ms ease-out var(--cw-wire-delay) both;
}

.cw-item--wire-reveal .cw-item__headline {
  will-change: clip-path;
  animation: cw-wire-headline-print 2500ms cubic-bezier(.45, 0, .55, 1) calc(var(--cw-wire-delay) + 60ms) both;
}

.cw-item--wire-reveal .cw-item__summary {
  animation: cw-wire-supporting-resolve 120ms ease-out calc(var(--cw-wire-delay) + 2590ms) both;
}

.cw-item--wire-reveal .cw-item__source {
  animation: cw-wire-supporting-resolve 120ms ease-out calc(var(--cw-wire-delay) + 2590ms) both;
}

@keyframes cw-wire-headline-print {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes cw-wire-supporting-resolve {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cw-item__identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .42rem;
  min-width: 0;
}

.cw-candidates {
  display: flex;
  align-items: baseline;
  min-width: 0;
  overflow: hidden;
}

.cw-candidate,
.cw-scope {
  overflow: hidden;
  color: #87959e !important;
  font-size: .58rem;
  font-weight: 740;
  letter-spacing: .045em;
  line-height: 1.2;
  text-decoration: none;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cw-candidate {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.cw-candidate:hover {
  color: var(--cw-signal) !important;
}

.cw-candidate + .cw-candidate::before {
  content: "+";
  margin: 0 .35rem;
  color: #4c5b64;
}

.cw-scope::before {
  content: "";
  display: inline-block;
  width: .31rem;
  height: .31rem;
  margin-right: .34rem;
  border: 1px solid var(--cw-signal);
  border-radius: 50%;
}

.cw-item__meta {
  display: inline-flex;
  align-items: baseline;
  gap: .32rem;
  min-width: 0;
  color: var(--cw-muted);
  font-size: .57rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.cw-new-badge {
  color: var(--cw-signal);
  font-size: .49rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.cw-item__headline {
  margin: .2rem 0 0;
  color: var(--cw-text);
  font-family: Inter, var(--sans);
  font-size: .9rem;
  font-weight: 680;
  letter-spacing: -.012em;
  line-height: 1.25;
}

.cw-item__summary {
  display: -webkit-box;
  margin: .12rem 0 0;
  overflow: hidden;
  color: var(--cw-soft);
  font-size: .68rem;
  line-height: 1.33;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cw-item__source {
  display: flex;
  align-items: center;
  gap: .25rem;
  min-width: 0;
  margin: .18rem 0 0;
  overflow: hidden;
  color: #62717a;
  font-size: .56rem;
  line-height: 1.25;
  white-space: nowrap;
}

.cw-source-name,
.cw-source-handle {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cw-source-name {
  color: #74838c;
  font-weight: 620;
}

.cw-source-handle,
.cw-source-more {
  color: #566770;
}

.cw-source-more {
  flex: 0 0 auto;
}

.cw-source-separator,
.cw-source-age {
  flex: 0 0 auto;
  color: #52616a;
  font-variant-numeric: tabular-nums;
}

.cw-open-hint {
  display: none;
  transition: color 150ms ease, transform 150ms ease;
}

.cw-item__open:hover + .cw-item__content .cw-open-hint,
.cw-item__open:focus-visible + .cw-item__content .cw-open-hint {
  color: #6bd0f5;
  transform: translateX(3px);
}

.cw-item--history {
  padding-block: .3rem .32rem;
}

.cw-item--history .cw-item__headline {
  color: #dce4e8;
  margin-top: .14rem;
  font-size: .78rem;
  line-height: 1.2;
}

.cw-item--history .cw-candidate,
.cw-item--history .cw-scope {
  color: #8998a1 !important;
  font-size: .57rem;
}

.cw-item--history .cw-item__meta,
.cw-item--history .cw-item__source {
  font-size: .51rem;
}

.cw-item--history .cw-item__source {
  margin-top: .1rem;
}

.cw-development-dialog {
  inset: auto .5rem .5rem;
  width: auto;
  max-width: 34rem;
  max-height: min(84dvh, 44rem);
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--cw-text);
  background: var(--cw-panel-strong);
  border: 1px solid var(--cw-rule-strong);
  border-radius: .35rem;
  box-shadow: 0 -1rem 4rem rgba(0, 0, 0, .62);
}

.cw-development-dialog::backdrop {
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(2px);
}

.cw-dialog-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .48rem .7rem;
  color: var(--cw-signal);
  background: #0d161b;
  border-bottom: 1px solid var(--cw-rule-strong);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cw-dialog-close {
  min-height: 2rem;
  padding: 0 .35rem;
  color: var(--cw-soft);
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.cw-dialog-body {
  max-height: calc(min(84dvh, 44rem) - 2.95rem);
  padding: .85rem;
  overflow-y: auto;
}

.cw-dialog-candidates .cw-candidates {
  flex-wrap: wrap;
  gap: .2rem;
  overflow: visible;
}

.cw-dialog-candidates .cw-candidate,
.cw-dialog-candidates .cw-scope {
  color: var(--cw-signal) !important;
  font-size: .68rem;
  pointer-events: auto;
}

.cw-dialog-meta,
.cw-dialog-summary {
  margin: 0;
}

.cw-dialog-meta {
  margin-top: .3rem;
  color: var(--cw-muted);
  font-size: .62rem;
  line-height: 1.35;
}

.cw-dialog-title {
  margin: .42rem 0 0;
  color: var(--cw-text);
  font-family: Inter, var(--sans);
  font-size: 1.05rem;
  font-weight: 680;
  letter-spacing: -.015em;
  line-height: 1.3;
}

.cw-dialog-summary {
  margin-top: .42rem;
  color: var(--cw-soft);
  font-size: .76rem;
  line-height: 1.45;
}

.cw-dialog-evidence-heading {
  margin: .8rem 0 .32rem;
  color: var(--cw-muted);
  font-family: Inter, var(--sans);
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cw-dialog-evidence {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cw-dialog-evidence__item {
  padding: .65rem;
  background: var(--cw-panel);
  border: 1px solid var(--cw-rule-strong);
}

.cw-dialog-evidence__identity,
.cw-dialog-evidence__meta,
.cw-dialog-evidence__translation {
  margin: 0;
}

.cw-dialog-evidence__identity {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .35rem;
  font-size: .68rem;
}

.cw-dialog-evidence__name {
  color: var(--cw-text);
  font-weight: 700;
}

.cw-dialog-evidence__handle {
  color: var(--cw-signal);
}

.cw-dialog-evidence__meta {
  margin-top: .2rem;
  color: var(--cw-muted);
  font-size: .59rem;
  line-height: 1.4;
}

.cw-dialog-evidence__translation {
  margin-top: .46rem;
  color: var(--cw-soft);
  font-size: .68rem;
  line-height: 1.4;
}

.cw-dialog-evidence__translation-label {
  display: block;
  margin-bottom: .18rem;
  color: var(--cw-signal);
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.cw-dialog-evidence__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  margin-top: .58rem;
  padding: 0 .75rem;
  color: #031017 !important;
  background: var(--cw-signal);
  font-size: .65rem;
  font-weight: 800;
  text-decoration: none;
}

.cw-method-dialog__body {
  color: var(--cw-soft);
  font-size: .76rem;
  line-height: 1.5;
}

.cw-method-dialog__body .cw-dialog-title {
  margin-top: 0;
}

.cw-method-dialog__body p {
  margin: .72rem 0 0;
}

.cw-method-dialog__rule {
  color: var(--cw-signal);
  font-size: .62rem;
  letter-spacing: .035em;
}

.cw-error {
  padding: 1rem 0;
  color: var(--cw-soft);
}

.cw-error .section__title {
  color: var(--cw-text);
}

.cw-footer {
  margin-top: 0;
  padding: 1rem max(.78rem, env(safe-area-inset-left)) .85rem;
  color: var(--cw-muted);
  background: var(--cw-bg);
  border-top: 1px solid var(--cw-rule-strong);
  font-size: .58rem;
}

.cw-footer__inner {
  display: flex;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.cw-footer__inner p {
  margin: 0;
}

.cw-footer a {
  color: #84939c !important;
  text-decoration-color: #3d4b53;
  text-underline-offset: .16em;
}

.cw-footer a:hover {
  color: var(--cw-text) !important;
}

@media (max-width: 699px) {
  body[data-page="candidate-watch"] {
    --cw-ticker-height: 2.55rem;
  }

  .cw-header {
    padding-top: .54rem;
    padding-bottom: .46rem;
  }

  .cw-header h1 {
    font-size: 1.34rem;
  }

  .cw-state-row {
    margin-top: .22rem;
  }

  .cw-transparency {
    margin-top: .12rem;
    font-size: .56rem;
  }

  .cw-monitor-status {
    margin-top: .1rem;
  }

  .cw-ticker {
    line-height: var(--cw-ticker-height);
  }

  .cw-ticker__control {
    width: 3.65rem;
    justify-content: center;
    gap: .28rem;
    padding-inline: .38rem;
  }

  .cw-ticker__viewport {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 .55rem, #000 calc(100% - .55rem), transparent);
  }

  .cw-ticker__sequence {
    padding-right: 1.5rem;
  }

  .cw-ticker__segment {
    font-size: .61rem;
  }

  .cw-ticker__segment::after {
    margin-inline: .8rem;
  }

  .cw-date-heading__instruction {
    font-size: .47rem;
    letter-spacing: .055em;
  }

  .cw-date-heading__instruction-desktop {
    display: none;
  }

  .cw-date-heading__instruction-mobile {
    display: inline;
  }
}

@media (min-width: 700px) {
  .cw-header,
  .cw-feed-section,
  .cw-footer {
    padding-inline: max(1rem, env(safe-area-inset-left));
  }

  .cw-header h1 {
    font-size: 1.64rem;
  }

  .cw-date-heading,
  .cw-history-divider {
    margin-inline: 0;
  }

  .cw-date-group--today .cw-date-heading,
  .cw-date-group--history .cw-date-heading,
  .cw-history-divider {
    padding-inline: .25rem;
  }

  .cw-item {
    padding-inline: .25rem;
  }

  .cw-item--new::before {
    left: -.5rem;
  }

  .cw-item__headline {
    font-size: .96rem;
  }

  .cw-open-hint {
    display: inline;
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--cw-signal);
    font-weight: 750;
    letter-spacing: .015em;
  }

  .cw-development-dialog {
    inset: 0 0 0 auto;
    width: min(30rem, 42vw);
    max-width: none;
    max-height: 100dvh;
    height: 100dvh;
    margin: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: -1.5rem 0 5rem rgba(0, 0, 0, .62);
  }

  .cw-dialog-body {
    max-height: calc(100dvh - 2.95rem);
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-live-dot,
  .cw-ticker__track {
    animation: none;
  }

  .cw-ticker__viewport,
  .cw-ticker--paused .cw-ticker__viewport {
    overflow-x: auto;
    mask-image: none;
    scroll-snap-type: none;
    scrollbar-width: none;
  }

  .cw-ticker__track {
    width: max-content;
    min-width: 100%;
    transform: none;
  }

  .cw-ticker__sequence {
    min-width: 0;
    padding-right: 0;
  }

  .cw-ticker__sequence[aria-hidden="true"] {
    display: none;
  }

  .cw-item__open,
  .cw-open-hint {
    transition: none;
  }

  .cw-item--wire-pending .cw-item__identity,
  .cw-item--wire-pending .cw-item__headline,
  .cw-item--wire-pending .cw-item__summary,
  .cw-item--wire-pending .cw-item__source,
  .cw-item--wire-reveal .cw-item__identity,
  .cw-item--wire-reveal .cw-item__headline,
  .cw-item--wire-reveal .cw-item__summary,
  .cw-item--wire-reveal .cw-item__source {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none;
  }
}

.wire-nav { display:flex; gap:1rem; flex-wrap:wrap; align-items:center; margin:.6rem 0; font-size:.8rem; }
.wire-nav button { border:0; padding:0; background:none; color:var(--cw-soft); text-decoration:underline; cursor:pointer; }
.wire-filters { display:flex; flex-wrap:wrap; gap:.65rem; align-items:end; padding:1rem 0; }
.wire-filters label { display:grid; gap:.3rem; font-size:.75rem; color:var(--cw-soft); flex:1 1 200px; }
.wire-filters input, .wire-filters select, .wire-filters button { min-height:44px; border:1px solid var(--cw-rule-strong); border-radius:4px; background:var(--cw-panel); color:var(--cw-text); padding:.5rem .65rem; width:100%; }
.wire-filters button { width:auto; cursor:pointer; font-size:.8rem; }
#filter-count { flex-basis:100%; margin:0; color:var(--cw-muted); font-size:.75rem; }
.cw-candidate { display:inline-flex; align-items:center; gap:.4rem; }
.cw-candidate img { object-fit:cover; border-radius:2px; }
.cw-source-name img, .cw-dialog-evidence__name img{width:22px;height:15px;object-fit:cover;border-radius:2px;vertical-align:-2px;margin-right:7px}
