@import url("/css/home-editorial.css");

body.prompts-editorial .site-header nav a[href="/prompten/"] {
  color: var(--ink);
  background: var(--paper-2);
}

body.prompts-editorial .prompts-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

body.prompts-editorial .prompts-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
}

body.prompts-editorial .prompts-hero-copy {
  min-width: 0;
}

body.prompts-editorial .prompts-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

body.prompts-editorial .prompts-hero h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.5vw, 72px);
}

body.prompts-editorial .hero-generator-stage {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1800px;
}

body.prompts-editorial .hero-generator-shadow {
  position: absolute;
  bottom: 36px;
  left: 10%;
  right: 0;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(20, 24, 31, 0.24), transparent 72%);
  filter: blur(16px);
}

body.prompts-editorial .hero-generator-canvas {
  position: relative;
  width: min(100%, 760px);
  min-height: 520px;
}

body.prompts-editorial .hero-generator-window {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 36px 80px -40px rgba(20, 24, 31, 0.35);
}

body.prompts-editorial .hero-generator-window-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

body.prompts-editorial .hero-generator-window-label {
  margin-left: auto;
  color: var(--ink-2);
  font-family: "Playfair Display", serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 600;
}

body.prompts-editorial .hero-generator-window-body {
  padding: 24px 22px 28px;
  color: var(--ink);
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.85;
}

body.prompts-editorial .hero-generator-window-body .pk {
  color: var(--accent);
  font-weight: 700;
}

body.prompts-editorial .hero-generator-window-body .pv {
  background: color-mix(in oklab, var(--accent) 14%, transparent);
}

body.prompts-editorial .hero-generator-stack {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 30px 80px -34px rgba(0, 0, 0, 0.6);
}

body.prompts-editorial .hero-generator-stack-back {
  right: 138px;
  bottom: 36px;
  z-index: 2;
  width: 220px;
  height: 240px;
  padding: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  transform: rotate(-6deg);
  backdrop-filter: blur(8px);
}

body.prompts-editorial .hero-generator-stack-front {
  right: 0;
  bottom: -6px;
  z-index: 3;
  width: 280px;
  min-height: 360px;
  padding: 24px 24px 26px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(145deg, #101923, #192432);
  transform: rotate(7deg);
}

body.prompts-editorial .hero-generator-stack-head {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

body.prompts-editorial .hero-generator-stack-code {
  color: color-mix(in oklab, var(--paper) 82%, transparent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.85;
}

body.prompts-editorial .hero-generator-stack-code .pk {
  color: var(--accent);
}

body.prompts-editorial .hero-generator-stack-code .pv {
  color: var(--paper);
  background: color-mix(in oklab, var(--accent) 24%, transparent);
}

body.prompts-editorial .hero-generator-stack-code .pcm {
  display: inline-block;
  margin-top: 10px;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
}

body.prompts-editorial .hero-generator-stack-front .pdf-bullets-mini li {
  color: color-mix(in oklab, var(--paper) 80%, transparent);
}

body.prompts-editorial .prompts-hero .lead {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.55;
}

body.prompts-editorial .prompts-hero .lead em {
  color: var(--hi);
  font-style: italic;
}

body.prompts-editorial .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.prompts-editorial .meta-row strong {
  color: var(--ink);
}

body.prompts-editorial .personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

body.prompts-editorial .persona {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px 30px;
  background: var(--paper);
}

body.prompts-editorial .persona .p-num {
  margin-bottom: 4px;
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 14px;
  font-style: italic;
}

body.prompts-editorial .persona h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

body.prompts-editorial .persona p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

body.prompts-editorial .principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

body.prompts-editorial .principle {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
}

body.prompts-editorial .principle .num {
  margin-bottom: 4px;
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 56px;
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

body.prompts-editorial .principle h3 {
  font-size: 22px;
}

body.prompts-editorial .principle p {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

body.prompts-editorial .compare {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--muted);
  font-family: "Manrope", monospace;
  font-size: 12.5px;
}

body.prompts-editorial .compare .x {
  color: #b0411b;
  font-weight: 700;
}

body.prompts-editorial .compare .v {
  color: var(--accent);
  font-weight: 700;
}

body.prompts-editorial .configurator-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

body.prompts-editorial .configurator-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in oklab, var(--paper) 4%, transparent) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in oklab, var(--paper) 4%, transparent) 39px 40px);
}

