.short-page-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 14px 40px;
}

.short-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.short-head-main {
  min-width: 0;
}

.short-head-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  color: #52616f;
  font-size: 12px;
  font-weight: 700;
}

.short-back-link {
  color: #0066cc;
}

.short-eyebrow {
  margin: 0 0 4px;
  color: #4f6f52;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.short-page-head h1 {
  margin: 0;
  color: #1f2933;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.short-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 6px 0 0;
  color: #52616f;
  font-size: 13px;
}

.short-period {
  margin: 0;
  color: #34495e;
  font-size: 13px;
  font-weight: 700;
}

/* ===== 一覧ページ (list.php) のカードUI ===== */
.short-list-shell .short-eyebrow {
  margin: 0 0 4px;
  color: #4f6f52;
  font-size: 12px;
  font-weight: 700;
}

.short-list-lead {
  margin: 0 0 12px;
  color: #52616f;
  font-size: 13px;
  line-height: 1.5;
}

.short-preview-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.short-preview-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e1e8;
  border-top: 4px solid #0066cc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(31, 41, 51, 0.08);
}

.short-preview-weekly {
  border-top-color: #ff5757;
}

.short-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 8px;
}

.short-preview-label {
  display: block;
  margin-bottom: 2px;
  color: #0066cc;
  font-size: 11px;
  font-weight: 800;
}

.short-preview-weekly .short-preview-label {
  color: #d9480f;
}

.short-preview-head h2 {
  margin: 0;
  color: #1f2933;
  font-size: 18px;
  line-height: 1.2;
}

.short-preview-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background: #0066cc;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.short-preview-link:hover {
  color: #fff;
  background: #0055aa;
}

.short-preview-date {
  margin: 0;
  padding: 0 12px 8px;
  color: #52616f;
  font-size: 12px;
  font-weight: 700;
}

.short-preview-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #e5ebf0;
}

.short-preview-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #eef2f5;
}

.short-preview-item:last-child {
  border-bottom: 0;
}

.short-preview-thumb {
  position: relative;
  display: block;
  width: 70px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 7px;
  background: #111820;
}

.short-preview-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.short-preview-body {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 4px 8px;
  align-items: start;
}

.short-preview-rank {
  color: #d9480f;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.short-preview-rank span {
  font-size: 11px;
}

.short-preview-body h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #1f2933;
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.short-preview-body h3 a {
  color: inherit;
}

.short-preview-body p {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: #52616f;
  font-size: 11px;
  line-height: 1.3;
  flex-wrap: wrap;
}

.short-preview-body strong {
  color: #0066cc;
  font-size: 17px;
  line-height: 1;
}

.short-preview-meta {
  grid-column: 1 / -1;
  min-width: 0;
}

.short-preview-creator {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 5px;
  color: #52616f;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  vertical-align: top;
}

.short-preview-creator:hover {
  color: #0066cc;
}

.short-preview-creator img,
.short-preview-creator-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e5ebf0;
  object-fit: cover;
}

.short-preview-creator-icon {
  border: 1px solid #d9e1e8;
}

.short-preview-creator span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.short-preview-tags {
  grid-column: 1 / -1;
  display: flex;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}

.short-preview-tags span {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid #d9e1e8;
  border-radius: 999px;
  background: #f7fafc;
  color: #34495e;
  padding: 2px 7px;
  font-size: 10px;
  line-height: 1.35;
}

.short-kind-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.short-kind-card--full {
  grid-column: 1 / -1;
}

.short-kind-card {
  min-width: 0; /* Grid item が内部コンテンツに引っ張られて広がるのを防ぐ。スライダー overflow 必須 */
  background: #fff;
  border: 1px solid #d9e1e8;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(31, 41, 51, 0.04);
}

.short-kind-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  border-bottom: 2px solid #e5ebf0;
  padding-bottom: 6px;
}

.short-kind-card-head h2 {
  margin: 0;
  font-size: 17px;
  color: #1f2933;
}

.short-kind-count {
  color: #52616f;
  font-size: 12px;
  font-weight: 700;
}

.short-kind-latest {
  margin: 0 0 10px;
  color: #34495e;
  font-size: 13px;
}

.short-kind-latest a {
  color: #0066cc;
  font-weight: 700;
}

.short-kind-action-row {
  display: flex;
  justify-content: center;
}

.short-kind-empty {
  margin: 0;
  color: #9aa8b5;
  font-size: 13px;
}

