/*
Theme Name: TrendingPrompt.in — AI Photo Prompts
Theme URI: https://trendingprompt.in/
Author: TrendingPrompt.in
Description: Responsive AI photo prompt library with SEO-friendly prompt pages, categories, search, copy buttons, related prompts and saved favourites.
Version: 6.0.0
Requires at least: 6.0
Tested up to: 6.8
*/
:root{--ink:#161626;--muted:#72758a;--line:#e8e8f0;--soft:#f7f6ff;--brand:#6d42f5;--brand2:#a94cff;--white:#fff;--radius:24px;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.tp-container{width:min(var(--max),calc(100% - 32px));margin:auto}.tp-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.tp-nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.tp-logo{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:800}.tp-logo img{max-height:48px;width:auto}.tp-logo-text{background:linear-gradient(90deg,#15162a,#8249ff);-webkit-background-clip:text;background-clip:text;color:transparent}.tp-menu{border:0;background:#f0edff;color:#27223c;width:48px;height:48px;border-radius:16px;font-size:25px;cursor:pointer}.tp-links{display:flex;align-items:center;gap:22px;font-weight:650}.tp-close{display:none}.tp-notice{background:#171529;color:#fff;font-size:14px}.tp-notice-inner{min-height:40px;display:flex;align-items:center;gap:10px}.tp-notice a{margin-left:auto;text-decoration:underline}.tp-hero{padding:76px 0 42px;background:linear-gradient(135deg,#faf9ff,#f0edff 55%,#fff)}.tp-hero .tp-container{text-align:center}.tp-kicker,.tp-title,.tp-gradient,.tp-lead{margin-left:auto;margin-right:auto}.tp-marquee{display:flex;justify-content:center}.tp-track{margin:0 auto}.tp-search{margin-left:auto;margin-right:auto}.tp-pills{justify-content:center}.tp-kicker{letter-spacing:.22em;font-size:13px;font-weight:800;color:#5d6da8;text-transform:uppercase}.tp-title{font-size:clamp(42px,7vw,78px);line-height:1.02;letter-spacing:-.055em;margin:16px 0 6px;max-width:850px}.tp-gradient{font-size:clamp(30px,5vw,60px);line-height:1.05;font-weight:900;background:linear-gradient(90deg,#356cff,#a436ff);-webkit-background-clip:text;background-clip:text;color:transparent}.tp-lead{max-width:780px;color:#6f7182;font-size:18px;margin:20px 0}.tp-marquee{overflow:hidden;margin:12px 0 6px}.tp-track{display:flex;width:max-content;gap:12px;animation:tpMove 18s linear infinite}.tp-track span{padding:8px 15px;border-radius:999px;background:#fff;border:1px solid #e6e1ff;color:#6457a8;font-size:13px;font-weight:700}@keyframes tpMove{to{transform:translateX(-50%)}}.tp-search{max-width:700px;background:#fff;border:1px solid #e7e4f3;box-shadow:0 12px 35px rgba(48,34,94,.08);border-radius:999px;padding:7px;margin:24px 0}.tp-search form{display:flex;align-items:center}.tp-search span{font-size:24px;padding:0 12px}.tp-search input{border:0;outline:0;flex:1;font-size:16px;min-width:0}.tp-search button{border:0;width:46px;height:46px;border-radius:50%;background:var(--brand);color:#fff;font-size:21px;cursor:pointer}.tp-pills{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.tp-pills strong{font-size:13px;color:#777}.tp-pills a{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #e3e0ee;font-size:13px}.tp-section{padding:22px 0 52px;background:#fff}.tp-panel{border:1px solid var(--line);border-radius:30px;padding:12px;background:#fff;box-shadow:0 20px 55px rgba(36,27,75,.06)}.tp-tabs{display:flex;gap:8px;padding:4px;border-bottom:1px solid var(--line);margin-bottom:20px}.tp-tab{border:0;background:transparent;padding:13px 18px;border-radius:999px;color:#737587;font-size:16px;font-weight:750;cursor:pointer}.tp-tab.active{background:#f0edff;color:var(--brand)}.tp-tab-content{display:none}.tp-tab-content.active{display:block}.tp-masonry{column-count:4;column-gap:18px}.tp-card{display:inline-block;width:100%;margin:0 0 18px;border:1px solid #e7e7ef;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 12px 32px rgba(30,24,60,.05);break-inside:avoid}.tp-card-image{position:relative;display:block;background:#f2f2f7}.tp-card-image img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.tp-no-image{padding:120px 10px;text-align:center;color:var(--brand);font-size:34px}.tp-no-image small{display:block;font-size:12px}.tp-like{border:0;background:#fff;color:#202033;box-shadow:0 4px 15px rgba(0,0,0,.18);border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer}.tp-like-btn{position:absolute;top:12px;right:12px;z-index:3}.tp-like.liked{color:#e62d68}.tp-card-body{padding:15px}.tp-badge,.tp-category{display:inline-block;background:#f0edff;color:#5543b8;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}.tp-card h2{font-size:19px;line-height:1.2;margin:10px 0 7px}.tp-card p{margin:0;color:#7b7c8c;font-size:14px}.tp-stats{display:flex;gap:16px;color:#737486;font-size:13px;margin-top:12px}.tp-content-area{padding:30px 0 80px;background:#f8f8fc}.tp-info-box{background:#fff;border:1px solid var(--line);border-radius:28px;padding:28px;margin:18px 0}.tp-info-box h2{font-size:clamp(27px,4vw,40px);line-height:1.15;margin:8px 0 12px}.tp-info-box p{color:#686a7b;max-width:900px}.tp-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.tp-info-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px}.tp-info-card b{color:var(--brand);font-size:13px}.tp-info-card h3{margin:7px 0}.tp-info-card p{color:#6d6f80;font-size:14px}.tp-faq{background:#fff;border:1px solid var(--line);border-radius:28px;padding:28px;margin-top:18px}.tp-faq h2{margin-top:0}.tp-faq details{border-top:1px solid var(--line);padding:16px 0}.tp-faq summary{cursor:pointer;font-weight:750}.tp-footer{background:#151522;color:#e9e8f4;padding:48px 0 0;margin-top:0}.tp-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.tp-footer p{color:#aaaabd;max-width:480px}.tp-footer h3{margin-top:0}.tp-footer a{display:block;color:#c7c6d8;margin:7px 0}.tp-copyright{margin-top:36px;padding:18px 0;border-top:1px solid #29283a;text-align:center;color:#8d8c9f;font-size:13px}.tp-ad{max-width:100%;margin:20px auto;text-align:center;overflow:hidden}.tp-ad img{max-width:100%;height:auto;display:inline-block}.tp-single{padding:52px 0 80px;background:#fff}.tp-article{max-width:850px;margin:auto}.tp-article h1{font-size:clamp(38px,6vw,68px);line-height:1.05;letter-spacing:-.045em;margin:15px 0}.tp-excerpt{font-size:19px;color:#757787;max-width:760px}.tp-featured{position:relative;margin:28px 0;border-radius:28px;overflow:hidden;background:#f3f3f7}.tp-featured img{display:block;width:100%;height:auto}.tp-like-detail{position:absolute;right:16px;top:16px;font-size:16px}.tp-detail-stats{font-size:14px}.tp-social{margin:28px 0}.tp-social h3{font-size:13px;letter-spacing:.2em;color:#62637a}.tp-join{display:inline-flex;margin:5px 6px 5px 0;padding:11px 15px;border-radius:999px;color:#fff;font-weight:750}.tp-instagram{background:linear-gradient(90deg,#8d31ff,#f14f8c,#ff9f32)}.tp-whatsapp{background:#19b85a}.tp-telegram{background:#248ed8}.tp-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0;width:100%}.tp-button{border:0;border-radius:15px;padding:14px 12px;background:var(--brand);color:#fff;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;white-space:nowrap;text-align:center;overflow:visible}.tp-more{background:#efedff;color:#4f43a8}.tp-article-content{font-size:17px;color:#505263}.tp-article-content li{margin:7px 0}.tp-prompt-box{white-space:pre-wrap;background:#151522;color:#f2f0ff;border-radius:20px;padding:22px;font:14px/1.75 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.tp-article h2{font-size:30px;margin-top:38px}.tp-archive{padding:60px 0}.tp-archive-head{margin-bottom:28px}.tp-archive-head h1{font-size:48px;line-height:1.1;margin:8px 0}.tp-archive-desc{color:#727486;max-width:760px}.tp-archive .tp-masonry{margin-bottom:30px}.tp-archive .nav-links{display:flex;gap:8px;flex-wrap:wrap}.tp-archive .page-numbers{padding:9px 13px;border:1px solid var(--line);border-radius:12px}.tp-archive .current{background:var(--brand);color:#fff}
@media(max-width:900px){.tp-masonry{column-count:3}.tp-info-grid{grid-template-columns:repeat(2,1fr)}.tp-footer-grid{grid-template-columns:1fr 1fr}.tp-header{position:sticky;top:0;z-index:90}.tp-nav{position:relative}.tp-links{position:absolute;top:100%;left:0;right:0;width:100%;height:auto;max-height:calc(100vh - 68px);background:#fff;color:#202035;display:none;flex-direction:column;align-items:stretch;padding:24px 36px 30px;z-index:89;box-shadow:0 18px 32px rgba(35,26,72,.10);border-top:1px solid #eeeaf8;overflow-y:auto}.tp-links.is-open{display:flex}.tp-links>a{font-size:22px;font-weight:500;padding:19px 0;border:0;color:#202035;line-height:1.2}.tp-links>a:hover{color:var(--brand)}.tp-custom-menu{display:contents}.tp-custom-menu .menu-item a{font-size:22px;font-weight:500;padding:19px 0;color:#202035}.tp-close{display:none!important}.tp-links>a:first-child{padding-top:78px}}
@media(max-width:620px){.tp-container{width:min(var(--max),calc(100% - 22px))}.tp-nav{height:68px}.tp-title{font-size:44px}.tp-gradient{font-size:31px}.tp-hero{padding:48px 0 28px}.tp-lead{font-size:16px}.tp-masonry{column-count:2;column-gap:10px}.tp-card{margin-bottom:10px;border-radius:17px}.tp-card-body{padding:11px}.tp-card h2{font-size:16px}.tp-card p{font-size:12px}.tp-like-btn{top:8px;right:8px;padding:7px 10px}.tp-tabs{justify-content:space-between}.tp-tab{padding:10px 9px;font-size:13px}.tp-info-grid{grid-template-columns:1fr}.tp-footer-grid{grid-template-columns:1fr}.tp-article h1{font-size:40px}.tp-featured{border-radius:20px}.tp-join{font-size:13px;padding:10px 12px}.tp-actions>*{min-width:0}.tp-button{font-size:14px;padding-left:8px;padding-right:8px}.tp-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tp-archive-head h1{font-size:38px}}

@media(max-width:360px){.tp-actions{grid-template-columns:1fr}.tp-button{white-space:normal;min-height:50px}}

body.tp-drawer-open{overflow:hidden}
@media(max-width:620px){.tp-menu{background:#f0edff;color:#27223c;box-shadow:none}.tp-links{padding-left:36px;padding-right:36px}.tp-links>a{font-size:22px}.tp-links>a:first-child{padding-top:78px}.tp-social{padding:18px;background:#f8f6ff;border:1px solid #ebe6ff;border-radius:22px}.tp-join{margin-right:5px}}

/* Multiple prompts in one post */
.tp-multi-prompt-list{margin:28px 0 10px;display:grid;gap:22px}.tp-prompt-item{border:1px solid var(--line);border-radius:24px;padding:18px;background:#fff;box-shadow:0 12px 32px rgba(30,24,60,.05)}.tp-prompt-item-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.tp-prompt-index{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#f0edff;color:#5543b8;font-size:12px;font-weight:800;white-space:nowrap}.tp-prompt-item-head h2{margin:0;font-size:23px;line-height:1.25}.tp-prompt-item-image{border-radius:18px;overflow:hidden;background:#f4f3f8;margin:0 0 14px}.tp-prompt-item-image img{display:block;width:100%;height:auto;object-fit:contain}.tp-prompt-copy{border:0;background:#efedff;color:#4f43a8;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer;margin-top:10px}.tp-prompt-item .tp-prompt-box{margin-top:0}
@media(max-width:620px){.tp-prompt-item{padding:13px;border-radius:18px}.tp-prompt-item-head{align-items:flex-start;flex-direction:column;gap:8px}.tp-prompt-item-head h2{font-size:20px}.tp-prompt-item-image{border-radius:14px}}


/* V10: reference-style centered hero typography and compact menu button */
.tp-hero .tp-container{text-align:center;max-width:900px}
.tp-kicker{display:block;width:100%;max-width:100%;text-align:center;letter-spacing:.19em;font-size:13px;line-height:1.8;font-weight:850;margin:0 auto 22px}
.tp-title{font-weight:850;text-align:center;max-width:760px;margin:0 auto 12px;line-height:1.02;letter-spacing:-.055em}
.tp-gradient{display:block;text-align:center;font-weight:900;letter-spacing:-.035em;margin:0 auto}
.tp-lead{display:block;text-align:center;max-width:760px;line-height:1.65;margin:26px auto 28px}
.tp-marquee{width:100%;justify-content:center;margin:16px auto 8px}
.tp-track{margin-left:auto;margin-right:auto}
.tp-search{width:100%;margin:28px auto 24px}
.tp-pills{justify-content:center;align-items:center;gap:12px;max-width:780px;margin:0 auto}
.tp-pills strong{font-size:16px;font-weight:800}
.tp-pills a{padding:11px 22px;font-size:16px;color:#343548;border-color:#e2dfeb;box-shadow:0 2px 5px rgba(25,20,50,.025)}
.tp-menu{width:42px;height:42px;min-width:42px;min-height:42px;border-radius:14px;font-size:21px;line-height:1;padding:0;display:flex;align-items:center;justify-content:center;flex:0 0 42px}
.tp-nav{gap:14px}
.tp-logo img{max-height:42px}
@media(max-width:620px){
 .tp-nav{height:68px;gap:12px}
 .tp-menu{width:42px;height:42px;min-width:42px;min-height:42px;border-radius:14px;font-size:21px}
 .tp-logo{font-size:21px;gap:8px;min-width:0}
 .tp-logo img{max-height:38px;max-width:min(70vw,250px)}
 .tp-hero{padding:54px 0 32px}
 .tp-kicker{font-size:12px;letter-spacing:.15em;line-height:1.7;margin-bottom:20px}
 .tp-title{font-size:clamp(38px,10vw,50px);font-weight:850;line-height:1.02;max-width:100%;margin-bottom:12px}
 .tp-gradient{font-size:clamp(30px,8vw,40px);line-height:1.08;font-weight:900}
 .tp-lead{font-size:16px;line-height:1.65;margin:24px auto 26px;max-width:100%;padding:0 4px}
 .tp-marquee{margin:16px auto 8px}
 .tp-search{margin:26px auto 24px;padding:6px}
 .tp-search input{font-size:15px}
 .tp-search button{width:42px;height:42px;flex:0 0 42px}
 .tp-pills{gap:10px;max-width:100%}
 .tp-pills strong{font-size:15px;padding:6px 4px}
 .tp-pills a{font-size:15px;padding:10px 18px}
}

/* V11: compact full-width mobile menu matching the reference screenshot */
@media(max-width:900px){
 .tp-links{padding:8px 22px 16px!important;gap:0!important;max-height:calc(100dvh - 68px);border-top:1px solid #eeeaf8;box-shadow:0 14px 28px rgba(35,26,72,.08)}
 .tp-links>a{display:flex;align-items:center;min-height:64px;padding:15px 0!important;margin:0;border-bottom:1px solid #e9e8e2;font-size:18px!important;line-height:1.35!important;font-weight:500!important;color:#27283a!important}
 .tp-links>a:first-child{padding-top:15px!important}
 .tp-links>a:last-of-type{border-bottom:0}
 .tp-links>a:hover{color:var(--brand)!important}
 .tp-custom-menu .menu-item a{display:flex;align-items:center;min-height:64px;padding:15px 0!important;margin:0;border-bottom:1px solid #e9e8e2;font-size:18px!important;line-height:1.35!important;font-weight:500!important}
 .tp-custom-menu .menu-item:last-child a{border-bottom:0}
}
@media(max-width:620px){
 .tp-links{left:0!important;right:0!important;width:100%!important;padding:6px 20px 12px!important;background:#fff!important;border-top:1px solid #eeeaf8!important}
 .tp-links>a{min-height:60px;padding:14px 0!important;font-size:18px!important}
 .tp-links>a:first-child{padding-top:14px!important}
 .tp-custom-menu .menu-item a{min-height:60px;padding:14px 0!important;font-size:18px!important}
 .tp-menu{width:42px;height:42px;min-width:42px;min-height:42px;border-radius:14px}
}

/* V15: use a true responsive row-based card grid instead of CSS columns.
   This keeps prompt cards side-by-side on mobile like the reference design. */
.tp-masonry{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));column-count:unset!important;column-gap:18px;row-gap:18px;align-items:start}
.tp-masonry>.tp-card{display:block!important;width:100%!important;margin:0!important;break-inside:auto!important;min-width:0}
.tp-masonry>.tp-empty{grid-column:1/-1}
@media(max-width:900px){.tp-masonry{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:620px){.tp-masonry{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tp-card{margin:0!important}.tp-card-image img{width:100%;height:auto;object-fit:contain}.tp-card h2{overflow-wrap:anywhere}}
@media(max-width:360px){.tp-masonry{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tp-card-body{padding:9px}.tp-card h2{font-size:14px}}

/* V18: prominent gradient Load More button; cache-busted assets ensure styles/scripts update */
.tp-load-more-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 0 14px;width:100%}
.tp-load-more-wrap .tp-load-more{display:flex!important;align-items:center;justify-content:center;width:min(100%,560px);min-height:62px;padding:16px 24px;border:0!important;border-radius:18px!important;background:linear-gradient(105deg,#2868f5 0%,#16b9d5 100%)!important;color:#fff!important;font-family:inherit;font-size:clamp(17px,4.4vw,23px)!important;line-height:1.25;font-weight:800!important;letter-spacing:.1px;box-shadow:0 12px 26px rgba(35,132,226,.22)!important;cursor:pointer;appearance:none;-webkit-appearance:none;text-align:center;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.tp-load-more-wrap .tp-load-more::after{content:' ↓';margin-left:7px}
.tp-load-more-wrap .tp-load-more:hover{filter:brightness(1.04);transform:translateY(-2px);box-shadow:0 15px 30px rgba(35,132,226,.28)!important}
.tp-load-more-wrap .tp-load-more:disabled{opacity:.72;cursor:wait;transform:none}
.tp-load-more-wrap .tp-load-more[hidden]{display:none!important}
.tp-load-more-status{margin:0;color:#77798a;font-size:13px;text-align:center}
@media(max-width:620px){.tp-load-more-wrap{padding:22px 0 12px}.tp-load-more-wrap .tp-load-more{min-height:58px;width:calc(100% - 20px);border-radius:17px!important}}


/* InstaEditPrompt brand palette: warm cream, orange and royal blue */
:root{--ink:#27242b;--muted:#655f58;--line:#ead8bd;--soft:#fff1dc;--brand:#f28a12;--brand2:#245bd6;--white:#fff;--radius:22px}
body{background:#fffaf2;color:#29262d}
.tp-header{background:#f28a12;color:#fff;border-bottom:0;backdrop-filter:none;box-shadow:0 5px 18px rgba(126,75,15,.10)}
.tp-logo,.tp-logo-text,.tp-links>a{color:#fff}
.tp-menu{background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.25)}
.tp-hero{background:linear-gradient(145deg,#fff1d9 0%,#ffedcf 55%,#fff8ec 100%)}
.tp-kicker{color:#a75c20}
.tp-title{color:#245bd6}
.tp-gradient{color:#27242b}
.tp-gradient strong,.tp-gradient .accent{color:#e17c0c}
.tp-search form{border-color:#f0dfc4;box-shadow:0 8px 25px rgba(105,73,32,.08)}
.tp-search button,.tp-tab.active,.tp-load-more,.tp-button{background:#f28a12;color:#fff}
.tp-pills a{background:#fff;border-color:#efd9b7;color:#9b5a15}
.tp-section,.tp-content-area{background:#fff2dd}
.tp-panel,.tp-card,.tp-info-box,.tp-info-card,.tp-faq details{background:#fff;border-color:#ead8bd}
.tp-badge{background:#fff0d7;color:#a65d13}
.tp-card h2 a:hover,.tp-article-content a{color:#245bd6}
.tp-info-card>b,.tp-prompt-index{background:#ffead0;color:#c77714}
.tp-footer{background:#f28a12;color:#fff;padding-top:48px}
.tp-footer p,.tp-footer a{color:#fff4e7}
.tp-footer h3{color:#fff}
.tp-copyright{background:#fff;color:#29262d;border-top:0;padding:22px 0;font-weight:800}
.tp-links{background:#f28a12;color:#fff}
@media(max-width:900px){.tp-links{background:#f28a12!important;border-top:1px solid rgba(255,255,255,.25)!important}.tp-links>a,.tp-custom-menu .menu-item a{color:#fff!important;border-bottom-color:rgba(255,255,255,.2)!important}.tp-links>a:hover{color:#fff4d9!important}.tp-menu{color:#fff}}
@media(max-width:620px){.tp-header{position:sticky;top:0}.tp-hero{padding-top:48px}.tp-title{color:#245bd6}}

/* InstaEditPrompt growth tools v2 */
.iep-builder-section,.iep-tools-section{padding:58px 0;background:linear-gradient(135deg,#fff8ed,#fff1d9)}
.iep-tools-section{background:#fff}
.iep-section-heading{text-align:center;max-width:780px;margin:0 auto 28px}
.iep-section-heading h2,.iep-premium-card h2{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:10px 0 12px;color:#20212a}
.iep-section-heading p,.iep-premium-card p{color:#65616a;font-size:17px;line-height:1.75;margin:0 auto}
.iep-builder{max-width:920px;margin:auto;background:#fff;border:1px solid #f0ddc2;border-radius:24px;padding:clamp(18px,4vw,34px);box-shadow:0 15px 45px rgba(91,55,18,.08)}
.iep-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.iep-form-grid label,.iep-tool-card label{display:flex;flex-direction:column;gap:8px;font-weight:700;color:#28242a;font-size:14px}
.iep-form-grid input,.iep-form-grid select,.iep-tool-card input,.iep-tool-card select{width:100%;min-height:48px;border:1px solid #e8d6bd;border-radius:12px;padding:12px 14px;background:#fffaf2;color:#28242a;font:inherit;box-sizing:border-box}
.iep-primary-button,.iep-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:14px 20px;font-weight:800;font-size:15px;text-decoration:none;cursor:pointer;transition:transform .2s,box-shadow .2s}
.iep-primary-button{background:linear-gradient(110deg,#ff7900,#ff5b2e);color:#fff!important;box-shadow:0 7px 18px rgba(255,111,0,.2)}
.iep-secondary-button{background:#fff;color:#c76512!important;border:1px solid #f2c38f}
.iep-primary-button:hover,.iep-secondary-button:hover{transform:translateY(-2px)}
.iep-builder>.iep-primary-button{margin-top:20px}
.iep-output-wrap{margin-top:22px;padding-top:20px;border-top:1px solid #f1e2d0}
.iep-output-wrap h3{margin:0 0 12px}.iep-output-wrap textarea{width:100%;box-sizing:border-box;border:1px solid #ead8c0;border-radius:12px;padding:14px;font:inherit;line-height:1.65;background:#fffdf9;color:#29242a;resize:vertical}.iep-note{font-size:13px;color:#777;margin:12px 0 0}.iep-copy-small{margin-top:10px;border:1px solid #f2c38f;border-radius:8px;background:#fff5e8;padding:7px 10px;color:#a74d00;font-weight:700}
.iep-quick-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.iep-tool-card{border:1px solid #f0ddc2;background:#fffaf3;border-radius:20px;padding:22px;box-shadow:0 8px 25px rgba(91,55,18,.05)}
.iep-tool-card h3{margin:0 0 16px;font-size:21px}.iep-tool-card .iep-secondary-button{margin-top:14px;width:100%;box-sizing:border-box}.iep-tool-result{margin-top:14px;color:#45414a;line-height:1.65;overflow-wrap:anywhere}.iep-tool-result p{background:#fff;padding:10px 12px;border-radius:10px;border:1px solid #f0e0cc;margin:8px 0}
.iep-premium-section{padding:54px 0;background:#fff8ef}.iep-premium-card{display:grid;grid-template-columns:1.6fr .8fr;gap:30px;align-items:center;padding:clamp(22px,4vw,42px);border-radius:24px;background:linear-gradient(125deg,#fff 0%,#fff1dc 100%);border:1px solid #f1d7b4;box-shadow:0 12px 35px rgba(91,55,18,.07)}.iep-premium-card ul{padding-left:22px;line-height:1.9;color:#514c54}.iep-premium-card small{color:#786c60;line-height:1.5;display:block}.iep-premium-actions{display:flex;flex-direction:column;gap:12px}.iep-premium-actions a{text-align:center}
@media(max-width:760px){.iep-builder-section,.iep-tools-section,.iep-premium-section{padding:38px 0}.iep-form-grid,.iep-quick-tools,.iep-premium-card{grid-template-columns:1fr}.iep-section-heading p{font-size:15px}.iep-builder{border-radius:18px}.iep-premium-actions{align-items:stretch}}
/* Global brand palette: orange, cream and blue */
:root{--ink:#24212b;--muted:#6f6870;--line:#f0dfca;--soft:#fff5e5;--brand:#f47a00;--brand2:#ff5e35;--white:#fff;--radius:22px;--max:1180px}
body{background:#fffaf1;color:#28232b}.tp-header{background:#f47713;border-bottom:1px solid #e96708;color:#fff}.tp-logo-text{background:linear-gradient(90deg,#fff,#fff4dc);-webkit-background-clip:text;background-clip:text;color:transparent}.tp-links>a{color:#fff}.tp-links>a:hover{color:#ffe2b4}.tp-menu{background:rgba(255,255,255,.18);color:#fff}.tp-hero{background:linear-gradient(135deg,#fffaf1,#fff0d7 58%,#fff8ed)}.tp-title{color:#25222b}.tp-gradient{background:linear-gradient(90deg,#1764e8,#f47713);-webkit-background-clip:text;background-clip:text;color:transparent}.tp-kicker{color:#b75a12}.tp-track span{border-color:#f0d7b9;color:#a95a1c}.tp-search{border-color:#f0ddc5;box-shadow:0 12px 35px rgba(150,83,22,.08)}.tp-search button{background:#f47713}.tp-pills a{border-color:#efd9bc}.tp-section{background:#fffaf2}.tp-panel{border-color:#f0dfca;box-shadow:0 18px 50px rgba(120,75,25,.06)}.tp-tab.active{background:#fff0dc;color:#c65e05}.tp-badge,.tp-category{background:#fff0dc;color:#ad550e}.tp-info-box,.tp-info-card,.tp-faq{border-color:#f0dfca}.tp-content-area{background:#fff7eb}.tp-footer{background:#f47713;color:#fff}.tp-footer p{color:#fff0df}.tp-footer a{color:#fff6e9}.tp-copyright{border-color:rgba(255,255,255,.28);color:#fff1df}.tp-no-image{color:#f47713;background:#fff0dc}.tp-archive .current{background:#f47713}.tp-archive .page-numbers{border-color:#f0dfca}.tp-links.is-open{background:#fffaf2}.tp-links.is-open>a,.tp-custom-menu .menu-item a{color:#28232b}.tp-links.is-open>a:hover{color:#f47713}
@media(max-width:900px){.tp-links{background:#fffaf2}.tp-links>a{color:#28232b}.tp-links>a:hover{color:#f47713}.tp-menu{background:rgba(255,255,255,.2);color:#fff}}


/* InstaEditPrompt v3 — evergreen teal + mint + citron palette */
:root{--ink:#172f32;--muted:#62777a;--line:#d9e9e4;--soft:#eff8f5;--brand:#087f8c;--brand2:#b8d94a;--white:#fff;--radius:24px;--max:1180px}
body{background:#f8fcfa;color:#172f32}
.tp-header{background:#103f43;color:#fff;border-bottom:1px solid #0a3538}
.tp-logo-text{background:linear-gradient(90deg,#fff,#d8f18a);-webkit-background-clip:text;background-clip:text;color:transparent}
.tp-links>a{color:#fff}.tp-links>a:hover{color:#d8f18a}
.tp-menu{background:rgba(255,255,255,.13);color:#fff;border:1px solid rgba(255,255,255,.22)}
.tp-hero{background:radial-gradient(circle at 12% 12%,rgba(184,217,74,.20),transparent 30%),linear-gradient(135deg,#f3fbf7,#e7f6f0 55%,#f8fcfa)}
.tp-title{color:#123f43}.tp-gradient{background:linear-gradient(90deg,#087f8c,#67a64a);-webkit-background-clip:text;background-clip:text;color:transparent}
.tp-kicker{color:#34736b}.tp-track span{border-color:#cfe5d9;color:#286a61;background:#fff}
.tp-search{border-color:#d7e9e1;box-shadow:0 12px 35px rgba(17,80,70,.08)}.tp-search button{background:#087f8c}
.tp-pills a{border-color:#d7e9e1;color:#275b59}.tp-section{background:#f8fcfa}.tp-panel{border-color:#dcebe5;box-shadow:0 18px 50px rgba(17,80,70,.06)}
.tp-tab.active{background:#e4f4e9;color:#087f8c}.tp-badge,.tp-category{background:#e4f4e9;color:#176b61}
.tp-content-area{background:#eff8f4}.tp-info-box,.tp-info-card,.tp-faq{border-color:#d9e9e4}.tp-info-card b{color:#087f8c}
.tp-footer{background:#103f43;color:#f1fbf6}.tp-footer p{color:#c3ded5}.tp-footer a{color:#e0f3eb}.tp-copyright{border-color:rgba(224,243,235,.22);color:#b9d8ce}
.tp-no-image{color:#087f8c;background:#e4f4e9}.tp-archive .current{background:#087f8c}.tp-archive .page-numbers{border-color:#d9e9e4}
.tp-links.is-open{background:#103f43}.tp-links.is-open>a,.tp-custom-menu .menu-item a{color:#fff}.tp-links.is-open>a:hover{color:#d8f18a}
.iep-builder-section,.iep-tools-section{background:linear-gradient(135deg,#f1faf6,#e5f4ed)}.iep-tools-section{background:#f8fcfa}
.iep-section-heading h2,.iep-premium-card h2{color:#173d3d}.iep-section-heading p,.iep-premium-card p{color:#607572}
.iep-builder{border-color:#d5e9df;box-shadow:0 15px 45px rgba(17,80,70,.08)}
.iep-form-grid input,.iep-form-grid select,.iep-tool-card input,.iep-tool-card select{border-color:#d3e6dd;background:#f7fcf9;color:#173d3d}
.iep-primary-button{background:linear-gradient(110deg,#087f8c,#12665f);color:#fff!important;box-shadow:0 7px 18px rgba(8,127,140,.2)}
.iep-secondary-button{background:#f5fbe6;color:#255d51!important;border:1px solid #d6e6a3}
.iep-output-wrap{border-top-color:#d9e9e4}.iep-output-wrap textarea{border-color:#d3e6dd;background:#fbfefc;color:#173d3d}
.iep-copy-small{border-color:#d6e6a3;background:#f5fbe6;color:#255d51}.iep-tool-card{border-color:#d5e9df;background:#fff;box-shadow:0 8px 25px rgba(17,80,70,.05)}
.iep-tool-result p{border-color:#d9e9e4}.iep-premium-section{background:#eaf6ef}.iep-premium-card{background:linear-gradient(125deg,#fff 0%,#edf8df 100%);border-color:#d5e9df;box-shadow:0 12px 35px rgba(17,80,70,.07)}
.tp-actions .tp-button{background:#087f8c}.tp-more{background:#e4f4e9;color:#176b61}.tp-prompt-box{background:#123f43;color:#effbf5}
@media(max-width:900px){.tp-links{background:#103f43;color:#fff;border-top-color:rgba(255,255,255,.2)}.tp-links>a,.tp-custom-menu .menu-item a{color:#fff!important}.tp-links>a:hover{color:#d8f18a!important}}
@media(max-width:620px){.tp-menu{background:rgba(255,255,255,.13);color:#fff}.tp-social{background:#eff8f4;border-color:#d9e9e4}.tp-title{color:#123f43}}


/* v4: prompt-library-only homepage; no generator/tools section or circular marquee; coordinated teal mobile menu */
.tp-header{background:#103f43!important;color:#fff!important;border-bottom-color:#0a3538!important}
.tp-menu{background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important}
.tp-links.is-open{background:#103f43!important;border-top:1px solid rgba(224,243,235,.22)!important;box-shadow:0 16px 32px rgba(16,63,67,.16)}
.tp-links.is-open>a,.tp-links.is-open .tp-custom-menu .menu-item a{color:#effbf6!important}
.tp-links.is-open>a:hover,.tp-links.is-open .tp-custom-menu .menu-item a:hover{color:#d8f18a!important}
.tp-pills{gap:9px;margin-top:20px}
.tp-pills a{background:#fff;border-radius:999px;color:#245e59!important;border-color:#cfe5d9!important;padding:8px 14px}
.tp-pills a:hover{background:#e4f4e9;color:#087f8c!important}
.tp-tab.active{background:#087f8c!important;color:#fff!important}
.tp-load-more{background:linear-gradient(100deg,#087f8c,#08a878)!important;color:#fff!important}
@media(max-width:900px){.tp-links{background:#103f43!important}.tp-links>a,.tp-links .tp-custom-menu .menu-item a{color:#effbf6!important}.tp-links>a:hover,.tp-links .tp-custom-menu .menu-item a:hover{color:#d8f18a!important}}


/* v5 TrendingPrompt.in — compact library-first homepage and clean mobile navigation */
:root{--ink:#173638;--muted:#647779;--line:#d9e9e4;--soft:#eff8f5;--brand:#087f8c;--brand2:#69a64b}
.tp-header{background:#103f43!important;color:#fff!important}
.tp-logo-text{background:linear-gradient(90deg,#fff,#d8f18a)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important}
.tp-hero{padding:52px 0 24px!important}
.tp-hero .tp-container{max-width:940px}
.tp-title{max-width:780px;font-size:clamp(38px,6vw,68px)!important}
.tp-gradient{font-size:clamp(27px,4.5vw,48px)!important;max-width:800px}
.tp-lead{max-width:720px;font-size:17px!important;margin:18px auto 22px!important}
.tp-pills{margin-top:14px!important}
.tp-pills strong{margin-right:4px}
.tp-links .tp-custom-menu{display:none!important}
@media(max-width:900px){.tp-links{background:#103f43!important}.tp-links>a{color:#effbf6!important;padding:17px 0!important;border-bottom:1px solid rgba(224,243,235,.2)!important}.tp-links>a:first-child{padding-top:20px!important}.tp-links>a:hover{color:#d8f18a!important}}
@media(max-width:620px){.tp-hero{padding:36px 0 18px!important}.tp-title{font-size:clamp(35px,9vw,46px)!important;line-height:1.06!important}.tp-gradient{font-size:clamp(25px,7vw,32px)!important;line-height:1.12!important}.tp-lead{font-size:16px!important;line-height:1.65!important}.tp-search{margin:22px auto 18px!important}.tp-pills{gap:8px!important}.tp-pills a{padding:8px 12px!important;font-size:12px!important}}


/* TrendingPrompt Pro v6: save buttons, related prompts, category navigation and saved library */
.tp-save-btn{position:absolute;left:10px;bottom:10px;z-index:4;border:1px solid rgba(255,255,255,.75);border-radius:999px;background:rgba(255,255,255,.96);color:#333047;padding:7px 11px;font-family:inherit;font-size:12px;line-height:1.3;font-weight:700;box-shadow:0 3px 12px rgba(20,20,35,.12);cursor:pointer}
.tp-save-btn.is-saved{background:#e6f8ee;color:#14683b;border-color:#b8e7ca}
.tp-save-inline{position:static;display:inline-flex;align-items:center;justify-content:center;margin:10px 5px 0 0;font:700 13px/1.3 inherit}
.tp-card-image{position:relative}
.tp-category-filter{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 24px}
.tp-category-filter a{display:inline-flex;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:700;font-size:14px}
.tp-related-section{margin:36px 0 10px;padding-top:20px;border-top:1px solid var(--line)}
.tp-related-section>h2{font-size:clamp(24px,4vw,34px);margin:0 0 18px}
.tp-related-section .tp-card h3{font-size:18px;line-height:1.25;margin:8px 0}
.tp-saved-page{padding:36px 0 70px}
.tp-saved-intro{margin-bottom:24px}
.tp-saved-intro h1{font-size:clamp(32px,6vw,48px);line-height:1.15;margin:0 0 10px}
#tp-saved-status{padding:12px 0;color:var(--muted)}
@media(max-width:620px){.tp-save-btn{left:7px;bottom:7px;padding:6px 8px;font-size:11px}.tp-category-filter{gap:7px}.tp-category-filter a{font-size:12px;padding:8px 10px}.tp-related-section .tp-masonry{grid-template-columns:repeat(2,minmax(0,1fr))}}