body.prompts-editorial .configurator-section .container {
  position: relative;
  z-index: 1;
}

body.prompts-editorial .cfg-head {
  margin-bottom: 40px;
  text-align: center;
}

body.prompts-editorial .cfg-head .eyebrow {
  color: var(--accent);
}

body.prompts-editorial .cfg-head .eyebrow::before {
  background: var(--accent);
}

body.prompts-editorial .cfg-head h2 {
  max-width: 16ch;
  margin: 14px auto;
  color: var(--paper);
  font-size: clamp(32px, 4.5vw, 56px);
}

body.prompts-editorial .cfg-head h2 em {
  color: var(--accent);
  font-style: italic;
}

body.prompts-editorial .cfg-head p {
  max-width: 600px;
  margin: 0 auto;
  color: color-mix(in oklab, var(--paper) 65%, transparent);
  font-size: 16px;
}

body.prompts-editorial .cfg-fields {
  display: grid;
  grid-template-columns: 1.4fr 1.8fr 1fr 1fr;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto 22px;
}

body.prompts-editorial .cfg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: start;
}

body.prompts-editorial .cfg-main {
  min-width: 0;
}

body.prompts-editorial .cfg-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 150px;
}

body.prompts-editorial .generator-stage {
  position: relative;
  display: flex;
  min-height: 430px;
  width: 100%;
  align-items: center;
  justify-content: center;
  perspective: 1800px;
}

body.prompts-editorial .generator-panel {
  position: relative;
  width: min(100%, 360px);
  min-height: 430px;
}

body.prompts-editorial .generator-glow {
  position: absolute;
  inset: auto 12% 0;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(76, 209, 193, 0.3), transparent 70%);
  filter: blur(14px);
}

body.prompts-editorial .generator-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
  border-radius: 18px;
  box-shadow: 0 26px 70px -30px rgba(0, 0, 0, 0.6);
}

body.prompts-editorial .generator-card-back {
  top: 34px;
  left: -18px;
  right: 42px;
  bottom: 52px;
  z-index: 1;
  padding: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  transform: rotate(-7deg) translateZ(-30px);
  backdrop-filter: blur(8px);
}

