.competitor-tracker-page .hero__inner{
  padding-bottom: 52px;
}

.ctt-card--comparison{
  padding-bottom: 16px;
}

.ctt-compareThumb{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.ctt-compareThumb__stack{
  display:flex;
  align-items:center;
}

.ctt-avatar{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background: rgba(15,19,32,.08);
  color: var(--text);
  font-size: .92rem;
  font-weight: 700;
  overflow:hidden;
}

.ctt-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.ctt-avatar--stack{
  width:54px;
  height:54px;
  border: 3px solid #fff;
  margin-left: -14px;
  box-shadow: var(--shadow-sm);
}

.ctt-avatar--stack:first-child{
  margin-left: 0;
}

.ctt-table thead th{
  white-space:nowrap;
}

.ctt-table tbody td{
  vertical-align: middle;
}

.ctt-colToggle{
  width: 44px;
}

.ctt-colChannel{
  min-width: 220px;
}

.ctt-colAction{
  width: 64px;
  text-align:center;
}

.ctt-channelCell{
  display:flex;
  align-items:center;
  gap: 12px;
}

.ctt-channelCopy{
  display:grid;
  gap: 2px;
  min-width: 0;
}

.ctt-channelCopy a{
  color: var(--text);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.ctt-channelCopy a:hover{
  color: var(--yt-red-500);
}

.ctt-channelCopy span{
  color: var(--muted-2);
  font-size: .78rem;
  font-weight: 600;
}

.ctt-row{
  transition: opacity .22s ease, transform .22s ease;
}

.ctt-row.is-removing{
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.ctt-rowDelete{
  width: 36px;
  height: 36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  opacity: .66;
  cursor: pointer;
  transition: background .16s ease, opacity .16s ease, transform .16s ease;
}

.ctt-rowDelete:hover{
  background: rgba(15,19,32,.06);
  opacity: 1;
}

.ctt-rowDelete:active{
  transform: translateY(1px);
}

.ctt-rowDelete img{
  width: 26px;
  height: 26px;
  display:block;
}

.ctt-videos{
  display:grid;
  gap: 10px;
}

.ctt-videos__empty{
  padding: 4px 2px;
  color: var(--muted-2);
  font-size: .9rem;
}

.ctt-videoItem{
  width:100%;
  display:grid;
  grid-template-columns: 132px minmax(0,1fr) auto;
  gap: 14px;
  align-items:center;
  padding: 10px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--bg);
  text-align:left;
  cursor:pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.ctt-videoItem:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.ctt-videoItem__thumb{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio: 16 / 9;
  overflow:hidden;
  border-radius: 12px;
  background: rgba(15,19,32,.06);
}

.ctt-videoItem__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.ctt-videoItem__copy{
  display:grid;
  gap: 5px;
}

.ctt-videoItem__copy strong{
  color: var(--text);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
}

.ctt-videoItem__copy span,
.ctt-videoItem__age{
  color: var(--muted-2);
  font-size: .82rem;
  font-weight: 600;
}

.cthc__toolbarRow{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.cthc__metrics{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

.cthc__metric{
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(15,19,32,.06);
  color: var(--muted);
  font: inherit;
  font-size: .76rem;
  font-weight: 600;
  cursor:pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.cthc__metric:hover{
  transform: translateY(-1px);
}

.cthc__metric.is-active{
  background: rgb(255 0 0 / 21%);
  color: var(--yt-red-500);
}

.cthc__frame{
  position:relative;
}

.cthc__uploads{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.cthc__uploadMarker{
  position:absolute;
  display:inline-grid;
  align-items:center;
  justify-items:center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(15,19,32,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--cthc-upload-color, var(--yt-red-500));
  box-shadow: 0 10px 24px rgba(15,19,32,.14);
  transform: translate(-50%, -100%);
  pointer-events:auto;
  cursor:pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.cthc__uploadMarker:hover{
  transform: translate(-50%, -100%) scale(1.04);
  box-shadow: 0 14px 26px rgba(15,19,32,.18);
}

.cthc__uploadIcon{
  width: 15px;
  height: 15px;
  display:grid;
  place-items:center;
  line-height: 0;
}

.cthc__uploadIconSvg{
  width: 100%;
  height: 100%;
  display:block;
}

.cthc__uploadCount,
.cthc__tooltipMeta{
  color: var(--muted-2);
  font-size: .76rem;
  font-weight: 700;
}

.cthc__uploadCount{
  position:absolute;
  right: -7px;
  top: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  background: rgba(15,19,32,.92);
  color: #fff;
  font-size: .62rem;
  line-height: 1;
  box-shadow: 0 6px 12px rgba(15,19,32,.18);
}

.cthc__tooltipDelta--up{
  color: #13795b;
}

.cthc__tooltipDelta--down{
  color: #b42318;
}

.cthc__tooltipDelta--neutral{
  color: var(--muted-2);
}

@media (max-width: 960px){
  .ctt-videoItem{
    grid-template-columns: 112px minmax(0,1fr) auto;
  }
}

@media (max-width: 720px){
  .ctt-table thead{
    display:none;
  }

  .ctt-table,
  .ctt-table tbody,
  .ctt-table tr,
  .ctt-table td{
    display:block;
    width:100%;
  }

  .ctt-row{
    position:relative;
    padding: 14px 0;
    border-top: 1px solid rgba(15,19,32,.08);
  }

  .ctt-table tbody td{
    display:grid;
    grid-template-columns: 104px minmax(0,1fr);
    gap: 10px;
    align-items:center;
    padding: 4px 0;
    border-top: 0;
  }

  .ctt-table tbody td::before{
    content: attr(data-label);
    color: var(--muted-2);
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
  }

  .ctt-table tbody td[data-label=""]{
    grid-template-columns: auto;
  }

  .ctt-table tbody td[data-label=""]::before{
    display:none;
  }

  .ctt-colToggle{
    position:absolute;
    top: 14px;
    left: 0;
    width: auto;
  }

  .ctt-colChannel{
    padding-left: 34px !important;
  }

  .ctt-colAction{
    justify-items:start;
  }

  .ctt-videoItem{
    grid-template-columns: 1fr;
  }

  .ctt-videoItem__age{
    justify-self:start;
  }
}
