/* Bot Creator (/creator/), WordPress page 1655, from pfp-style.css */

.creator-stage {
  min-height: 100vh;
  padding: 100px var(--gutter) 40px;
  background: url("/assets/img/creator/pfp-creator_banner_v4.jpeg") top center / cover no-repeat;
  display: flex;
  align-items: center;
}
.creator-stage__inner { width: 100%; max-width: var(--container-narrow); margin-inline: auto; }

.creator-loader { display: flex; align-items: center; justify-content: center; min-height: 500px; }

/* The make-up mirror frame */
.creator {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 100px;
  padding: 37px;
  background: url("/assets/img/creator/frame_bg_mobile.png") no-repeat;
  background-size: 100% 100%;
}
.creator__title {
  position: absolute;
  top: 2px; left: 50%;
  width: 80%;
  margin: 0;
  transform: translateX(-50%);
  color: var(--c-white);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow: 2px 2px grey;
}

.creator__preview { position: relative; margin-top: 32px; text-align: center; }
.creator__canvas {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  transform: rotate(-5deg);
}
.creator__generating {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.6);
}
.creator__generating img { width: 150px; height: 150px; }

.creator__panel { margin-top: 7%; padding-inline: 15px; }

.creator__tabs { display: flex; margin: 0 0 8px; padding: 0; }
.creator__tab {
  flex: 1;
  display: flex; justify-content: center;
  padding: 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.creator__tab img { width: 50px; border-radius: 50%; }
.creator__tab .tab-on { display: none; }
.creator__tab[aria-selected="true"] .tab-on,
.creator__tab:hover .tab-on { display: block; }
.creator__tab[aria-selected="true"] .tab-off,
.creator__tab:hover .tab-off { display: none; }
.creator__tab:focus-visible { outline-offset: 0; border-radius: 50%; }

.creator__choices {
  height: 290px;
  overflow-y: auto;
  scrollbar-color: goldenrod #2a2a2a;
  scrollbar-width: thin;
}
.creator__choices::-webkit-scrollbar { width: 5px; }
.creator__choices::-webkit-scrollbar-track { background: #2a2a2a; border-radius: 5px; }
.creator__choices::-webkit-scrollbar-thumb { background: goldenrod; border-radius: 5px; }

.creator__grid { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.choice {
  display: block;
  width: 66px; height: 66px;
  padding: 0;
  border: 3px solid #ccc;
  background: #fff;
  cursor: pointer;
}
.choice img { width: 100%; height: 100%; object-fit: contain; }
.choice:hover img { opacity: 0.3; }
.choice[aria-pressed="true"] { border-color: var(--c-goldenrod); }
.choice:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 1px; }
.choice--none { display: flex; align-items: center; justify-content: center; color: var(--c-ink); font-size: 0.75rem; font-weight: 700; }

.creator__share { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 330px; text-align: center; }
.creator__share-title { color: #000; font-size: 1.4375rem; font-weight: 700; }
.creator__share-sub { color: #000; font-size: 0.875rem; font-weight: 700; }

.creator-actions { margin-top: 20px; text-align: center; }
.creator-actions .btn { min-width: 200px; }

@media (min-width: 768px) {
  .creator {
    grid-template-columns: 1fr 1fr;
    height: 526px;
    margin-top: 0;
    padding: 31px 31px 31px 47px;
    background-image: url("/assets/img/creator/frame_bg.png");
  }
  .creator__title { top: -1%; width: 300px; padding-top: 22px; }
  .creator__preview { margin-top: 0; padding-left: 15px; align-self: center; }
  .creator__canvas { width: 330px; }
  .creator__panel { margin: 8% 40px 0 0; }
  .choice { width: 86px; height: 86px; }
}
@media (min-width: 800px) {
  .creator { padding-left: 55px; }
}
@media (max-width: 767px) {
  .creator-stage { padding-top: 120px; }
}

/* Hashtag gallery (replaces the live Instagram feed) */
.hashtag {
  padding: 20px var(--gutter) 60px;
  background: var(--c-white) var(--pattern) center top / contain;
  color: #000;
  text-align: center;
}
.hashtag h2 { margin: 20px; font-size: var(--fs-title); color: #000; }
.hashtag__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 940px;
  margin: 0 auto 30px;
  padding: 0;
  list-style: none;
}
.hashtag__gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 3px 3px #ccc;
}
@media (max-width: 500px) {
  .hashtag__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
