#createDialog {
  width: min(740px, calc(100vw - 20px));
  max-width: none;
  max-height: calc(100dvh - 20px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #78968d88;
  border-radius: 24px;
  background: #142b2e;
}
#createForm {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 22px);
}
.creator-heading {
  flex-shrink: 0;
  display: block;
  padding: 20px 24px 12px;
  background: linear-gradient(120deg, #244442, #142b2e);
}
#createDialog h2 {
  font-size: 29px;
  margin: 6px 0;
}
#createDialog .creator-heading p {
  margin: 0;
  color: #abc3ba;
}
.creator-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 0;
}
.creator-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 12px 16px;
  background:
    radial-gradient(ellipse at 50% 35%, #60795d40, transparent 65%), #102529;
  position: relative;
}
.creator-stage {
  position: relative;
  width: min(100%, 320px);
  height: 190px;
}
.creator-orbit {
  position: absolute;
  width: 150px;
  height: 65px;
  border-radius: 50%;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #d4bd7d66;
  box-shadow:
    0 0 0 10px #cfbb7a08,
    inset 0 0 26px #a4c1a318;
  background: radial-gradient(ellipse, #5a755d33, transparent 70%);
}
#createPreview {
  position: relative;
  width: 100%;
  height: 190px;
  object-fit: contain;
  image-rendering: auto;
}
#createPreviewName {
  font: 23px Georgia;
  color: #edddb8;
  letter-spacing: 0.03em;
}
#createPreviewStatus {
  font-size: 11px;
  color: #a6bdb6;
  min-height: 17px;
  text-align: center;
  margin-top: 4px;
}
.creator-facing {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 9px;
}
#createDialog .creator-facing button {
  margin: 0;
  padding: 0 10px;
  min-width: 38px;
  min-height: 40px;
  border-radius: 10px;
  font-size: 17px;
  background: #1e3b3e;
}
#createDialog .creator-facing button[aria-pressed="true"] {
  color: #173330;
  background: #d3deb4;
  border-color: #d3deb4;
}
#createDialog #createWalk {
  font-size: 11px;
  padding: 0 9px;
}
.creator-options {
  padding: 18px 22px;
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
}
#createDialog .color-fields {
  display: none;
}
#createDialog input,
#createDialog select,
#createDialog textarea {
  margin: 4px 0;
  min-height: 43px;
  width: 100%;
  box-sizing: border-box;
}
.creator-footer {
  flex-shrink: 0;
  height: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid #89a18a25;
  background: #183135;
}
.creator-footer > span {
  font-size: 12px;
  color: #9bb7ae;
}
#createDialog .creator-footer .gold {
  margin: 0;
  width: 210px;
  padding: 12px 18px;
  font-size: 15px;
}
.creator-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 14px 0 8px;
}
#createDialog .creator-channels button {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  margin: 0;
  padding: 9px 5px;
  font-size: 11px;
  background: #183639;
  border-radius: 12px;
  min-height: 65px;
}
#createDialog .creator-channels button[aria-pressed="true"] {
  border-color: #dbc987;
  background: #30483f;
  color: #f3e2ba;
}
.color-dot {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--chip);
  box-shadow:
    inset 0 0 0 1px #ffffff40,
    0 2px 6px #0004;
}
#createDialog .creator-palette-title {
  font-size: 12px;
  color: #d1dfd5;
  margin: 10px 0 8px;
}
.creator-swatches {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 14px;
}
#createDialog .creator-swatches button {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 44px;
  min-width: 0;
  padding: 4px;
  margin: 0;
  background: #10292c;
  border: 1px solid transparent;
  border-radius: 11px;
}
#createDialog .creator-swatches button[aria-pressed="true"] {
  border-color: #f0dca2;
  background: #476155;
}
#createDialog .creator-swatches button[aria-pressed="true"]:after {
  content: "✓";
  position: absolute;
  right: 1px;
  bottom: 0;
  font-size: 13px;
  color: #fff;
  text-shadow: 0 1px 3px #000;
}
.art-switch {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 12px 0;
  padding: 5px;
  border: 1px solid #9ab49340;
  border-radius: 13px;
  background: #10282a;
}
.art-switch span {
  font-size: 12px;
  color: #bcd0c2;
  padding: 0 7px;
}
.art-switch button {
  flex: 1;
  margin: 0 !important;
  min-height: 40px;
  background: transparent;
  border: 0;
  color: #b9cfc7;
  border-radius: 9px;
}
.art-switch button[aria-pressed="true"] {
  background: #d8deb6;
  color: #19322c;
}
#loginDialog .art-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#loginDialog .art-switch button {
  min-width: 0;
  min-height: 44px;
  padding: 8px 4px;
  font-size: 14px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .creator-heading {
    padding: 13px 18px 9px;
  }
  #createDialog h2 {
    font-size: 25px;
  }
  .creator-body {
    display: flex;
    flex-direction: column;
  }
  .creator-preview {
    padding: 0 10px 9px;
    flex-shrink: 0;
  }
  .creator-stage,
  #createPreview {
    height: 156px;
  }
  .creator-stage {
    width: 263px;
  }
  .creator-orbit {
    width: 125px;
    height: 48px;
  }
  .creator-facing {
    margin-top: 7px;
  }
  .creator-options {
    padding: 12px 18px;
  }
  .creator-footer {
    padding: 12px 18px;
  }
  .creator-footer > span {
    display: none;
  }
  #createDialog .creator-footer .gold {
    width: 100%;
  }
  .creator-heading p {
    display: none;
  }
}
@media (max-width: 350px) {
  .creator-swatches {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-height: 580px) and (min-width: 601px) {
  .creator-body {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
  }
  .creator-heading {
    padding: 10px 18px;
  }
  .creator-heading .eyebrow,
  .creator-heading p,
  .creator-footer > span {
    display: none;
  }
  .creator-stage,
  #createPreview {
    height: 125px;
  }
  .creator-stage {
    width: 211px;
  }
  .creator-preview {
    padding: 0 6px 8px;
  }
  .creator-options {
    padding: 8px 14px;
  }
  .creator-footer {
    padding: 8px 18px;
  }
  .creator-facing {
    gap: 3px;
  }
  #createDialog .creator-facing button {
    min-width: 30px;
    padding: 0 7px;
    min-height: 36px;
  }
  #createPreviewStatus {
    display: none;
  }
}
