/* Focused generator flow and a more balanced home hero. */
html body main .hero-home-v273{padding:28px 0 38px!important}
html body main .hero-home-v273 .hero-grid-v273{width:min(100% - 48px,1440px)!important;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)!important;gap:clamp(28px,4vw,64px)!important}
html body main .hero-home-v273 .hero-copy-v273{max-width:640px!important;padding:24px 0!important}
html body main .hero-home-v273 .hero-title-v273{max-width:640px!important;font-size:clamp(46px,4vw,64px)!important;line-height:1.04!important;letter-spacing:-.05em!important}
html body main .hero-home-v273 .hero-subtitle-v273{max-width:590px!important;margin-top:20px!important;font-size:clamp(19px,1.55vw,23px)!important}
html body main .hero-home-v273 .hero-text-v273{max-width:590px!important;margin-top:14px!important;font-size:16px!important}
html body main .hero-home-v273 .hero-actions-v273{margin-top:24px!important}
html body main .hero-home-v273 .hero-visual-v273{width:100%!important;max-width:760px!important;justify-content:center!important}
html body main .hero-home-v273 .hero-art-v273{display:block!important;width:100%!important;max-width:760px!important;height:auto!important;margin:0!important;object-fit:contain!important}

html body main #generator.generator-card-v275 .template-gallery-v501{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:12px;width:100%;min-width:0;margin:0 0 12px}
html body main #generator.generator-card-v275 .template-grid-v282{padding:4px 3px 9px!important;overflow-x:auto!important;scrollbar-width:none!important;scroll-padding-inline:3px!important;cursor:auto!important}
html body main #generator.generator-card-v275 .template-grid-v282::-webkit-scrollbar{display:none!important}
html body main #generator.generator-card-v275 .template-grid-v282>.template-card-v282,
html body main #generator.generator-card-v275 .template-grid-v282>.template-card-v282:nth-child(n){flex:0 0 calc((100% - 48px)/4)!important;width:calc((100% - 48px)/4)!important;min-width:0!important;max-width:none!important;scroll-snap-align:start!important}
html body main #generator.generator-card-v275 .template-gallery-arrow-v501{display:flex;align-items:center;justify-content:center;width:40px;height:48px;padding:0;border:1px solid #e4dafa;border-radius:13px;background:#fff;color:#6739eb;font:500 32px/1 Arial,sans-serif;box-shadow:0 6px 17px rgba(60,35,113,.08);cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
html body main #generator.generator-card-v275 .template-gallery-arrow-v501:hover:not(:disabled){background:#f2edff;border-color:#ad94ff;transform:translateY(-1px)}
html body main #generator.generator-card-v275 .template-gallery-arrow-v501:disabled{opacity:.35;cursor:default;box-shadow:none}
html body main #generator.generator-card-v275.templates-expanded-v275 .template-gallery-arrow-v501{visibility:hidden}
html body main #generator.generator-card-v275 .template-card-v282.is-selected,
html body main #generator.generator-card-v275 .template-card-v282[aria-pressed="true"]{border:2px solid #7144f4!important;background:#f7f3ff!important;box-shadow:0 0 0 3px rgba(113,68,244,.16),0 15px 28px rgba(85,49,175,.13)!important}
html body main #generator.generator-card-v275 .template-card-v282 .template-name{display:flex!important;align-items:center;justify-content:space-between;gap:5px;white-space:normal!important}
html body main #generator.generator-card-v275 .template-selected-word-v501{display:none;padding:3px 7px;border-radius:999px;background:#7144f4;color:#fff;font-size:10px;font-weight:800;white-space:nowrap}
html body main #generator.generator-card-v275 .template-card-v282.is-selected .template-selected-word-v501,
html body main #generator.generator-card-v275 .template-card-v282[aria-pressed="true"] .template-selected-word-v501{display:inline-flex!important}

