/* ===== Desktop Grid ===== */
.rpl-app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding: 10px;
}

.rpl-app-item {
  border: 1px solid #eee;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rpl-app-item:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.rpl-thumb {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 10px;
}

.rpl-app-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.rpl-download-btn {
  background: #FF0202;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}


/* ===== Mobile Single Row Layout ===== */
@media (max-width: 600px) {

  .rpl-app-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .rpl-app-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 10px 12px;
  }

  .rpl-thumb {
    width: 55px;
    height: 55px;
    margin: 0 10px 0 0;
  }

  .rpl-app-name {
    flex: 1;
    font-size: 15px;
    margin: 0;
    padding-right: 10px;
  }

  .rpl-download-btn {
    padding: 6px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

}