.cll-home,
.cll-home * {
  box-sizing: border-box;
}

.cll-home {
  --cll-home-bg: #0e1116;
  --cll-home-card: #171b21;
  --cll-home-card-2: #20252c;
  --cll-home-border: rgba(255, 255, 255, 0.12);
  --cll-home-text: #f8fafc;
  --cll-home-muted: #a5adba;
  --cll-home-accent: #ffde6e;
  --cll-home-accent-2: #ca9800;
  --cll-home-green: #24d27e;
  --cll-home-red: #ff5a73;
  color: var(--cll-home-text);
  display: grid;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.cll-home a {
  color: inherit;
  text-decoration: none;
}

.cll-home-hero,
.cll-home-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 222, 110, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(255, 222, 110, 0.08), rgba(14, 18, 24, 0.9) 42%, rgba(11, 14, 18, 0.96)),
    var(--cll-home-bg);
  border: 1px solid var(--cll-home-border);
  border-radius: 10px;
  overflow: hidden;
  padding: 22px;
}

.cll-home-hero {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
}

.cll-home-kicker,
.cll-home-section-head span {
  border-left: 3px solid var(--cll-home-accent);
  color: var(--cll-home-accent);
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 9px;
  padding-left: 8px;
  text-transform: uppercase;
}

.cll-home-hero h1,
.cll-home-section-head h2 {
  color: var(--cll-home-text);
  font-size: clamp(27px, 4vw, 48px);
  line-height: 1.02;
  margin: 0;
}

.cll-home-hero p {
  color: var(--cll-home-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 12px 0 0;
  max-width: 720px;
}

.cll-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cll-home-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--cll-home-border);
  border-radius: 8px;
  color: var(--cll-home-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  text-transform: uppercase;
}

.cll-home-btn.is-primary {
  background: linear-gradient(180deg, var(--cll-home-accent), var(--cll-home-accent-2));
  border-color: rgba(255, 222, 110, 0.75);
  color: #0b0d11;
}

.cll-home-hero-panel {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cll-home-hero-panel div,
.cll-home-mini-stats span,
.cll-home-signal-controls label {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--cll-home-border);
  border-radius: 8px;
  padding: 12px;
}

.cll-home-hero-panel span,
.cll-home-mini-stats span,
.cll-home-card-body div span,
.cll-home-signal-controls label,
.cll-home-section-head small {
  color: var(--cll-home-muted);
  font-size: 11px;
}

.cll-home-hero-panel strong {
  color: var(--cll-home-text);
  display: block;
  font-size: 27px;
  line-height: 1;
  margin-top: 7px;
}

