.cool-text-output-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cool-text-panel {
  border: 1px solid rgba(15, 118, 255, 0.35);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  background:
    radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.24),
      transparent 60%
    ),
    rgba(15, 23, 42, 0.75);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.4);
}

.cool-text-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.cool-text-panel__label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.85);
}

.cool-text-output {
  margin: 0;
  padding: 0;
  min-height: 90px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 1rem;
  font-family: "Sora", "Space Mono", ui-monospace;
  line-height: 1.65;
  transition: opacity 0.2s ease;
}

.cool-text-output.is-empty {
  opacity: 0.6;
}

.cool-text-copy {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 0.7rem;
  padding: 0.3rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.cool-text-copy:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.cool-text-copy svg {
  width: 14px;
  height: 14px;
}
