.gemw2-success-panel {
  display: grid;
  gap: 1rem;
}

.gemw2-flyer-launcher {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gemw2-flyer-copy h3 {
  margin: 0 0 0.35rem;
}

.gemw2-flyer-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.galpon-flyer-shortcode {
  appearance: none;
  border: none;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  background: #ffcd00;
  color: #111;
  font-family: "Archivo Black", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.galpon-flyer-shortcode:hover {
  transform: translateY(-1px);
}

#fe-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: "Inter", system-ui, sans-serif;
}

#fe-modal.open {
  display: flex;
}

#fe-modal .fe-modal-box {
  background: #fff;
  border-radius: 20px;
  width: min(1180px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

#fe-modal .fe-mh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  gap: 12px;
}

#fe-modal .fe-mh h2 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: 20px;
  line-height: 1.1;
  color: #111;
}

#fe-modal .fe-mh .fe-sub {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 2px;
  font-weight: 500;
}

#fe-modal .fe-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 20px;
  flex-shrink: 0;
}

#fe-modal .fe-close:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

#fe-modal .fe-mb {
  display: grid;
  grid-template-columns: 1fr 340px;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

#fe-modal .fe-preview {
  background: #e9e8e3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
  min-height: 500px;
  position: relative;
}

#fe-modal .fe-hint {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s;
}

#fe-modal .fe-hint.show {
  opacity: 1;
}

#fe-modal .fe-stage {
  position: relative;
  flex-shrink: 0;
  cursor: grab;
}

#fe-modal .fe-stage.dragging {
  cursor: grabbing;
}

#fe-modal .fe-controls {
  background: #fafaf8;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

#fe-modal .fe-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafaf8;
  flex-shrink: 0;
}

#fe-modal .fe-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 8px;
  font-weight: 700;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

#fe-modal .fe-tab.active {
  color: #111;
  border-bottom-color: #ffcd00;
}

#fe-modal .fe-tab.fe-tab-dl {
  color: #111;
  background: #ffcd00;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

#fe-modal .fe-panels {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
}

#fe-modal .fe-panel {
  display: none;
}

#fe-modal .fe-panel.active {
  display: block;
}

#fe-modal .fe-sec,
#fe-modal .fe-phelp,
#fe-modal .fe-meta-inline,
#fe-modal .fe-row label,
#fe-modal .fe-row .val {
  color: #111;
}

#fe-modal .fe-sec {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

#fe-modal .fe-sec-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 10px;
}

#fe-modal .fe-pcount {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.55);
  margin-left: auto;
  font-weight: 600;
}

#fe-modal .fe-phelp {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 8px;
  line-height: 1.4;
}

#fe-modal .fe-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

#fe-modal .fe-row input[type="range"] {
  flex: 1;
  accent-color: #ffcd00;
}

#fe-modal .fe-row .val {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  min-width: 40px;
  text-align: right;
}

#fe-modal .fe-reset {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  color: #111;
}

#fe-modal .fe-reset:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

#fe-modal .fe-themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

#fe-modal .fe-sw {
  position: relative;
  aspect-ratio: 9 / 11;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#fe-modal .fe-sw.active {
  border-color: #ffcd00;
}

#fe-modal .fe-sw .sw-ph {
  flex: 1;
  background: linear-gradient(180deg, #222 0%, #000 100%);
  position: relative;
}

#fe-modal .fe-sw .sw-ph::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 30%;
  height: 22%;
  background: var(--tc);
}

#fe-modal .fe-sw .sw-txt {
  padding: 6px 8px;
  text-align: center;
  font-family: "Archivo Black", sans-serif;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  background: #0a0a0a;
  color: var(--tc);
}

#fe-modal .fe-sw.th-oro {
  --tc: #ffcd00;
}

#fe-modal .fe-sw.th-brasa {
  --tc: #e85d4b;
}

#fe-modal .fe-sw.th-blanco {
  --tc: #fff;
}

#fe-modal .fe-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

#fe-modal .fe-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #ccc;
}

#fe-modal .fe-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#fe-modal .fe-photo.active {
  border-color: #ffcd00;
}

#fe-modal .fe-photo.active::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: #ffcd00;
  color: #111;
  font-family: "Archivo Black", sans-serif;
  font-size: 11px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

#fe-modal .fe-photo .fe-badge {
  position: absolute;
  left: 4px;
  top: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 2px 5px;
  border-radius: 4px;
}

#fe-modal .fe-foot {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 18px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

#fe-modal .fe-meta-inline {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 600;
  flex-shrink: 0;
}

#fe-modal .fe-dl {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffcd00;
  color: #111;
  font-family: "Archivo Black", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#fe-modal .fe-dl[disabled] {
  opacity: 0.6;
  cursor: wait;
}

#fe-toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  background: #0a0a0a;
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  z-index: 100000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  display: none;
  align-items: center;
  gap: 10px;
  font-family: "Inter", system-ui, sans-serif;
}

#fe-toast.show {
  display: inline-flex;
}

#fe-toast .spin {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fe-spin 0.7s linear infinite;
}

@keyframes fe-spin {
  to {
    transform: rotate(360deg);
  }
}