.cll-home-section-head {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cll-home-section-head h2 {
  font-size: clamp(22px, 3vw, 30px);
}

.cll-home-section-head > a {
  border: 1px solid rgba(255, 222, 110, 0.28);
  border-radius: 999px;
  color: var(--cll-home-accent);
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
}

.cll-home-asset-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cll-home-asset-card,
.cll-home-content-card,
.cll-home-creator-grid > div {
  background: rgba(17, 21, 27, 0.9);
  border: 1px solid var(--cll-home-border);
  border-radius: 9px;
  min-width: 0;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.cll-home-asset-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.cll-home-asset-card:hover,
.cll-home-content-card:hover,
.cll-home-creator-grid > div:hover {
  background: rgba(28, 33, 40, 0.95);
  border-color: rgba(255, 222, 110, 0.35);
  transform: translateY(-1px);
}

.cll-home-asset-top {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.cll-home-asset-top img,
.cll-home-logo-fallback {
  border-radius: 50%;
  height: 34px;
  width: 34px;
}

.cll-home-logo-fallback {
  align-items: center;
  background: #252b34;
  color: var(--cll-home-accent);
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  justify-content: center;
}

.cll-home-asset-top strong {
  display: block;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cll-home-asset-top span {
  color: var(--cll-home-muted);
  display: block;
  font-size: 11px;
  margin-top: 2px;
}

.cll-home-asset-top em {
  border: 1px solid var(--cll-home-border);
  border-radius: 999px;
  color: var(--cll-home-muted);
  font-size: 10px;
  font-style: normal;
  padding: 4px 7px;
}

.cll-home-asset-card p {
  color: #d3d8df;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  min-height: 56px;
}

.cll-home-mini-stats {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cll-home-mini-stats span {
  min-width: 0;
  padding: 8px;
}

.cll-home-mini-stats b {
  color: var(--cll-home-text);
  display: block;
  font-size: 12px;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cll-home-mini-stats .is-up {
  color: var(--cll-home-green);
}

.cll-home-mini-stats .is-down {
  color: var(--cll-home-red);
}

.cll-home-video-layout {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 210px;
}

.cll-home-video-lead {
  aspect-ratio: 16 / 9;
  background: #05070a;
  border-radius: 9px;
  display: block;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.cll-home-video-lead img,
.cll-home-video-lead .cll-home-thumb-fallback {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cll-home-video-lead::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.55));
  content: "";
  inset: 0;
  position: absolute;
}

.cll-home-video-overlay {
  bottom: 28px;
  left: 28px;
  max-width: min(620px, 72%);
  position: absolute;
  z-index: 1;
}

.cll-home-video-overlay span,
.cll-home-card-body em {
  color: var(--cll-home-accent);
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  margin-bottom: 8px;
}

.cll-home-video-overlay h3 {
  color: #fff;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.04;
  margin: 0 0 18px;
}

.cll-home-video-overlay div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cll-home-video-overlay b,
.cll-home-video-overlay em {
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  padding: 9px 12px;
  text-transform: uppercase;
}

.cll-home-video-stack {
  display: grid;
  gap: 10px;
}

.cll-home-video-stack a {
  background: #0b0f15;
  border: 1px solid var(--cll-home-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  min-height: 74px;
  overflow: hidden;
}

.cll-home-video-stack img,
.cll-home-video-stack .cll-home-thumb-fallback {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cll-home-video-stack span {
  align-self: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  padding: 9px;
}

.cll-home-signal-controls {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(120px, 1fr) minmax(160px, 1fr) auto;
  margin-bottom: 14px;
}

.cll-home-signal-controls label {
  display: grid;
  gap: 6px;
  padding: 8px;
}

.cll-home-signal-controls input,
.cll-home-signal-controls select {
  background: #10151b;
  border: 1px solid var(--cll-home-border);
  border-radius: 7px;
  color: var(--cll-home-text);
  min-height: 38px;
  padding: 8px 10px;
  width: 100%;
}

.cll-home-range-tabs {
  align-items: stretch;
  display: flex;
  gap: 6px;
}

.cll-home-range-tabs button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--cll-home-border);
  border-radius: 8px;
  color: var(--cll-home-text);
  cursor: pointer;
  font-weight: 900;
  min-width: 48px;
}

.cll-home-range-tabs button.is-active {
  background: linear-gradient(180deg, var(--cll-home-accent), var(--cll-home-accent-2));
  color: #090b0f;
}

.cll-home-signal-chart {
  background:
    linear-gradient(90deg, rgba(255, 222, 110, 0.08), transparent),
    #10151b;
  border: 1px solid var(--cll-home-border);
  border-radius: 10px;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.cll-home-signal-chart canvas {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.cll-home-chart-status {
  color: var(--cll-home-muted);
  font-size: 12px;
  left: 16px;
  position: absolute;
  top: 12px;
}

.cll-home-card-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cll-home-content-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.cll-home-thumb {
  aspect-ratio: 16 / 10;
  background: #0b0f15;
  overflow: hidden;
  position: relative;
}

.cll-home-thumb img,
.cll-home-thumb-fallback {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cll-home-thumb > span:not(.cll-home-thumb-fallback) {
  background: var(--cll-home-accent);
  border-radius: 5px;
  color: #080b10;
  font-size: 10px;
  font-weight: 900;
  left: 8px;
  padding: 4px 6px;
  position: absolute;
  top: 8px;
}

.cll-home-thumb-fallback {
  align-items: center;
  background: linear-gradient(135deg, var(--cll-home-accent), var(--cll-home-accent-2));
  color: #0c0d10;
  display: flex;
  font-size: 22px;
  font-weight: 900;
  justify-content: center;
}

.cll-home-card-body {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.cll-home-card-body h3 {
  color: var(--cll-home-text);
  font-size: 16px;
  line-height: 1.35;
  margin: 0;
}

.cll-home-card-body p {
  color: #cbd1d9;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.cll-home-card-body div {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.cll-home-creator-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cll-home-creator-grid > div {
  padding: 18px;
}

.cll-home-creator-grid span {
  background: linear-gradient(180deg, var(--cll-home-accent), var(--cll-home-accent-2));
  border-radius: 999px;
  display: block;
  height: 10px;
  margin-bottom: 12px;
  width: 44px;
}

.cll-home-creator-grid h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.cll-home-creator-grid p {
  color: var(--cll-home-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 980px) {
  .cll-home-hero,
  .cll-home-video-layout {
    grid-template-columns: 1fr;
  }

  .cll-home-asset-grid,
  .cll-home-card-row,
  .cll-home-creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cll-home-video-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .cll-home-hero,
  .cll-home-section {
    padding: 16px;
  }

  .cll-home-hero-panel,
  .cll-home-asset-grid,
  .cll-home-card-row,
  .cll-home-creator-grid,
  .cll-home-signal-controls,
  .cll-home-video-stack {
    grid-template-columns: 1fr;
  }

  .cll-home-section-head {
    align-items: start;
    flex-direction: column;
  }

  .cll-home-video-lead {
    min-height: 420px;
  }

  .cll-home-video-overlay {
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .cll-home-video-overlay h3 {
    font-size: clamp(30px, 11vw, 54px);
  }

  .cll-home-mini-stats {
    grid-template-columns: 1fr;
  }
}
