.pixel-craft-poc {
  --pc-peg: #d7d2cc;
  --pc-board: #ece7e1;
  --pc-sticky: 7.5rem;
}

.pixel-craft-staff-nav {
  font-size: 0.85rem;
}

.pixel-craft-about__eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gs-yellow, #fdb515);
  margin: 0;
}

.pixel-craft-legend {
  font-family: var(--bs-header-font-family, "Jua", sans-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.pixel-craft-hint {
  font-size: 1rem;
  color: #5b5b5b;
  margin-bottom: 0.75rem;
}

.pixel-craft-empty {
  border: 4px dashed var(--gs-light-purple, #e5dcf4);
  border-radius: 24px;
  padding: 1.75rem 1.25rem 1.5rem;
  background: #fff;
}

.pixel-craft-empty__photo-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.pixel-craft-empty__hint {
  margin-top: 0.85rem;
  font-size: 1.1rem;
  color: #5b5b5b;
}

.pixel-craft-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.75rem;
  max-height: min(52vh, 28rem);
  overflow: auto;
  padding: 0.15rem;
}

.pixel-craft-library-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  border: 3px solid var(--gs-light-purple, #e5dcf4);
  border-radius: 16px;
  background: #fff;
  padding: 0.4rem;
  cursor: pointer;
  text-align: center;
}

.pixel-craft-library-card:hover,
.pixel-craft-library-card:focus-visible {
  border-color: var(--gs-purple, #6a0dad);
}

.pixel-craft-library-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 10px;
  background: var(--gs-light-light-purple, #efe8f7);
}

.pixel-craft-library-card__name {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gs-dark-purple, #3c0777);
}

.pixel-craft-library-card__badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 1;
  background: var(--gs-purple, #6a0dad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
}

.pixel-craft-intent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pixel-craft-intent-actions .btn {
  width: 100%;
}

.pixel-craft-library-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #5b5b5b;
  padding: 1.5rem 0.5rem;
}

.pixel-craft-crop {
  border: 4px solid var(--gs-light-purple, #e5dcf4);
  border-radius: 24px;
  padding: 1.5rem 1.25rem 1.35rem;
  background: #fff;
}

.pixel-craft-crop-layout {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pixel-craft-crop-wrap {
  background: #fff;
  border: 1px solid var(--gs-light-purple, #e5dcf4);
  border-radius: 18px;
  overflow: hidden;
  max-width: 32rem;
  width: 100%;
  margin: 0 auto;
}

.pixel-craft-crop-canvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: grab;
  touch-action: none;
}

.pixel-craft-crop-canvas.is-dragging {
  cursor: grabbing;
}

.pixel-craft-crop-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.pixel-craft-crop-tools .pixel-craft-bg {
  width: 100%;
  max-width: 32rem;
  margin: 0;
}

.pixel-craft-crop-tools .pixel-craft-size {
  display: flex;
  width: 100%;
}

.pixel-craft-crop-tools .pixel-craft-size-btn {
  flex: 1 1 0;
  min-width: 0;
}

.pixel-craft-crop-tools .pixel-craft-bg .pixel-craft-hint {
  margin-top: 0.45rem;
}

.pixel-craft-bg {
  max-width: 32rem;
  margin: 0 auto;
  border: 0;
  padding: 0;
}

.pixel-craft-crop-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 32rem;
}

.pixel-craft-crop-actions .btn-outline-primary {
  min-height: 2.8rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .pixel-craft-crop-layout {
    flex-direction: row;
    align-items: stretch;
    gap: 1.25rem;
  }

  .pixel-craft-crop-wrap {
    flex: 1 1 auto;
    max-width: 32rem;
    margin: 0;
  }

  .pixel-craft-crop-tools {
    flex: 0 1 14.5rem;
    align-items: stretch;
    justify-content: center;
    min-width: 12rem;
  }

  .pixel-craft-crop-tools .pixel-craft-bg {
    max-width: none;
  }

  .pixel-craft-crop-actions {
    max-width: none;
    align-items: stretch;
  }

  .pixel-craft-crop-actions .btn {
    width: 100%;
  }
}

.pixel-craft-photo-btn {
  font-size: 1.35rem;
  padding: 0.85rem 1.6rem;
  min-height: 3.5rem;
}

.pixel-craft-photo-btn i {
  margin-right: 0.45rem;
}

.pixel-craft-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0.7rem;
  height: calc(100dvh - var(--pc-sticky));
  min-height: 22rem;
}

@media (min-width: 576px) {
  .pixel-craft-workspace {
    padding-bottom: 1.15rem;
  }
}

.pixel-craft-poc.has-color-rail .pixel-craft-workspace {
  grid-template-columns: 11rem minmax(0, 1fr);
}

.pixel-craft-workspace__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.pixel-craft-palette-dd {
  position: relative;
}

.pixel-craft-palette-dd__btn,
.pixel-craft-palette-dd__option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 0.65rem;
  width: 100%;
  border: 3px solid var(--gs-light-purple, #e5dcf4);
  border-radius: 16px;
  padding: 0.7rem 0.85rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  min-height: 3.1rem;
}

.pixel-craft-palette-dd__btn[aria-expanded="true"] {
  border-color: var(--gs-purple, #6a0dad);
}

.pixel-craft-palette-dd__btn .fa-chevron-down {
  color: var(--gs-teal, #008080);
  font-size: 0.95rem;
}

.pixel-craft-palette-dd__menu {
  position: relative;
  z-index: 5;
  margin: 0.35rem 0 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 3px solid var(--gs-purple, #6a0dad);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(60, 7, 119, 0.12);
  max-height: 18rem;
  overflow: auto;
}

.pixel-craft-palette-dd__option {
  border-width: 2px;
  min-height: 2.75rem;
  margin-bottom: 0.3rem;
  grid-template-columns: auto 1fr;
}

.pixel-craft-palette-dd__option:last-child {
  margin-bottom: 0;
}

.pixel-craft-palette-dd__option.is-selected,
.pixel-craft-palette-dd__option[aria-selected="true"] {
  border-color: var(--gs-purple, #6a0dad);
  background: var(--gs-light-light-purple, #efe8f7);
}

.pixel-craft-palette-dd__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gs-dark-purple, #3c0777);
}

.pixel-craft-palette-dd__swatches {
  display: flex;
  gap: 3px;
}

.pixel-craft-palette-dd__swatches i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: block;
}

.pixel-craft-size {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  border: 2px solid var(--gs-light-purple, #e5dcf4);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.pixel-craft-size-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  min-width: 3.5rem;
  border: 0;
  border-right: 1px solid var(--gs-light-purple, #e5dcf4);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  margin: 0;
  padding: 0.15rem 0.7rem;
  line-height: 1.1;
}

.pixel-craft-size-btn:last-of-type {
  border-right: 0;
}

.pixel-craft-size-btn__name {
  font-size: 0.85rem;
  font-weight: 700;
}

.pixel-craft-size-btn__meta {
  font-size: 0.68rem;
  color: #5b5b5b;
  font-weight: 600;
}

.pixel-craft-size .btn-check:checked + .pixel-craft-size-btn {
  background: var(--gs-purple, #6a0dad);
  color: #fff;
}

.pixel-craft-size .btn-check:checked + .pixel-craft-size-btn .pixel-craft-size-btn__meta {
  color: rgba(255, 255, 255, 0.88);
}

.pixel-craft-safety {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  background: var(--gs-light-yellow, #f9e3ab);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.pixel-craft-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 8;
  overflow: visible;
}

.pixel-craft-stats.featured-metadata {
  align-items: center;
  gap: 0.45rem;
}

.pixel-craft-stats .featured-meta-tag {
  width: auto;
  justify-content: center;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.32rem 0.7rem;
  max-width: none;
  white-space: nowrap;
  line-height: 1.2;
}

.pixel-craft-stats .featured-meta-tag i {
  font-size: 0.85rem;
}

.pixel-craft-colors-dd {
  position: relative;
  width: auto;
  flex: 0 0 auto;
}

.pixel-craft-colors-dd__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.pixel-craft-colors-dd__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pixel-craft-colors-dd.is-open .pixel-craft-colors-dd__btn {
  box-shadow: 0 0 0 2px rgba(60, 7, 119, 0.18);
}

.pixel-craft-colors-dd__btn .fa-chevron-down {
  font-size: 0.65rem;
  transition: transform 0.15s ease;
}

.pixel-craft-colors-dd.is-open .pixel-craft-colors-dd__btn .fa-chevron-down {
  transform: rotate(180deg);
}

.pixel-craft-colors-dd__menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  z-index: 12;
  min-width: 16.5rem;
  max-width: min(22rem, calc(100vw - 2rem));
  max-height: min(22rem, 52vh);
  overflow: auto;
  padding: 0.55rem 0.45rem 0.45rem;
  background: #fff;
  border: 3px solid var(--gs-purple, #6a0dad);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(60, 7, 119, 0.14);
}

.pixel-craft-colors-dd.is-open .pixel-craft-colors-dd__menu {
  display: block;
}

.pixel-craft-colors-dd__hint,
.pixel-craft-colors-dd__empty {
  margin: 0 0.35rem 0.45rem;
  font-size: 0.95rem;
  color: #5b5b5b;
}

.pixel-craft-colors-dd__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.85rem;
  margin: 0 0 0.3rem;
  padding: 0.25rem 0.45rem;
  border: 2px solid var(--gs-light-purple, #e5dcf4);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.pixel-craft-colors-dd__row:last-of-type {
  margin-bottom: 0;
}

.pixel-craft-colors-dd__row:hover,
.pixel-craft-colors-dd__row:focus-visible {
  border-color: var(--gs-purple, #6a0dad);
  background: var(--gs-light-light-purple, #efe8f7);
}

.pixel-craft-colors-dd__row .pixel-craft-swatch {
  width: 1.85rem;
  height: 1.85rem;
  border-width: 2px;
  flex-shrink: 0;
}

.pixel-craft-colors-dd__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gs-dark-purple, #3c0777);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pixel-craft-colors-dd__count {
  font-weight: 700;
  font-size: 0.95rem;
  color: #5b5b5b;
}

.pixel-craft-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
  margin-bottom: 0.45rem;
  flex: 0 0 auto;
}

.pixel-craft-new-photo {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 2.6rem;
  min-height: 2.6rem;
  margin-left: auto;
  flex: 0 0 auto;
  padding: 0 0.85rem;
  border: 2px solid var(--gs-yellow, #fdb515);
  border-radius: 999px;
  background: var(--gs-yellow, #fdb515);
  color: var(--gs-dark-purple, #3c0777);
  box-shadow: 0 3px 0 0 var(--gs-btn-shadow-yellow, #e5a30a);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.pixel-craft-new-photo i {
  font-size: 0.85rem;
}

.pixel-craft-new-photo:hover,
.pixel-craft-new-photo:focus-visible {
  background: #ffc42e;
  border-color: #ffc42e;
}

.pixel-craft-new-photo:disabled {
  opacity: 0.4;
  cursor: default;
}

.pixel-craft-canvas-chrome {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0.45rem;
  z-index: 3;
  max-width: calc(100% - 1.4rem);
  pointer-events: none;
}

.pixel-craft-canvas-chrome__edit,
.pixel-craft-canvas-chrome__view,
.pixel-craft-canvas-chrome .pixel-craft-view-tools {
  pointer-events: auto;
}

.pixel-craft-canvas-chrome__edit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  min-width: 0;
}

.pixel-craft-canvas-chrome__view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.pixel-craft-canvas-chrome .pixel-craft-size,
.pixel-craft-canvas-chrome .pixel-craft-history {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(60, 7, 119, 0.12);
}

.pixel-craft-canvas-chrome .pixel-craft-history__btn {
  width: 2.15rem;
  height: 2.15rem;
}

.pixel-craft-history {
  display: flex;
  background: #fff;
  border: 2px solid var(--gs-light-purple, #e5dcf4);
  border-radius: 999px;
  overflow: hidden;
}

.pixel-craft-history__btn,
.pixel-craft-view-tools__btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: #fff;
  color: var(--gs-dark-purple, #3c0777);
  font-size: 1rem;
  cursor: pointer;
}

.pixel-craft-history__btn + .pixel-craft-history__btn {
  border-left: 2px solid var(--gs-light-purple, #e5dcf4);
}

.pixel-craft-history__btn:disabled,
.pixel-craft-view-tools__btn:disabled,
.pixel-craft-fit-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.pixel-craft-fit-btn {
  width: auto;
  min-width: 2.15rem;
  min-height: 2.15rem;
  height: auto;
  padding: 0.25rem 0.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gs-dark-purple, #3c0777);
  font-weight: 700;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  cursor: pointer;
}

.pixel-craft-preview-wrap {
  position: relative;
  scroll-margin-top: calc(var(--pc-sticky) + 0.5rem);
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}

.pixel-craft-view-tools {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.4rem;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--gs-light-purple, #e5dcf4);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(60, 7, 119, 0.12);
  flex: 0 0 auto;
}

.pixel-craft-view-tools__btn {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pixel-craft-view-tools__btn.is-selected,
.pixel-craft-pan-btn[aria-pressed="true"] {
  background: var(--gs-purple, #6a0dad);
  color: #fff;
}

.pixel-craft-zoom-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 1.35rem;
  height: 6.5rem;
  accent-color: var(--gs-purple, #6a0dad);
  cursor: pointer;
}

.pixel-craft-preview-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.pixel-craft-preview-scroll {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  background: var(--pc-board);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid #ddd6ce;
}

.pixel-craft-preview-sizer {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  min-width: 100%;
  min-height: 100%;
}

.pixel-craft-preview-scroll.is-panning,
.pixel-craft-preview-scroll.is-panning .pixel-craft-board {
  cursor: grab;
}

.pixel-craft-preview-scroll.is-panning.is-dragging,
.pixel-craft-preview-scroll.is-panning.is-dragging .pixel-craft-board {
  cursor: grabbing;
}

.pixel-craft-board {
  display: block;
  background: var(--pc-board);
  cursor: pointer;
  touch-action: none;
  flex-shrink: 0;
}

.pixel-craft-busy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  font-family: var(--bs-header-font-family, "Jua", sans-serif);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--gs-dark-purple, #3c0777);
  text-align: center;
  padding: 1rem;
}

.pixel-craft-busy__buddy {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 3px solid var(--gs-yellow, #fdb515);
}

.pixel-craft-status {
  min-height: 1.2em;
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.pixel-craft-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.pixel-craft-swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.pixel-craft-swatch-wrap.pc-pop {
  animation: pc-bead-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.pixel-craft-swatch {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 4px solid transparent;
  padding: 0;
  cursor: pointer;
  box-shadow:
    inset 0 -3px 5px rgba(0, 0, 0, 0.28),
    inset 0 3px 4px rgba(255, 255, 255, 0.45),
    0 2px 3px rgba(0, 0, 0, 0.18);
}

.pixel-craft-swatch::after {
  content: "";
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: #2c2926;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.pixel-craft-swatch-wrap.is-selected .pixel-craft-swatch,
.pixel-craft-swatch.is-selected {
  border-color: var(--gs-purple, #6a0dad);
}

.pixel-craft-swatch-wrap__name {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  max-width: 100%;
}

.pixel-craft-swatch--empty {
  background: #fff;
  border-style: dashed;
  border-color: #888;
  box-shadow: none;
}

.pixel-craft-swatch--empty::after {
  display: none;
}

@keyframes pc-bead-pop {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  70% {
    transform: scale(1.12);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

#pixelCraftRecolorChoices.pixel-craft-swatches {
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
}

.pixel-craft-recolor-empty {
  margin: 0 0 0.85rem;
}

.pixel-craft-hunt-swatch {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow:
    inset 0 -2px 4px rgba(0, 0, 0, 0.25),
    inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

.pixel-craft-hunt-swatch:not(.pixel-craft-hunt-swatch--tool)::after {
  content: "";
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: #2c2926;
}

.pixel-craft-hunt-swatch--tool {
  border-radius: 10px;
  background: #f3f3f3;
  box-shadow: none;
}

.pixel-craft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.45rem;
  flex: 0 0 auto;
}

.pixel-craft-actions__btn {
  min-height: 3rem;
  font-weight: 700;
}

.pixel-craft-actions__btn i {
  margin-right: 0.4rem;
}

.pixel-craft-save-btn {
  background: #fff;
  color: var(--gs-teal, #008080);
  border: 3px solid var(--gs-teal, #008080);
}

.pixel-craft-save-btn:hover,
.pixel-craft-save-btn:focus-visible {
  background: #e6f4f4;
  color: var(--gs-teal, #008080);
}

.pixel-craft-print-sheet {
  display: none;
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .pixel-craft-print-sheet,
  .pixel-craft-print-sheet * {
    visibility: visible !important;
  }

  .pixel-craft-print-sheet {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 1rem;
    color: #000;
  }

  .pixel-craft-print-sheet img {
    max-width: 100%;
    height: auto;
  }

  .pixel-craft-print-sheet ul {
    columns: 2;
    padding-left: 1.2rem;
  }

  .pixel-craft-color-rail {
    display: none !important;
  }
}

.pixel-craft-poc .gs-supply-hunt-card {
  border-color: var(--gs-light-purple, #e5dcf4);
}

.pixel-craft-poc.has-color-rail #design.gs-journey-stage {
  margin-bottom: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.75rem;
}

.pixel-craft-poc .gs-journey-wizard__steps button {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
}

.pixel-craft-bead-box {
  border: 0;
  padding: 0;
  margin: 0;
}

.pixel-craft-palette-row {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.2rem 0.15rem 0.45rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.pixel-craft-palette-chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 6.4rem;
  max-width: 7.5rem;
  padding: 0.55rem 0.5rem 0.5rem;
  border: 3px solid var(--gs-light-purple, #e5dcf4);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: center;
}

.pixel-craft-palette-chip:hover,
.pixel-craft-palette-chip:focus-visible {
  border-color: var(--gs-purple, #6a0dad);
}

.pixel-craft-palette-chip.is-selected {
  border-color: var(--gs-purple, #6a0dad);
  background: var(--gs-light-light-purple, #efe8f7);
  box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.12);
}

.pixel-craft-palette-chip--custom {
  border-style: dashed;
}

.pixel-craft-palette-chip__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  min-height: 1.1rem;
}

.pixel-craft-palette-chip__dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: block;
}

.pixel-craft-palette-chip__name {
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.15;
  color: var(--gs-dark-purple, #3c0777);
}

.pixel-craft-color-rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  width: 11rem;
  padding: 0.7rem 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.97);
  border: 3px solid var(--gs-purple, #6a0dad);
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(60, 7, 119, 0.1);
  position: relative;
  z-index: 6;
}

.pixel-craft-color-rail.is-hidden {
  display: none !important;
}

.pixel-craft-color-rail__heading {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.3rem;
  font-family: var(--bs-header-font-family, "Jua", sans-serif);
  font-size: 0.92rem;
  color: var(--gs-dark-purple, #3c0777);
  text-align: center;
  margin-bottom: 0.55rem !important;
  line-height: 1.3;
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  padding-bottom: 0.2rem;
}

#pixelCraftPaintColorName {
  font-weight: 700;
}

.pixel-craft-color-rail__palette {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gs-purple, #6a0dad);
  border: 2px solid var(--gs-purple, #6a0dad);
  border-radius: 999px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236a0dad' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 0.7rem;
  padding: 0.15rem 1.45rem 0.15rem 0.55rem;
  width: 100%;
  max-width: 100%;
  cursor: pointer;
}

.pixel-craft-color-rail__palette:focus-visible {
  outline: 3px solid rgba(106, 13, 173, 0.28);
  outline-offset: 2px;
}

.pixel-craft-color-rail__scroller {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.15rem 0;
}

.pixel-craft-color-rail__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.1rem 0.1rem 0.25rem;
}

.pixel-craft-color-rail .pixel-craft-swatch-wrap {
  flex: 0 0 auto;
  width: 4.4rem;
}

.pixel-craft-color-rail .pixel-craft-swatch {
  width: 3.2rem;
  height: 3.2rem;
}

.pixel-craft-rail-tool {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.15rem 0;
  cursor: pointer;
}

.pixel-craft-rail-tool.is-selected .pixel-craft-swatch {
  border-color: var(--gs-purple, #6a0dad);
}

.pixel-craft-rail-plus {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 4px dashed var(--gs-teal, #008080);
  background: #e6f4f4;
  color: var(--gs-teal, #008080);
  font-size: 2rem;
  font-weight: 800;
  line-height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pixel-craft-add-modal .modal-content {
  border-radius: 22px;
  border: 3px solid var(--gs-purple, #6a0dad);
}

.pixel-craft-add-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr));
  gap: 0.55rem;
}

.pixel-craft-add-grid .pixel-craft-swatch-wrap.is-in-mix .pixel-craft-swatch {
  border-color: var(--gs-teal, #008080);
}

.pixel-craft-add-grid .pixel-craft-swatch-wrap.is-in-mix .pixel-craft-swatch::before {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

@media (max-width: 991.98px) {
  .pixel-craft-poc.has-color-rail .pixel-craft-workspace {
    grid-template-columns: 8.6rem minmax(0, 1fr);
  }

  .pixel-craft-color-rail {
    width: 8.6rem;
  }

  .pixel-craft-stats .featured-meta-tag {
    font-size: 0.74rem;
    padding: 0.28rem 0.55rem;
  }

  .pixel-craft-canvas-chrome {
    right: 0.55rem;
    bottom: 0.55rem;
  }

  .pixel-craft-zoom-slider {
    height: 5rem;
  }
}

@media (max-width: 575.98px) {
  .pixel-craft-workspace {
    height: calc(100dvh - var(--pc-sticky));
  }

  .pixel-craft-poc.has-color-rail .pixel-craft-workspace {
    grid-template-columns: 6.8rem minmax(0, 1fr);
  }

  .pixel-craft-color-rail {
    width: 6.8rem;
    padding: 0.5rem 0.3rem 0.55rem;
  }

  .pixel-craft-color-rail__heading {
    font-size: 0.78rem;
  }

  .pixel-craft-preview-toolbar {
    flex-wrap: wrap;
  }

  .pixel-craft-stats .featured-meta-tag {
    font-size: 0.68rem;
    gap: 0.25rem;
    padding: 0.22rem 0.45rem;
  }

  .pixel-craft-colors-dd__menu {
    left: 0;
    top: calc(100% + 0.35rem);
    min-width: min(16.5rem, calc(100vw - 2rem));
  }

  .pixel-craft-size-btn {
    min-width: 0;
    padding: 0.12rem 0.42rem;
  }

  .pixel-craft-canvas-chrome {
    right: 0.45rem;
    bottom: 0.45rem;
    flex-direction: column;
    align-items: flex-end;
  }

  .pixel-craft-canvas-chrome__edit {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .pixel-craft-view-tools {
    padding: 0.4rem 0.3rem;
  }

  .pixel-craft-zoom-slider {
    height: 4.4rem;
  }

  .pixel-craft-actions__btn {
    flex: 1 1 100%;
  }
}
