/* RdBox 产品页展示样式 */
.extension-showcase {
  max-width: 360px;
  margin-inline: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #0f1419;
}

.extension-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f4f4f5;
  border-bottom: 1px solid var(--border);
}

.extension-toolbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4d4d8;
}

.extension-toolbar-pill {
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e4e4e7;
  font-size: 0.75rem;
  color: #52525b;
}

.extension-toolbar-icon {
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 4px;
}

.extension-popup-shot {
  width: 100%;
  height: auto;
  display: block;
}

.rdbox-screenshots {
  grid-template-columns: minmax(240px, 320px) 1fr;
  align-items: start;
}

.rdbox-screenshots .screenshot-item > img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #0f1419;
}

.rdbox-screenshots .screenshot-wide > img {
  background: #fafafa;
}

@media (max-width: 960px) {
  .rdbox-screenshots {
    grid-template-columns: 1fr;
  }

  .rdbox-screenshots .screenshot-item {
    max-width: 360px;
    margin-inline: auto;
  }

  .rdbox-screenshots .screenshot-wide {
    max-width: 100%;
  }
}