.short-date-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.short-date-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 36px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  padding: 7px 9px;
  background: #fff;
  font: inherit;
}

.short-date-submit {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #0066cc;
  border-radius: 6px;
  background: #0066cc;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.short-date-submit:hover {
  background: #0055aa;
  border-color: #0055aa;
}

@media (max-width: 760px) {
  .short-preview-section {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }

  .short-preview-head {
    padding: 10px 10px 7px;
  }

  .short-preview-head h2 {
    font-size: 17px;
  }

  .short-preview-date {
    padding: 0 10px 7px;
  }

  .short-preview-item {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 10px;
  }

  .short-preview-thumb {
    width: 62px;
  }

  .short-preview-rank {
    font-size: 18px;
  }

  .short-preview-body h3 {
    font-size: 13px;
  }

  .short-preview-body strong {
    font-size: 16px;
  }

  .short-preview-tags {
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: thin;
  }

  .short-kind-cards {
    grid-template-columns: 1fr;
  }

  .short-kind-card {
    padding: 12px;
  }
  .short-kind-card-head h2 {
    font-size: 16px;
  }
}

.short-date-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.short-date-nav a,
.short-date-nav > span,
.short-date-picker-btn,
.short-kind-tabs a,
.short-metric-tab,
.short-primary-link,
.short-load-more,
.short-filter-clear {
  border-radius: 6px;
}

.short-date-nav a,
.short-date-picker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid transparent;
  background: #007bff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
}

.short-date-nav a:hover,
.short-date-picker-btn:hover {
  background: #0056b3;
  text-decoration: none;
}

.short-date-nav > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #cbd5df;
  background: #fff;
  color: #34495e;
  font-size: 13px;
  font-weight: 700;
}

.short-date-picker-btn {
  position: relative;
  cursor: pointer;
}

.short-date-picker-btn span {
  pointer-events: none;
}

.short-date-picker-btn input[type="date"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  box-sizing: border-box;
}

/* Chrome等のPCブラウザで、文字部分をクリックしてもカレンダーが開くようにするハック */
.short-date-picker-btn input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}



.short-control-drawer,
.short-latest-panel,
.short-list-section,
.short-empty-state {
  background: #fff;
  border: 1px solid #d9e1e8;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(31, 41, 51, 0.04);
}

.short-control-drawer {
  margin-bottom: 10px;
  overflow: hidden;
}

.short-control-drawer summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  color: #34495e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.short-control-drawer summary::-webkit-details-marker {
  display: none;
}

.short-control-drawer summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid #cbd5df;
  border-radius: 50%;
  color: #52616f;
  font-weight: 800;
}

.short-control-drawer[open] summary::after {
  content: "-";
}

.short-control-drawer summary strong {
  color: #0066cc;
  font-size: 12px;
}

.short-control-body {
  border-top: 1px solid #e5ebf0;
  padding: 12px;
}

.short-switch-panel {
  margin-bottom: 12px;
}

.short-kind-tabs,
.short-metric-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.short-kind-tabs {
  margin-bottom: 10px;
}

.short-kind-tabs a,
.short-metric-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #cbd5df;
  color: #34495e;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.short-kind-tabs a.is-active,
.short-metric-tab.is-active {
  border-color: #0066cc;
  background: #0066cc;
  color: #fff;
}

.short-filter-panel {
  padding-top: 12px;
  border-top: 1px solid #e5ebf0;
}

.short-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.short-filter-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.short-filter-grid span {
  color: #475866;
  font-size: 12px;
  font-weight: 700;
}

.short-filter-grid input,
.short-filter-grid select {
  width: 100%;
  min-height: 36px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  padding: 7px 9px;
  font: inherit;
  background: #fff;
}

.short-filter-grid input[type="date"] {
  font-size: 13px;
}

.short-filter-check {
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
  align-self: end;
  min-height: 36px;
}

.short-filter-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.short-filter-check span {
  color: #34495e;
  font-size: 13px;
  font-weight: 700;
}

.short-filter-summary {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #eef6ff;
  color: #0066cc;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.short-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.short-filter-count {
  color: #52616f;
  font-size: 13px;
}

.short-filter-clear,
.short-load-more {
  min-height: 34px;
  border: 1px solid #cbd5df;
  background: #fff;
  color: #34495e;
  cursor: pointer;
  font-weight: 700;
}

