/* Latest videos / shorts list — reuse existing cards and pager */

.latest-page .main-nav {
  margin-bottom: 32px;
}

.latest-page .short-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.latest-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.latest-head-copy {
  min-width: 0;
}

.latest-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin: 0 5px 0 0;
}

.latest-scope {
  display: flex;
  align-items: center;
  gap: 6px;
}

.latest-scope-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 11px;
  border: 1px solid #efe8e2;
  border-radius: 8px;
  background: #fffaf6;
  color: #4a4038;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.latest-scope-btn:hover {
  background: #f6efe8;
  border-color: #e8ddd3;
}

.latest-scope-btn.is-active {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
}

.latest-count {
  flex: 0 0 auto;
  margin: 0;
  padding-bottom: 1px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.latest-sort {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.latest-sort select {
  height: 34px;
  min-width: 148px;
  padding: 0 28px 0 12px;
  border: 1px solid #efe8e2;
  border-radius: 8px;
  background: #fffaf6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b4a36' d='M1.2 1.4 L6 6.2 L10.8 1.4'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #4a4038;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.latest-sort select:focus {
  outline: none;
  border-color: #c4b3a4;
}

.latest-head h1 {
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.latest-lead {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
}

.latest-page .video-body a.channel-avatar {
  color: inherit;
  text-decoration: none;
}

.latest-page .video-channel {
  display: flex;
  align-items: center;
  gap: 5px;
}

.latest-page .video-channel a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest-page .video-channel-flag {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
  font-style: normal;
}

.latest-page .video-channel a:hover,
.latest-page .short-channel a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.latest-page .short-card a.channel-avatar {
  color: inherit;
  text-decoration: none;
}

.latest-page .short-channel a {
  color: inherit;
  text-decoration: none;
}
