:root{--purple:#5c20d7;--ink:#12132e;--muted:#676e89;--line:#e5e8f2;--pale:#f5f7fc}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.6;background:white}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.22;letter-spacing:-.5px}a{color:inherit;text-decoration:none}a:hover{color:var(--purple)}button,input,select,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}.wrap{max-width:1260px;padding:0 38px;margin:auto}.utility{background:#f2f5fb;font-size:11px;color:#4a5376}.utility .wrap{display:flex;justify-content:space-between;min-height:29px;align-items:center}.utility a{margin-left:26px}header{border-bottom:1px solid var(--line);background:white}.nav{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:86px}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:800;letter-spacing:-.8px;white-space:nowrap}.brand img{border-radius:9px;flex-shrink:0}.nav nav{display:flex;gap:28px;font-size:13px;font-weight:600}.nav nav a{padding:12px 0}.nav nav .active{color:var(--purple);box-shadow:0 3px 0 var(--purple)}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:var(--purple);color:white;border:1px solid var(--purple);border-radius:5px;padding:12px 19px;font-size:13px;font-weight:600;line-height:1.5}.button:hover{background:#4715aa;color:white}.button.secondary{background:white;color:var(--purple)}.hero-bg{background:linear-gradient(100deg,#f7f9fe,#fff)}.hero{display:grid;grid-template-columns:1fr 1.08fr;gap:38px;padding-top:28px;padding-bottom:30px;align-items:center}.hero h1{font-size:53px;letter-spacing:-2.4px;line-height:1.05}.hero-copy>p{font-size:20px;color:#515c7d;line-height:1.45;margin:20px 0 24px;max-width:490px}.search{display:flex;background:#fff;border:1px solid #dce1ee;border-radius:6px;padding:5px;box-shadow:0 6px 20px #293d6b07;max-width:490px}.search input{width:100%;min-width:0;border:0;padding:10px 14px;background:none;outline-offset:-2px;font-size:14px}.search button{color:white;background:var(--purple);border:0;border-radius:4px;width:50px;flex-shrink:0;font-size:28px;line-height:1}.quicklinks{display:flex;gap:17px;margin-top:17px;font-size:12px;color:var(--purple);flex-wrap:wrap}.quicklinks a{text-decoration:underline;text-underline-offset:4px}.feature{position:relative;border-radius:6px;overflow:hidden;min-height:355px;background:#413c43;color:#fff}.feature img{width:100%;height:355px;object-fit:cover}.feature:after{content:'';position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#101526dd)}.feature>div{position:absolute;left:24px;bottom:23px;right:20px;z-index:1}.feature h2{font-size:29px;margin:11px 0 8px;color:white}.feature p{font-size:12px;color:#f1f0fa}.tag{display:inline-block;color:var(--purple);background:#f0e9ff;font-size:9px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;padding:3px 6px;border-radius:2px;line-height:1.5}.feature .tag{background:var(--purple);color:white;letter-spacing:1.2px;padding:5px 9px}.section{padding-top:34px;padding-bottom:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{font-size:24px;font-weight:750;letter-spacing:-.8px}.section-heading>a{font-size:12px;color:var(--purple);white-space:nowrap}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.category-card{border:1px solid var(--line);border-radius:6px;padding:18px 12px;text-align:center;transition:border-color .15s,transform .15s}.category-card:hover{border-color:#c1a8ed;transform:translateY(-2px)}.line-icon{display:block;color:var(--purple);font-family:monospace;font-size:34px;height:50px;line-height:1.3}.category-card h3{font-size:14px;margin:9px 0}.category-card p{font-size:11px;color:var(--muted);line-height:1.55}.editorial-grid{display:grid;grid-template-columns:1fr 300px;gap:22px}.guides-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guide-card{display:grid;grid-template-columns:112px 1fr;gap:15px;padding:9px;border:1px solid var(--line);border-radius:6px}.guide-card>div{padding:3px 3px 4px 0}.guide-card h3{font-size:14px;line-height:1.35;margin:8px 0}.guide-card p{font-size:11px;line-height:1.55;color:var(--muted);margin:8px 0}.guide-card small{font-size:10px;color:var(--muted)}.guide-art{border-radius:4px;overflow:hidden;min-height:168px;display:flex;align-items:center;justify-content:center;background:#dcd7e9}.guide-art img{width:100%;height:100%;object-fit:cover}.guide-art span{font-family:Georgia,serif;font-size:39px;color:#3d2383}.tone-1{background:#e9e4fa}.tone-2{background:#dfeaf5}.tone-3{background:#e5ecdf}.sidebar-box{border:1px solid var(--line);border-radius:6px;padding:20px}.sidebar-box h3{font-size:18px;margin-bottom:13px}.sidebar-box>a{display:flex;justify-content:space-between;gap:15px;font-size:12px;font-weight:600;border-top:1px solid var(--line);padding:13px 0}.sidebar-box>a:last-child{padding-bottom:0}.sidebar-box>a span{color:var(--purple)}.beginner{background:#f0eaff;border-radius:6px;padding:21px;margin-top:15px}.beginner h3{font-size:21px;color:var(--purple)}.beginner p{color:#5c6283;font-size:12px;margin:12px 0 18px}.beginner .button{font-size:12px;padding:10px 15px}.prompt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.prompt-card{border:1px solid var(--line);border-radius:6px;overflow:hidden;min-width:0;display:flex;flex-direction:column}.prompt-image{background:var(--pale);overflow:hidden;height:220px}.prompt-image img{width:100%;height:100%;object-fit:cover;object-position:center 28%}.prompt-body{padding:20px;display:flex;flex-direction:column;flex:1}.prompt-body h3{font-size:17px;line-height:1.35;margin:10px 0 12px}.prompt-body>p{font-size:12px;color:var(--muted);line-height:1.65;margin-bottom:16px}.purple-link{color:var(--purple);font-size:13px;font-weight:600}.prompt-body>.purple-link{margin-top:auto}.about-strip{display:grid;grid-template-columns:1fr 1fr;gap:30px;background:var(--pale);margin:34px 0;padding:26px;border-radius:6px;align-items:center}.about-strip h2{font-size:24px;line-height:1.3}.about-strip p{font-size:13px;color:var(--muted);margin:14px 0}.about-strip img{width:100%;height:190px;object-fit:cover;border-radius:4px}footer{border-top:1px solid var(--line);padding:32px 0 40px;margin-top:34px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}footer .brand{font-size:18px}footer h3{font-size:13px;margin:4px 0 16px}footer p,footer small,footer a:not(.brand){font-size:11px;color:var(--muted)}footer p{margin:14px 0}footer a:not(.brand){display:block;margin:8px 0}.page-intro{padding:20px 0 25px}.page-intro h1{font-size:42px;margin:14px 0}.page-intro p{max-width:650px;color:var(--muted)}.filters{display:flex;gap:15px;background:var(--pale);padding:20px;align-items:end;border-radius:6px}.filters label{display:flex;flex-direction:column;gap:5px;font-size:12px;flex:1}.filters input,.filters select{width:100%;padding:11px 13px;border:1px solid #d9deea;border-radius:4px;background:#fff;min-height:46px}.result-count{font-size:12px;color:var(--muted);margin:22px 0}.pagination{display:flex;gap:15px;justify-content:center;margin:30px 0}.empty{text-align:center;padding:70px 25px}.empty p{margin:16px 0 24px}.article{max-width:870px;padding-top:48px;padding-bottom:50px}.article .back{display:block;font-size:12px;color:var(--purple);margin-bottom:24px}.article h1{font-size:43px;line-height:1.2;margin:16px 0 20px}.lead{font-size:19px;color:#626b82;line-height:1.6}.byline{font-size:12px!important;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:24px}.article h2{font-size:25px;margin:33px 0 14px}.article p{margin:16px 0;line-height:1.85}.article li{margin:10px 0}.prose p{white-space:normal;overflow-wrap:anywhere}.prompt-block{padding:24px;background:var(--pale);border:1px solid var(--line);border-radius:6px;margin:27px 0}.prompt-block h2{margin:0}.prompt-block p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9}.detail-image{max-height:500px;max-width:100%;width:auto;margin:28px auto;border-radius:6px}.note{font-size:12px;color:var(--muted)}.article-end{background:var(--pale);border-radius:6px;padding:26px;margin-top:35px}.article-end h2{margin-top:0}.all-guides{margin-bottom:40px}.all-guides .guide-card{grid-template-columns:150px 1fr}.all-guides h3{font-size:19px}.all-guides p{font-size:13px}.all-guides .guide-art{min-height:210px}.skip{position:absolute;top:-100px;left:10px;z-index:20;background:var(--ink);color:white;padding:10px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:focus-visible{outline:3px solid #bca2fb;outline-offset:4px}#copy-status:not(:empty){position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:90vw;background:var(--ink);color:white;font-size:13px;border-radius:5px;padding:12px 20px;z-index:10}@media(max-width:1050px){.wrap{padding-left:25px;padding-right:25px}.nav{gap:20px}.brand{font-size:20px}.nav nav{gap:18px}.nav-cta{display:none}.hero h1{font-size:44px}.hero-copy>p{font-size:17px}.editorial-grid{grid-template-columns:1fr 250px}.guides-grid{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(3,1fr)}.category-card p{max-width:200px;margin:auto}.prompt-image{height:190px}}@media(max-width:700px){.wrap{padding-left:20px;padding-right:20px}.utility .wrap>span{font-size:9px}.utility a{font-size:10px;margin-left:13px}.nav{flex-wrap:wrap;gap:12px;padding-top:16px;padding-bottom:12px}.brand{font-size:21px}.brand img{width:37px;height:37px}.nav nav{width:100%;gap:24px;font-size:12px}.nav nav a{padding:7px 0}.hero{grid-template-columns:1fr;gap:26px;padding-top:30px;padding-bottom:25px}.hero h1{font-size:42px;letter-spacing:-1.6px}.hero-copy>p{font-size:17px;max-width:460px}.feature,.feature img{height:290px;min-height:290px}.feature h2{font-size:27px}.feature>div{left:20px;bottom:18px}.section{padding-top:28px;padding-bottom:4px}.section-heading{align-items:start;gap:15px;margin-bottom:17px}.section-heading h2{font-size:21px}.section-heading>a{font-size:10px;margin-top:4px}.category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.category-card{padding:15px 12px}.editorial-grid{grid-template-columns:1fr;gap:24px}.guide-card{grid-template-columns:105px 1fr}.guide-card h3{font-size:15px}.guide-card p{font-size:12px}.guide-art{min-height:165px}.prompt-grid{grid-template-columns:1fr}.prompt-image{height:300px}.prompt-body h3{font-size:19px}.prompt-body>p{font-size:13px}.about-strip{grid-template-columns:1fr;padding:22px;gap:20px}.about-strip h2{font-size:23px}.about-strip img{height:170px}.footer-grid{grid-template-columns:1fr 1fr;gap:26px}.footer-grid>div:first-child{grid-column:1/-1}.page-intro h1,.article h1{font-size:33px;letter-spacing:-1px}.filters{flex-direction:column;align-items:stretch}.article{padding-top:30px}.lead{font-size:17px}.prompt-block{padding:18px}.prompt-block .section-heading{align-items:center}.prompt-block h2{font-size:21px}.copy-button{font-size:11px;padding:10px 12px}.all-guides .guide-card{grid-template-columns:100px 1fr}.all-guides h3{font-size:17px}.all-guides .guide-art{min-height:180px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Full-image previews: never crop the user's prompt examples. */
.prompt-image{height:auto;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;background:#f0f2f7}
.prompt-image img{width:100%;height:100%;object-fit:contain;object-position:center}
.detail-image{width:auto;max-width:100%;height:auto;max-height:none;object-fit:contain}
.feature{min-height:0;aspect-ratio:3/2}
.feature img{width:100%;height:auto;min-height:0;object-fit:contain;aspect-ratio:3/2}
.guide-art img{object-fit:contain}
.about-strip img{height:auto;object-fit:contain;aspect-ratio:3/2}
.breadcrumbs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted);padding-top:22px;line-height:1.5}
.breadcrumbs a{color:var(--purple);min-height:36px;display:inline-flex;align-items:center}
.breadcrumbs [aria-current]{overflow-wrap:anywhere}
.prompt-body .tag{align-self:flex-start}
.prompt-body h3,.article h1{overflow-wrap:anywhere}
.guide-card{min-width:0}.guide-card>div{min-width:0}
@media(max-width:700px){
 .wrap{padding-left:16px;padding-right:16px}
 .utility{display:none}
 .nav{padding-top:12px;padding-bottom:7px;gap:7px}
 .brand{font-size:20px;gap:10px}.brand img{width:36px;height:36px}
 .nav nav{justify-content:space-between;gap:8px;font-size:13px}
 .nav nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:7px 10px}
 .hero{padding-top:23px;padding-bottom:22px;gap:22px}
 .hero h1{font-size:35px;letter-spacing:-1.3px;line-height:1.08}
 .hero-copy>p{font-size:16px;line-height:1.55;margin:14px 0 18px}
 .search input,.filters input,.filters select{font-size:16px}
 .search button{min-width:44px;min-height:44px}.quicklinks{gap:13px;margin-top:10px}
 .quicklinks a{min-height:38px;display:inline-flex;align-items:center}.quicklinks>span{align-self:center}
 .feature{height:auto;min-height:0;aspect-ratio:auto;border:1px solid var(--line);background:#fff;color:var(--ink)}
 .feature img{height:auto;min-height:0;aspect-ratio:3/2;object-fit:contain}
 .feature:after{display:none}.feature>div{position:static;padding:17px;inset:auto}
 .feature h2{color:var(--ink);font-size:24px;margin:9px 0 8px}.feature p{color:var(--muted)}
 .section-heading{align-items:center;gap:12px}.section-heading h2{font-size:21px}
 .section-heading>a{white-space:normal;text-align:right;min-height:44px;display:flex;align-items:center;justify-content:end;font-size:11px;flex-shrink:0;max-width:105px}
 .category-grid{gap:10px}.category-card{padding:13px 10px}.line-icon{font-size:28px;height:39px}.category-card p{font-size:12px}.category-card h3{font-size:14px}
 .prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
 .prompt-image{height:auto;aspect-ratio:3/4}.prompt-image img{object-fit:contain}
 .prompt-body{padding:12px}.prompt-body h3{font-size:14px;line-height:1.45;margin:8px 0 10px;letter-spacing:0}
 .prompt-body>p{display:none}.prompt-body .tag{font-size:8px;max-width:100%;overflow-wrap:anywhere}
 .prompt-body>.purple-link{font-size:12px;min-height:44px;display:flex;align-items:center;justify-content:space-between}
 .guide-card{grid-template-columns:88px minmax(0,1fr);gap:12px}.guide-art{min-height:150px}.guide-art img{height:auto;width:100%;object-fit:contain}
 .all-guides .guide-card{grid-template-columns:88px minmax(0,1fr)}
 .guide-card h3{font-size:15px;line-height:1.4}.guide-card p{font-size:12px}
 .about-strip{padding:18px;margin:26px 0}.about-strip img{height:auto;object-fit:contain}
 .breadcrumbs{font-size:11px;gap:7px;padding-top:13px}.article{padding-top:22px}
 .article h1{font-size:29px;line-height:1.25}.article p{line-height:1.8}.lead{font-size:16px}
 .detail-image{max-height:none;max-width:100%;height:auto;width:auto;margin:20px auto}
 .prompt-block{padding:16px}.prompt-block .section-heading{flex-wrap:wrap;gap:12px}.copy-button{min-height:44px;font-size:12px}
 .filters{padding:14px;gap:12px}.pagination .button{min-height:44px}
 footer{margin-top:24px}.footer-grid{gap:18px}footer a:not(.brand){font-size:12px;min-height:36px;display:flex;align-items:center;margin:3px 0}
}
@media(max-width:359px){.prompt-grid{grid-template-columns:minmax(0,1fr)}.prompt-body h3{font-size:17px}.hero h1{font-size:32px}.section-heading h2{font-size:19px}}

/* Preserve the actual aspect ratio, including wide tutorial thumbnails. */
.prompt-image{height:auto;aspect-ratio:auto;display:block}
.prompt-image img{width:100%;height:auto;object-fit:contain}