body.prompts-editorial .generator-card-front {
  z-index: 2;
  padding: 28px 26px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(145deg, #101923, #192432);
  transform: rotate(7deg) translateX(18px) translateY(-8px);
}

body.prompts-editorial .generator-card-head {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

body.prompts-editorial .generator-code {
  color: color-mix(in oklab, var(--paper) 82%, transparent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.85;
}

body.prompts-editorial .generator-code .pk {
  color: var(--accent);
}

body.prompts-editorial .generator-code .pv {
  color: var(--paper);
  background: color-mix(in oklab, var(--accent) 24%, transparent);
}

body.prompts-editorial .generator-code .pcm {
  display: inline-block;
  margin-top: 10px;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
}

body.prompts-editorial .generator-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(76, 209, 193, 0.35);
  border-radius: 999px;
  background: rgba(76, 209, 193, 0.12);
  color: #9ff1e8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.prompts-editorial .generator-mini-tag {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.prompts-editorial .generator-mini-title {
  color: var(--paper);
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

body.prompts-editorial .generator-mini-rule {
  height: 1px;
  margin: 18px 0 16px;
  background: rgba(255, 255, 255, 0.16);
}

body.prompts-editorial .generator-card-front .pdf-bullets-mini li {
  color: color-mix(in oklab, var(--paper) 80%, transparent);
}

body.prompts-editorial .cfg-field label {
  display: block;
  margin-bottom: 8px;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.prompts-editorial .cfg-field select {
  width: 100%;
  padding: 12px 38px 12px 14px;
  border: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
  border-radius: 6px;
  outline: none;
  background: color-mix(in oklab, var(--paper) 6%, transparent);
  color: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  transition: border 0.2s, background 0.2s;
  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='none' stroke='%23999' stroke-width='1.4' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

body.prompts-editorial .cfg-field select:hover,
body.prompts-editorial .cfg-field select:focus {
  border-color: var(--accent);
}

body.prompts-editorial .cfg-field select option {
  background: var(--ink);
  color: var(--paper);
}

body.prompts-editorial .cfg-output-card {
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}

body.prompts-editorial .cfg-output-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

body.prompts-editorial .cfg-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

body.prompts-editorial .cfg-dot.r {
  background: #e8584c;
}

body.prompts-editorial .cfg-dot.y {
  background: #f0bf3b;
}

body.prompts-editorial .cfg-dot.g {
  background: #2db073;
}

body.prompts-editorial .cfg-output-label {
  margin-left: auto;
  color: var(--ink-2);
  font-family: "Playfair Display", serif;
  font-size: 14px;
  font-style: italic;
}

body.prompts-editorial .cfg-output-body {
  min-height: 240px;
  padding: 28px 32px;
  color: var(--ink);
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14.5px;
  line-height: 1.85;
  white-space: pre-wrap;
  transition: opacity 0.15s;
}

body.prompts-editorial .cfg-output-body .pk,
body.prompts-editorial .prompt-card-body .pk {
  color: var(--accent);
  font-weight: 700;
}

body.prompts-editorial .cfg-output-body .pv,
body.prompts-editorial .prompt-card-body .pv {
  padding: 1px 5px;
  border-radius: 3px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  color: var(--ink);
  font-style: italic;
}

body.prompts-editorial .cfg-output-body .pcm,
body.prompts-editorial .prompt-card-body .pcm {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

body.prompts-editorial .cfg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

body.prompts-editorial .cfg-actions .hint {
  color: color-mix(in oklab, var(--paper) 45%, transparent);
  font-size: 12px;
}

body.prompts-editorial .cfg-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border: none;
  border-radius: 7px;
  background: var(--accent);
  color: var(--paper);
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

body.prompts-editorial .cfg-copy-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

body.prompts-editorial .cfg-copy-btn.copied {
  background: var(--paper);
  color: var(--ink);
}

body.prompts-editorial .phase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

body.prompts-editorial .phase-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
}

body.prompts-editorial .phase-tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

body.prompts-editorial .phase-tab.on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

body.prompts-editorial .phase-tab .num {
  opacity: 0.7;
  font-family: "Playfair Display", serif;
  font-size: 14px;
  font-style: italic;
}

body.prompts-editorial .phase-intro {
  margin-bottom: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}

body.prompts-editorial .phase-intro strong {
  color: var(--ink);
}

body.prompts-editorial .prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
}

body.prompts-editorial .prompt-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

body.prompts-editorial .prompt-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-1);
}

body.prompts-editorial .prompt-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--paper-2) 50%, var(--paper));
}

body.prompts-editorial .prompt-card-head .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

body.prompts-editorial .prompt-card-head .dot.r {
  background: #e8584c;
}

body.prompts-editorial .prompt-card-head .dot.y {
  background: #f0bf3b;
}

body.prompts-editorial .prompt-card-head .dot.g {
  background: #2db073;
}

body.prompts-editorial .prompt-card-head .lbl {
  margin-left: 6px;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 600;
}

body.prompts-editorial .prompt-card-head .num {
  margin-left: auto;
  color: var(--muted);
  font-family: "Playfair Display", serif;
  font-size: 13px;
  font-style: italic;
}

