/* v137: desktop database cards share the exact tracking-card rhythm. */
@media (min-width: 720px) {
  html body.view-database #showGrid > .database-card .card-content {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 150px !important;
    height: 150px !important;
    padding: 12px 1px 0 !important;
    background: transparent !important;
  }

  html body.view-database #showGrid > .database-card .card-context,
  html body.view-database #showGrid > .database-card .card-air-date {
    display: none !important;
  }

  html body.view-database #showGrid > .database-card .card-top {
    display: flex !important;
    align-items: baseline !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.view-database #showGrid > .database-card .card-episode-row {
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
  }

  html body.view-database #showGrid > .database-card .episode-name {
    display: block !important;
  }

  html body.view-database #showGrid > .database-card .card-quick-watch {
    display: grid !important;
  }

  html body.view-database #showGrid > .database-card .progress-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
  }

  html body.view-database #showGrid > .database-card .progress-row > span {
    display: inline !important;
  }

  html body.view-database #showGrid > .database-card .card-remaining {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: 24px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}