html body main #generator.generator-card-v275 .generator-advanced-v501{width:100%;margin:15px 0 22px;border:1px solid #e5ddf5;border-radius:16px;background:#fbfaff;overflow:hidden}
html body main #generator.generator-card-v275 .generator-advanced-v501>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:12px 17px;cursor:pointer;list-style:none;color:#202344}
html body main #generator.generator-card-v275 .generator-advanced-v501>summary::-webkit-details-marker{display:none}
html body main #generator.generator-card-v275 .generator-advanced-v501>summary span{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
html body main #generator.generator-card-v275 .generator-advanced-v501>summary b{font-size:15px;font-weight:800}
html body main #generator.generator-card-v275 .generator-advanced-v501>summary small{color:#7a7590;font-size:12px;font-weight:600}
html body main #generator.generator-card-v275 .generator-advanced-v501>summary i{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#f0eaff;color:#7144f4;font:800 19px/1 Arial,sans-serif;font-style:normal;transition:transform .2s}
html body main #generator.generator-card-v275 .generator-advanced-v501[open]>summary i{transform:rotate(180deg)}
html body main #generator.generator-card-v275 .generator-advanced-content-v501{padding:2px 17px 18px;border-top:1px solid #ebe4f7}
html body main #generator.generator-card-v275 .generator-advanced-content-v501 .field{margin-top:15px!important}
html body main #generator.generator-card-v275 .generator-bottom-v204{display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important}
html body main #generator.generator-card-v275 .generator-free-note-v501{max-width:560px;margin:0!important;color:#77718c;font-size:12px;font-weight:600;line-height:1.45;text-align:center}

@media(max-width:1200px){
  html body main #generator.generator-card-v275 .template-grid-v282>.template-card-v282,
  html body main #generator.generator-card-v275 .template-grid-v282>.template-card-v282:nth-child(n){flex-basis:calc((100% - 32px)/3)!important;width:calc((100% - 32px)/3)!important}
  html body main #generator.generator-card-v275.templates-expanded-v275 .template-grid-v282{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  html body main .hero-home-v273{padding:18px 0 28px!important}
  html body main .hero-home-v273 .hero-grid-v273{display:flex!important;flex-direction:column!important;width:min(100% - 36px,760px)!important;gap:16px!important}
  html body main .hero-home-v273 .hero-copy-v273{width:100%!important;max-width:none!important;padding:6px 0!important}
  html body main .hero-home-v273 .hero-title-v273{max-width:720px!important;font-size:clamp(39px,6.5vw,56px)!important}
  html body main .hero-home-v273 .hero-visual-v273{max-width:760px!important;margin:0 auto!important}
}
@media(max-width:700px){
  html body main #generator.generator-card-v275 .template-gallery-v501{grid-template-columns:34px minmax(0,1fr) 34px;gap:6px}
  html body main #generator.generator-card-v275 .template-gallery-arrow-v501{width:34px;height:42px;border-radius:10px;font-size:27px}
  html body main #generator.generator-card-v275 .template-grid-v282>.template-card-v282,
  html body main #generator.generator-card-v275 .template-grid-v282>.template-card-v282:nth-child(n){flex-basis:calc((100% - 12px)/2)!important;width:calc((100% - 12px)/2)!important}
  html body main #generator.generator-card-v275.templates-expanded-v275 .template-grid-v282{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:500px){
  html body main .hero-home-v273 .hero-grid-v273{width:calc(100% - 28px)!important}
  html body main .hero-home-v273 .hero-title-v273{font-size:clamp(34px,9vw,42px)!important}
  html body main .hero-home-v273 .hero-subtitle-v273{margin-top:14px!important;font-size:17px!important}
  html body main .hero-home-v273 .hero-text-v273{font-size:14px!important}
  html body main #generator.generator-card-v275 .template-grid-v282>.template-card-v282,
  html body main #generator.generator-card-v275 .template-grid-v282>.template-card-v282:nth-child(n){flex-basis:100%!important;width:100%!important}
  html body main #generator.generator-card-v275.templates-expanded-v275 .template-grid-v282{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body main #generator.generator-card-v275 .generator-advanced-v501>summary span{display:block}
  html body main #generator.generator-card-v275 .generator-advanced-v501>summary small{display:block;margin-top:3px}
}