body.prompts-editorial .prompt-card-body {
  flex: 1;
  padding: 22px 24px;
  color: var(--ink-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.85;
}

body.prompts-editorial .prompt-card-body .pcm {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
}

body.prompts-editorial .prompt-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

body.prompts-editorial .prompt-card-foot .for {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.prompts-editorial .copy-mini {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s;
}

body.prompts-editorial .copy-mini:hover {
  border-color: var(--ink);
  color: var(--ink);
}

body.prompts-editorial .copy-mini.copied {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper);
}

body.prompts-editorial .more-hint {
  margin-top: 40px;
  padding: 32px;
  border: 1.5px dashed var(--line-2);
  border-radius: 12px;
  background: var(--paper);
  text-align: center;
}

body.prompts-editorial .more-hint h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

body.prompts-editorial .more-hint h3 em {
  color: var(--accent);
  font-style: italic;
}

body.prompts-editorial .more-hint p {
  max-width: 580px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

body.prompts-editorial .tips-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

body.prompts-editorial .tip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--paper-2);
}

body.prompts-editorial .tip .marker {
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

body.prompts-editorial .tip h4 {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 700;
}

body.prompts-editorial .tip p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

body.prompts-editorial .final-cta-prompts h2 em {
  color: var(--accent);
}

@media (max-width: 880px) {
  body.prompts-editorial .prompts-hero-grid,
  body.prompts-editorial .cfg-layout,
  body.prompts-editorial .personas,
  body.prompts-editorial .principles,
  body.prompts-editorial .tips-list {
    grid-template-columns: 1fr;
  }

  body.prompts-editorial .cfg-fields {
    grid-template-columns: 1fr 1fr;
  }

  body.prompts-editorial .prompts-hero-visual {
    min-height: 480px;
    order: -1;
  }

  body.prompts-editorial .hero-generator-stage {
    min-height: 500px;
  }

  body.prompts-editorial .hero-generator-canvas {
    width: min(100%, 620px);
  }

  body.prompts-editorial .hero-generator-window {
    width: min(100%, 420px);
  }

  body.prompts-editorial .hero-generator-stack-back {
    right: 108px;
    width: 190px;
    height: 210px;
  }

  body.prompts-editorial .hero-generator-stack-front {
    width: 230px;
    min-height: 310px;
  }

  body.prompts-editorial .cfg-visual {
    min-height: 340px;
    padding-top: 24px;
  }
}

@media (max-width: 540px) {
  body.prompts-editorial .prompts-hero-visual {
    min-height: 400px;
  }

  body.prompts-editorial .hero-generator-stage {
    min-height: 390px;
    overflow: hidden;
  }

  body.prompts-editorial .hero-generator-shadow {
    left: 6%;
    right: 6%;
    bottom: 22px;
  }

  body.prompts-editorial .hero-generator-canvas {
    width: min(100%, 340px);
    min-height: 390px;
  }

  body.prompts-editorial .hero-generator-window {
    width: min(100%, 280px);
    left: 0;
  }

  body.prompts-editorial .hero-generator-window-body {
    font-size: 12px;
    line-height: 1.7;
  }

  body.prompts-editorial .hero-generator-stack-back {
    right: 46px;
    bottom: 18px;
    width: 118px;
    height: 144px;
    padding: 14px;
  }

  body.prompts-editorial .hero-generator-stack-front {
    right: 0;
    bottom: 0;
    width: 150px;
    min-height: 212px;
    padding: 14px;
  }

  body.prompts-editorial .hero-generator-stack-front .generator-mini-title {
    font-size: 22px;
    line-height: 1.1;
  }

  body.prompts-editorial .hero-generator-window-label,
  body.prompts-editorial .hero-generator-stack-code,
  body.prompts-editorial .hero-generator-stack-front .pdf-bullets-mini li,
  body.prompts-editorial .generator-mini-tag {
    font-size: 11px;
  }

  body.prompts-editorial .hero-generator-window-head {
    padding: 12px 14px;
  }

  body.prompts-editorial .hero-generator-window-body {
    padding: 18px 16px 22px;
  }
}

@media (max-width: 540px) {
  body.prompts-editorial .cfg-fields,
  body.prompts-editorial .prompt-grid {
    grid-template-columns: 1fr;
  }
}