.short-filter-clear {
  padding: 0 12px;
}

.short-ranking-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.short-rank-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 11px;
  padding: 10px;
  background: #fff;
  border: 1px solid #d9e1e8;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(31, 41, 51, 0.04);
}

.short-rank-card[hidden],
.short-rank-card.is-hidden-by-page,
.short-rank-card.is-filtered-out {
  display: none;
}

.short-thumb-link {
  align-self: start;
}

.short-thumb-frame {
  position: relative;
  display: block;
  width: 92px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 8px;
  background: #111820;
}

.short-thumb-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.short-thumb-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #9aa8b5;
  font-size: 12px;
}

.short-duration {
  position: absolute;
  right: 5px;
  bottom: 5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.short-rank-body {
  min-width: 0;
}

.short-rank-topline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  min-width: 0;
}

.short-analyze-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  margin-left: auto;
  padding: 0 12px;
  border-radius: 5px;
  background: #007bff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 123, 255, 0.3);
}

.short-analyze-link:hover {
  background: #0056b3;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.4);
}

.short-rank-number {
  color: #d9480f;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.short-rank-number span {
  font-size: 12px;
}

.short-status,
.short-current-chip {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.short-status {
  padding: 0 6px;
  background: #edf2f7;
  color: #52616f;
}

.short-status.is-new {
  background: #fff0f0;
  color: #c92a2a;
}

.short-status.is-revived {
  background: #eef6ff;
  color: #0066cc;
}

.short-current-chip {
  min-width: 0;
  padding: 0 7px;
  background: #f4f7fa;
  color: #52616f;
}

.short-video-title {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  color: #1f2933;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.short-video-title a {
  color: inherit;
}

.short-score-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 7px;
}

.short-score-main {
  color: #0066cc;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.short-score-unit {
  color: #52616f;
  font-size: 12px;
  white-space: nowrap;
}

.short-info-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 7px 10px;
  margin-bottom: 7px;
  color: #34495e;
  font-size: 12px;
}

.short-creator-line,
.short-genre-line,
.short-creator-link {
  min-width: 0;
}

.short-creator-line,
.short-genre-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.short-meta-label {
  flex: 0 0 auto;
  color: #6b7c8d;
  font-size: 11px;
  font-weight: 800;
}

.short-creator-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #34495e;
  text-decoration: none;
}

.short-creator-link:hover {
  color: #0066cc;
}

.short-uploader-icon,
.short-uploader-icon-placeholder {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5ebf0;
  flex: 0 0 auto;
}

.short-uploader-icon-placeholder {
  border: 1px solid #d9e1e8;
}

.short-creator-name,
.short-genre-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.short-creator-name {
  font-weight: 700;
}

.short-tag-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.short-tag-chip {
  border: 1px solid #d9e1e8;
  border-radius: 999px;
  background: #f7fafc;
  color: #34495e;
  padding: 3px 8px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.short-load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
}

.short-load-more {
  min-width: 180px;
  padding: 0 18px;
  background: #0066cc;
  border-color: #0066cc;
  color: #fff;
}

.short-empty-state {
  padding: 28px 18px;
  text-align: center;
}

.short-empty-state h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.short-empty-state p {
  margin: 0 0 14px;
  color: #52616f;
}

.short-primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  background: #0066cc;
  color: #fff;
  font-weight: 700;
}

.short-primary-link:hover {
  color: #fff;
}

