/* Top videos (/social/videos/), drawn by social-videos.js. Builds on social.css (.so-tabs, .so-logo). */
.sv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.sv-when { display: inline-flex; border: 1px solid var(--ink); }
.sv-when button { font: inherit; font-size: 14px; font-weight: 600; padding: 6px 14px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; }
.sv-when button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.sv-pick select { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); max-width: 100%; }
.so-tabs .sv-n { font-size: 12px; font-weight: 400; opacity: .7; }

.sv-sec { margin-top: 32px; }
.sv-sec h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; margin: 0 0 12px; }
.sv-sec h2 .so-logo { width: 20px; height: 20px; }
.sv-all { margin-left: auto; font: inherit; font-size: 13px; font-weight: 600; padding: 4px 10px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.sv-all:hover { background: var(--wash); }

.sv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.sv-card a { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; }
.sv-card a:hover .sv-t { text-decoration: underline; }
.sv-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--wash); overflow: hidden; margin-bottom: 4px; }
.sv-thumb.tiktok, .sv-thumb.instagram { aspect-ratio: 9 / 12; }
.sv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-rank { position: absolute; left: 0; top: 0; min-width: 30px; padding: 3px 7px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 800; text-align: center; }
.sv-plat { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 24px; height: 24px; background: var(--paper); color: var(--ink); }
.sv-plat .so-logo { width: 15px; height: 15px; }
.sv-t { font-weight: 600; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sv-by, .sv-st { font-size: 13px; color: var(--quiet); }
.sv-empty { color: var(--quiet); margin: 8px 0 0; }

@media (max-width: 1000px) { .sv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .sv-t { font-size: 14px; }
  .so-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .so-tabs button { white-space: nowrap; }
}

/* The biggest video of the day (most likes across platforms), and the month's day-by-day list. */
.sv-lead { margin-top: 28px; }
.sv-lead h2 { font-size: 20px; margin: 0 0 12px; }
.sv-lead a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; color: var(--ink); text-decoration: none; }
.sv-lead a:hover .sv-t { text-decoration: underline; }
.sv-lead .sv-thumb { margin: 0; max-height: 420px; }
.sv-lead .sv-thumb.tiktok, .sv-lead .sv-thumb.instagram { aspect-ratio: 9 / 12; max-width: 320px; }
.sv-lead-txt { display: flex; flex-direction: column; gap: 6px; }
.sv-lead .sv-t { font-size: 26px; font-weight: 800; line-height: 1.15; -webkit-line-clamp: 5; }
.sv-k { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.sv-daily ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.sv-daily li a { display: grid; grid-template-columns: 120px 24px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rail); color: var(--ink); text-decoration: none; }
.sv-daily li a:hover .sv-dt { text-decoration: underline; }
.sv-d { font-size: 14px; color: var(--quiet); }
.sv-dt { font-weight: 600; overflow-wrap: anywhere; }
.sv-dt small { display: block; font-weight: 400; font-size: 13px; color: var(--quiet); }
@media (max-width: 640px) {
  .sv-lead a { grid-template-columns: 1fr; gap: 12px; }
  .sv-lead .sv-t { font-size: 21px; }
  .sv-daily li a { grid-template-columns: 84px 20px minmax(0, 1fr); }
}
