.wp-cover-tool {
  width: 100%;
}

.wp-cover-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .wp-cover-layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.wp-cover-controls {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wp-cover-preview-wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.wp-cover-preview-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  text-align: center;
}

.screenshot-container {
  width: 100%;
  aspect-ratio: 880 / 660;
  max-height: 660px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px var(--shadow);
  overflow: hidden;
  container-type: inline-size;
}

.screenshot-container .cover-text {
  font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
  font-size: 20.45cqw; /* 180px @ 880px，随预览区宽度等比缩放 */
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.06em;
  padding: 0 0.5rem;
  text-align: center;
  word-break: break-word;
  line-height: 1.1;
}

.wp-cover-download {
  margin-top: 1rem;
}