/* .short-kind-latest a (青文字) に詳細度で負けてボタン文字が消える問題の回避 */
.short-kind-latest .short-primary-link,
.short-kind-latest .short-primary-link:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .short-page-shell {
    padding: 8px 8px 30px;
  }

  .short-page-head {
    display: block;
    margin-bottom: 8px;
  }

  .short-head-kicker {
    margin-bottom: 3px;
    font-size: 11px;
  }

  .short-page-head h1 {
    font-size: 19px;
    line-height: 1.22;
  }

  .short-summary {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.25;
  }

  .short-date-nav {
    margin-top: 8px;
  }

  .short-date-nav a,
  .short-date-nav > span,
  .short-date-picker-btn {
    flex: 1;
    justify-content: center;
    min-height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }

  .short-metric-tabs {
    gap: 6px;
  }

  .short-metric-tab {
    flex: 1;
    min-width: 0;
    padding: 0 6px;
    font-size: 12px;
  }

  .short-control-drawer {
    margin-bottom: 8px;
  }

  .short-control-drawer summary {
    min-height: 34px;
    padding: 0 10px;
  }

  .short-control-body {
    padding: 10px;
  }

  .short-filter-grid {
    grid-template-columns: 1fr;
  }

  .short-rank-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .short-thumb-frame {
    width: 68px;
    border-radius: 7px;
  }

  .short-rank-topline {
    gap: 5px;
    margin-bottom: 3px;
  }

  .short-rank-number {
    font-size: 17px;
  }

  .short-status,
  .short-current-chip {
    min-height: 17px;
    font-size: 10px;
  }

  .short-current-chip {
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .short-analyze-link {
    height: 22px;
    padding: 0 9px;
    font-size: 11px;
  }

  .short-video-title {
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.3;
  }

  .short-score-row {
    gap: 5px;
    margin-bottom: 5px;
  }

  .short-score-main {
    font-size: 17px;
  }

  .short-score-unit {
    font-size: 11px;
  }

  .short-info-row {
    grid-template-columns: 1fr;
    gap: 3px;
    margin-bottom: 5px;
    font-size: 11px;
  }

  .short-creator-line,
  .short-genre-line {
    gap: 5px;
  }

  .short-meta-label {
    width: 40px;
    font-size: 10px;
  }

  .short-uploader-icon,
  .short-uploader-icon-placeholder {
    width: 18px;
    height: 18px;
  }

  .short-tag-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .short-tag-chip {
    padding: 2px 7px;
    font-size: 11px;
  }
}

@media (min-width: 980px) {
  .short-ranking-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========================================
   累計ランキング ランダムサンプル スライダー
======================================== */
.short-cumul-slider-wrap {
  margin: 12px 0 14px;
  overflow: hidden; /* track が親カードを横に広げないよう封じる */
}

.short-cumul-slider {
  overflow-x: auto;
  overflow-y: hidden;
  min-width: 0;
  cursor: grab;
  scrollbar-width: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
}

.short-cumul-slider::-webkit-scrollbar { display: none; }
.short-cumul-slider.is-dragging { cursor: grabbing; }

.short-cumul-slider a,
.short-cumul-slider img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.short-cumul-track {
  display: flex;
  width: max-content;
}

.short-cumul-set {
  display: flex;
  gap: 10px;
  padding-right: 10px;
}

/* カード本体: 既存 .short-rank-card と同じ横グリッド構造。
   <article> なのでクリック領域は内部の <a> 群（thumb-link / info-link / creator） */
.short-cumul-card {
  flex-shrink: 0;
  width: 280px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid #d9e1e8;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(31, 41, 51, 0.04);
  transition: transform 0.15s, box-shadow 0.2s;
}

.short-cumul-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.short-cumul-thumb-link,
.short-cumul-info-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.short-cumul-info-link:hover .short-cumul-video-title {
  color: #0066cc;
}

/* サムネ枠: 9:16縦型（ショート動画） */
.short-cumul-thumb-frame {
  position: relative;
  display: block;
  width: 76px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 6px;
  background: #111820;
}

.short-cumul-thumb-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.short-cumul-thumb-frame .short-duration {
  font-size: 10px;
}

.short-cumul-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.short-cumul-topline {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

/* メトリクスバッジ */
.short-cumul-metric-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  line-height: 1.4;
}

.short-cumul-metric-view    { background: #e8f0fe; color: #1558d6; }
.short-cumul-metric-like    { background: #fde8ed; color: #c0143c; }
.short-cumul-metric-comment { background: #e8faf0; color: #0a7a3e; }
.short-cumul-metric-mylist  { background: #fff8e1; color: #b06a00; }

.short-cumul-video-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #1f2933;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.short-cumul-creator {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  margin-top: 4px;
  text-decoration: none;
  color: inherit;
}

a.short-cumul-creator:hover .short-creator-name {
  color: #0066cc;
  text-decoration: underline;
}

.short-cumul-creator .short-creator-name {
  font-size: 11px;
  color: #52616f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* モバイル: カード幅を縮小してスライダー内に収める */
@media (max-width: 480px) {
  .short-cumul-card {
    width: 220px;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .short-cumul-thumb-frame {
    width: 62px;
  }

  .short-cumul-video-title {
    font-size: 11px;
  }

  .short-cumul-card .short-rank-number {
    font-size: 15px;
  }

  .short-cumul-card .short-score-main {
    font-size: 14px;
  }
}
