.creator-dialog {
  width: min(760px, 94vw);
}
.creator-dialog, .creator-dialog * {
  box-sizing: border-box;
}
.creator-dialog p {
  overflow-wrap: anywhere;
}
.creator-dialog .reward-form {
  grid-template-columns: minmax(0, 1fr);
}
.creator-dialog .reward-form label {
  display: grid;
  min-width: 0;
}
.creator-dialog .reward-form .reward-check {
  display: flex;
}
.creator-dialog input:not([type="checkbox"]),
.creator-dialog select,
.creator-dialog textarea {
  width: 100%;
  max-width: 100%;
}
.creator-dialog [hidden] {
  display: none !important;
}
.creator-profile-section {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 10px;
}
.creator-profile-section > legend { color: #86efac; margin-bottom: 10px; }
.creator-project-list { display: grid; gap: 8px; }
.creator-project-card {
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 10px;
  background: rgba(15, 23, 42, .45);
  overflow: hidden;
}
.creator-project-card summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  cursor: pointer;
  list-style: none;
}
.creator-project-card summary::-webkit-details-marker { display: none; }
.creator-project-card summary::after {
  content: "+";
  margin-left: auto;
  color: #86efac;
}
.creator-project-card[open] summary::after { content: "-"; }
.creator-project-card summary:focus-visible { outline: 2px solid #86efac; outline-offset: -3px; }
.creator-project-thumb {
  box-sizing: border-box;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: 4px;
  object-fit: contain;
  border-radius: 6px;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 15%, #123d32, transparent 65%), #0b1920;
  display: grid;
  place-items: center;
  color: #86efac;
}
.creator-project-card summary > span:not(.creator-project-thumb) { min-width: 0; overflow-wrap: anywhere; }
.creator-project-card-body { padding: 0 12px 12px; }
.creator-project-card-body .toolbar-btn { margin: 8px 0 0; white-space: normal; }
.creator-entry {
  border: 1px solid rgba(52, 211, 153, .4);
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0;
  display: grid;
  gap: 10px;
  min-width: 0;
}
.creator-entry legend {
  color: #86efac;
  padding: 0 6px;
}
.creator-entry [data-payout-field] {
  padding: 12px;
  background: rgba(251, 191, 36, .08);
}
.creator-service-status:not(:empty) {
  color: #fbbf24;
  font-size: 12px;
  max-width: 350px;
}
.creator-dialog .reward-form > h3 {
  margin-bottom: 0;
  color: #86efac;
}
.creator-dialog .reward-form > p {
  margin-top: 0;
}
.details-desc, .details-group p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.creator-profile-details a {
  color: #86efac;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.creator-profile-details a:hover {
  color: #fbbf24;
}
.creator-profile-details small {
  display: block;
  color: #cbd5e1;
  margin-top: 5px;
}
.creator-image-unavailable { color: #fbbf24; font-size: .75rem; }
img[data-creator-image][hidden] { display: none !important; }
.creator-profile-details > .toolbar-btn {
  display: block;
  margin: 12px 0;
  white-space: normal;
}
.claim-badge {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.72rem;
  white-space: nowrap;
}
.claim-badge.is-claimed { color: #fbbf24; border-style: dashed; }
.claim-badge.is-mutual { color: #7dd3fc; }
.claim-badge.is-ledger { color: #34d399; box-shadow: 0 0 8px rgba(52, 211, 153, 0.45); }
.creator-profile-details .ledger-proof { color: #fcd34d; }
.creator-profile-details .ledger-proof.is-verified { color: #6ee7b7; }
.creator-dialog select[multiple] { min-height: 5.5em; }
.creator-publish-status:not(:empty) {
  padding: 12px;
  border: 1px solid #34d399;
  border-radius: 10px;
  background: rgba(52, 211, 153, .08);
}
.creator-publish-status.is-error { border-color: #f87171; color: #fca5a5; }
.project-ens {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(110, 231, 183, .25);
  border-radius: 12px;
  background: rgba(52, 211, 153, .04);
}
.project-ens h4 { margin: 0 0 8px; overflow-wrap: anywhere; }
.project-ens-family { margin: 14px 0; padding-top: 12px; border-top: 1px solid rgba(110, 231, 183, .2); }
.project-ens-family li { margin-bottom: 10px; }
.project-ens-family small { display: block; overflow-wrap: anywhere; color: #94a3b8; }
.project-ens [data-ens-art] { position: relative; }
.project-ens-header { display: block; width: 100%; max-height: 180px; object-fit: contain; border-radius: 8px; }
.project-ens-avatar { display: block; width: 80px; height: 80px; margin: 8px 0; object-fit: contain; border-radius: 12px; }
.project-ens [data-ens-controls] { overflow-wrap: anywhere; }
.project-ens label { display: grid; gap: 6px; margin: 10px 0; }
.project-ens input { box-sizing: border-box; width: 100%; min-width: 0; padding: 8px; border: 1px solid #475569; border-radius: 6px; background: #0b1920; color: #e2e8f0; }
.project-ens button, .project-ens [data-ens-controls] > a { margin: 4px 6px 4px 0; }
.project-ens .is-error { color: #fca5a5; }
.project-ens-setup small { display: block; margin-top: 6px; color: #94a3b8; }
.creator-publishing-dialog {
  box-sizing: border-box;
  width: min(480px, 94vw);
  max-height: 90dvh;
  overflow-y: auto;
  padding: 28px;
  border: 1px solid #34d399;
  border-radius: 20px;
  background: #0b1920;
  color: #e2e8f0;
  text-align: center;
  box-shadow: 0 0 40px rgba(52, 211, 153, .2);
}
.creator-publishing-dialog::backdrop { background: rgba(0, 0, 0, .8); }
.creator-publishing-dialog [hidden] { display: none !important; }
.creator-publishing-dialog p { overflow-wrap: anywhere; line-height: 1.6; }
#creator-publishing-help { color: #94a3b8; font-size: .9rem; }
.creator-publishing-dialog[data-state="error"] { border-color: #f87171; }
.creator-publishing-dialog[data-state="error"] #creator-publishing-message { color: #fca5a5; }
.creator-publishing-forest {
  position: absolute;
  inset: 0 0 auto;
  height: 300px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(#000 65%, transparent);
}
.creator-publishing-connections {
  width: 100%;
  height: 100%;
  color: #6ee7b7;
  opacity: .2;
  filter: drop-shadow(0 0 5px #34d399);
  animation: creator-forest-glow 7s ease-in-out infinite alternate;
}
.creator-publishing-critter, .creator-publishing-tree {
  position: absolute;
  font-size: 25px;
  opacity: .65;
  filter: drop-shadow(0 0 8px rgba(110, 231, 183, .4));
  animation: creator-critter-drift 9s ease-in-out infinite alternate;
}
.creator-publishing-critter:nth-of-type(1) { left: 7%; top: 56%; animation-delay: -2s; }
.creator-publishing-critter:nth-of-type(2) { right: 9%; top: 13%; animation-delay: -5s; }
.creator-publishing-critter:nth-of-type(3) { left: 12%; top: 12%; animation-delay: -7s; }
.creator-publishing-critter:nth-of-type(4) { right: 6%; top: 65%; animation-delay: -3s; }
.creator-publishing-tree:nth-of-type(5) { left: 15%; top: 79%; font-size: 45px; }
.creator-publishing-tree:nth-of-type(6) { right: 15%; top: 80%; font-size: 40px; animation-delay: -4s; }
.creator-publishing-orbit {
  position: relative;
  width: min(250px, 100%);
  aspect-ratio: 1;
  margin: 16px auto 28px;
}
.creator-publishing-ring {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(98, 245, 237, .3);
  box-shadow: 0 0 18px rgba(98, 245, 237, .25);
  animation: creator-orbit 8s linear infinite;
}
.creator-publishing-icon {
  position: absolute;
  width: 42px;
  height: 42px;
  margin: -21px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  animation: creator-counter-orbit 8s linear infinite;
}
.creator-publishing-icon img { width: 100%; height: 100%; object-fit: contain; }
.creator-publishing-icon:nth-child(1) { left: 50%; top: 0; }
.creator-publishing-icon:nth-child(2) { left: 93.3%; top: 25%; }
.creator-publishing-icon:nth-child(3) { left: 93.3%; top: 75%; }
.creator-publishing-icon:nth-child(4) { left: 50%; top: 100%; }
.creator-publishing-icon:nth-child(5) { left: 6.7%; top: 75%; }
.creator-publishing-icon:nth-child(6) { left: 6.7%; top: 25%; }
.creator-publishing-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86efac;
  font-weight: bold;
  text-shadow: 0 0 12px rgba(98, 245, 237, .5);
  font-size: clamp(16px, 4vw, 20px);
  pointer-events: none;
}
.creator-publishing-center > span {
  display: inline-block;
  background: linear-gradient(115deg, #86efac 15%, #ecfeff 35%, #67e8f9 50%, #fde68a 65%, #86efac 85%);
  background-size: 250% 100%;
  background-clip: text;
  color: transparent;
  animation: creator-letter-canopy 8s ease-in-out infinite, creator-letter-shimmer 5s ease-in-out infinite;
  animation-delay: 0s, var(--delay);
}
.creator-publishing-dialog .creator-publishing-forest *,
.creator-publishing-dialog .creator-publishing-ring,
.creator-publishing-dialog .creator-publishing-icon,
.creator-publishing-dialog .creator-publishing-center > span { animation-play-state: paused; }
.creator-publishing-dialog[open][data-state="working"] .creator-publishing-forest *,
.creator-publishing-dialog[open][data-state="working"] .creator-publishing-ring,
.creator-publishing-dialog[open][data-state="working"] .creator-publishing-icon,
.creator-publishing-dialog[open][data-state="working"] .creator-publishing-center > span { animation-play-state: running; }
@keyframes creator-orbit { to { transform: rotate(360deg); } }
@keyframes creator-counter-orbit { to { transform: rotate(-360deg); } }
@keyframes creator-letter-canopy {
  0%, 100% { transform: translateY(0) scale(1); }
  45%, 60% { transform: translateY(var(--rise)) rotate(var(--lean)) scale(1.18, 1.35); }
}
@keyframes creator-letter-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes creator-forest-glow { to { opacity: .4; transform: scale(1.025); } }
@keyframes creator-critter-drift { to { transform: translate(7px, -12px) rotate(7deg); } }
@media (prefers-reduced-motion: reduce) {
  .creator-publishing-dialog .creator-publishing-forest *,
  .creator-publishing-ring, .creator-publishing-icon,
  .creator-publishing-center > span { animation: none; }
  .creator-publishing-center > span { color: #86efac; background: none; }
}
.creator-entry [data-repository-preview] {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.creator-github-section {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 16px 0;
  padding: clamp(16px, 4vw, 24px);
  border: 1px solid rgba(148, 163, 184, .4);
  border-radius: 12px;
  background: rgba(15, 23, 42, .65);
}
.creator-github-section h4,
.creator-github-section p { margin: 0; }
.creator-github-section h4 { font-size: 1.1rem; color: #f8fafc; }
.creator-github-section .participation-actions { gap: 12px; align-items: center; }
.creator-github-section .toolbar-btn { white-space: normal; overflow-wrap: anywhere; }
.creator-github-section .creator-github-connect {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border-color: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  text-align: left;
}
.creator-github-connect img { flex: 0 0 24px; border-radius: 50%; }
.creator-github-section .creator-github-connect:hover { background: #e2e8f0; color: #0f172a; }
.creator-github-section .creator-github-connect:focus-visible { outline: 3px solid #86efac; outline-offset: 4px; }
.creator-github-section [data-github-picker] { display: grid; gap: 12px; min-width: 0; }
#creator-projects { display: grid; gap: 16px; }
#creator-projects > .creator-entry { padding: 0; margin: 0; overflow: hidden; display: block; }
#creator-projects > .creator-entry > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.creator-project-editor > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
  background: rgba(15, 23, 42, .65);
}
.creator-project-editor > summary::-webkit-details-marker { display: none; }
.creator-project-editor > summary:focus-visible { outline: 3px solid #86efac; outline-offset: -3px; }
.creator-editor-icon {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(52, 211, 153, .12);
  font-size: 24px;
}
.creator-editor-summary { display: grid; gap: 8px; min-width: 0; flex: 1; overflow-wrap: anywhere; }
.creator-editor-summary strong { font-size: 1.1rem; color: #f8fafc; }
.creator-editor-summary small { color: #cbd5e1; line-height: 1.5; }
.creator-editor-chevron { color: #86efac; font-size: 24px; transition: transform .15s; }
.creator-project-editor[open] > summary .creator-editor-chevron { transform: rotate(180deg); }
.creator-project-editor-body { display: grid; gap: 24px; padding: clamp(14px, 4vw, 24px); }
.creator-editor-group { display: grid; gap: 18px; min-width: 0; }
.creator-editor-group + .creator-editor-group { border-top: 1px solid rgba(148, 163, 184, .25); padding-top: 24px; }
.creator-editor-group h4 { margin: 0; font-size: 1rem; color: #86efac; }
.creator-editor-group p { margin: 0; line-height: 1.6; }
.creator-project-editor-body label { gap: 8px; line-height: 1.5; }
.creator-project-editor-body input,
.creator-project-editor-body select,
.creator-project-editor-body textarea { padding: 10px 12px; }
.creator-project-editor-body .toolbar-btn { white-space: normal; min-height: 44px; }
.creator-project-editor-body .creator-github-section { margin: 0; }
.creator-editor-help { line-height: 1.6; }
.creator-editor-help > summary { cursor: pointer; padding: 8px 0; color: #cbd5e1; }
.creator-editor-help[open] > p { margin-top: 12px; }
[data-project-artwork-preview] { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #cbd5e1; }
[data-project-artwork-preview] img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; }
[data-project-artwork-preview] p { flex: 1; min-width: 120px; }
@media (max-width: 480px) {
  .creator-project-editor > summary { padding: 16px 12px; gap: 10px; }
  .creator-project-editor-body .creator-github-section { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .creator-editor-chevron { transition: none; }
}
