/* Shared generated image gallery in both draft boxes. */
.aura-saved-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(129, 143, 147, .22);
}
.aura-saved-section h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
}
.aura-saved-section h3 small {
  font-size: 11px;
  font-weight: 400;
  opacity: .65;
}
.aura-saved-message { font-size: 12px; }
.aura-saved-message:empty { display: none; }
.aura-saved-refresh,.aura-saved-migrate,.aura-saved-more {
  margin: 0 6px 12px 0;
  padding: 7px 12px;
  border: 1px solid rgb(129 143 147 / .2);
  border-radius: 8px;
  background: rgb(129 143 147 / .08);
  color: inherit;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.aura-saved-section button:disabled { opacity: .5; cursor: wait; }
.creation-drafts-dialog > p[role="status"] { padding: 4px 0; line-height: 1.6; }
.aura-saved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
  gap: 8px;
  max-height: min(320px, 55vh);
  overflow-y: auto;
}
.aura-saved-item {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1ef;
  aspect-ratio: 1;
}
.aura-saved-preview {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
}
.aura-saved-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aura-saved-example {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgb(20 25 30 / .68);
  color: #fff;
  font-size: 10px;
  pointer-events: none;
}
.aura-saved-actions {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  gap: 4px;
  padding: 5px;
  background: linear-gradient(to top, rgb(12 18 16 / .72), transparent);
}
@media (hover: hover) {
  .aura-saved-actions { opacity: 0; transition: opacity .16s ease; }
  .aura-saved-item:hover .aura-saved-actions,
  .aura-saved-item:focus-within .aura-saved-actions { opacity: 1; }
}
.aura-saved-actions button {
  flex: 1 1 0;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: rgb(255 255 255 / .9);
  color: #23282a;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.aura-saved-actions button:hover { background: #fff; }

.aura-creation-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.aura-creation-viewer[open] { display: grid; place-items: center; }
.aura-creation-viewer::backdrop { background: rgb(12 16 15 / .78); backdrop-filter: blur(6px); }
.aura-creation-viewer img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgb(0 0 0 / .4);
}
.aura-creation-viewer-close {
  position: absolute;
  top: 22px;
  right: 26px;
  height: 34px;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / .24);
  border-radius: 999px;
  background: rgb(12 16 15 / .82);
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