.flyer {
  width: 1080px;
  height: 1920px;
  position: relative;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  color: #fff;
  background: #0a0a0a;
  --cat: #e85d4b;
  --acc: #ffcd00;
  --acc2: #ffcd00;
}

.flyer .bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.flyer .bg-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  user-select: none;
}

.flyer .bg-grad {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 18%, transparent 0%, rgba(0, 0, 0, 0.25) 60%), linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.94) 82%, #000 100%);
}

.flyer .header-row {
  position: absolute;
  top: 156px;
  left: 56px;
  right: 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  z-index: 3;
}

.flyer .cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--cat);
  color: #fff;
  font-family: "Archivo Black", sans-serif;
  font-size: 30px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.flyer .cat-pill .dot {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}

.flyer .hashtags {
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.flyer .hashtags span {
  display: block;
}

.flyer .coop-band {
  position: absolute;
  left: -60px;
  right: -60px;
  bottom: 230px;
  z-index: 4;
  background: #ffcd00;
  color: #0a0a0a;
  padding: 22px 0 24px;
  transform: rotate(-2deg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  text-align: center;
}

.flyer .coop-band .l1 {
  font-family: "Archivo Black", sans-serif;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flyer .coop-band .l2 {
  font-family: "Archivo Black", sans-serif;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 10px;
  opacity: 0.85;
}

.flyer .bottom {
  position: absolute;
  bottom: 460px;
  left: 56px;
  right: 56px;
  z-index: 3;
}

.flyer .meta-datebar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: flex-end;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--cat);
  margin-bottom: 32px;
}

.flyer .date-xl {
  font-family: "Archivo Black", sans-serif;
  font-size: 180px;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--acc);
}

.flyer .date-right {
  padding-bottom: 16px;
}

.flyer .date-right .dow {
  font-family: "Archivo Black", sans-serif;
  font-size: 52px;
  line-height: 1;
  text-transform: uppercase;
}

.flyer .date-right .month {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 10px;
}

.flyer .date-right .time {
  font-family: "Archivo Black", sans-serif;
  font-size: 68px;
  line-height: 1;
  margin-top: 18px;
}

.flyer .title-main {
  font-family: "Archivo Black", sans-serif;
  font-size: 140px;
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: #fff;
  text-wrap: balance;
}

.flyer .credits {
  font-size: 22px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.flyer .credits .group {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.flyer .credits .author {
  font-family: "Archivo Black", sans-serif;
  font-size: 26px;
  color: #fff;
  margin-bottom: 16px;
}

.flyer .credits .crew-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 18px;
  margin-top: 14px;
}

.flyer .credits .crew-label {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc2);
  padding-top: 4px;
}

.flyer .credits .crew-val {
  font-weight: 600;
  font-size: 20px;
  color: #fff;
}

.flyer .credits .crew-val ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
}

.flyer .credits .crew-val li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.flyer .credits .crew-val li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--acc2);
  border-radius: 50%;
}

.flyer .foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 56px 36px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
  z-index: 4;
}

.flyer .foot .divider {
  width: 1px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  justify-self: center;
}

.flyer .foot-col {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.flyer .foot-col.foot-int {
  justify-content: flex-start;
}

.flyer .foot-col.foot-galpon {
  justify-content: flex-end;
  text-align: right;
}

.flyer .foot-col .logo-galpon {
  width: 230px;
  filter: invert(1) brightness(1.2);
  flex-shrink: 0;
}

.flyer .foot-col .logo-galpon img,
.flyer .foot-col .logo-int img {
  width: 100%;
  display: block;
}

.flyer .foot-col .logo-int {
  width: 160px;
  flex-shrink: 0;
}

.flyer .foot-col .col-text {
  font-size: 17px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.flyer .foot-col .col-text strong {
  font-family: "Archivo Black", sans-serif;
  font-size: 19px;
  color: #fff;
  display: block;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.flyer .foot-col .col-text .url {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 15px;
  color: var(--acc);
  display: block;
  margin-top: 3px;
  white-space: nowrap;
}

.flyer .foot-col .int-caption {
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
  max-width: 220px;
}

.flyer.theme-brasa {
  --acc: var(--cat);
  --acc2: var(--cat);
}

.flyer.theme-brasa .coop-band {
  background: var(--cat);
  color: #0a0a0a;
}

.flyer.theme-blanco {
  --acc: #fff;
  --acc2: #fff;
}

.flyer.theme-blanco .coop-band {
  background: #fff;
  color: #0a0a0a;
}

.flyer.theme-blanco .meta-datebar {
  border-bottom-color: #fff;
}

@media (max-width: 860px) {
  #fe-modal {
    padding: 0;
    align-items: stretch;
  }

  #fe-modal .fe-modal-box {
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }

  #fe-modal .fe-mb {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(180px, 1fr) auto;
  }

  #fe-modal .fe-preview {
    min-height: 0;
    padding: 12px;
  }

  #fe-modal .fe-controls {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    height: 48vh;
    max-height: 48vh;
    background: #fff;
    border-radius: 18px 18px 0 0;
    margin-top: -10px;
  }

  #fe-modal .fe-tabs {
    padding-top: 18px;
  }

  #fe-modal .fe-panels {
    padding: 16px 18px;
  }

  #fe-modal .fe-photos {
    grid-template-columns: repeat(4, 1fr);
  }
}
