:root{
  --brand:#c6bcff;
  --brand-strong:#8f7cf2;
  --brand-deep:#6f5ad9;
  --brand-soft:#f3f0ff;
  --brand-wash:#fbfaff;
  --brand-line:#ded8ff;
  --ink:#171925;
  --muted:#6e7485;
  --line:#e7e7ef;
  --bg:#f7f7fa;
  --surface:#fff;
  --shadow:0 18px 55px rgba(48,42,80,.08);
  --shadow-hover:0 24px 70px rgba(71,60,120,.14);
}
body{background:var(--bg);color:var(--ink)}
.scroll-progress{height:4px;background:linear-gradient(90deg,#c6bcff,#8f7cf2,#c6bcff);box-shadow:0 0 18px rgba(198,188,255,.55)}
.site-header{background:rgba(255,255,255,.96)}
.brand{height:56px;min-width:190px;overflow:visible;align-items:center}
.brand img{width:176px;height:56px;max-height:none;object-fit:contain;object-position:left center}
.desktop-nav a.active:after{background:var(--brand-strong);height:3px}
.account-link{border-color:var(--brand-line)}
.account-link .ui-icon{color:var(--brand-deep)}
.btn-primary{background:var(--brand-strong);color:#fff;box-shadow:0 10px 24px rgba(143,124,242,.23)}
.btn-primary:hover{background:var(--brand-deep)}
.btn-outline:hover{border-color:var(--brand);background:var(--brand-wash);color:var(--brand-deep)}
/* Promptesy V9 identity + interaction system */
.nav-wrap{height:78px}
.brand{min-width:185px;width:185px;height:58px}
.brand img{width:170px;height:54px;max-height:54px;object-fit:contain}
.header-search{border-radius:14px;background:#fff}
.header-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 4px rgba(198,188,255,.18)}

/* Buttons: one visual language */
.btn-primary,.copy-primary,.rating-submit,.find-form button{background:var(--brand-strong)!important;color:#fff!important;border:1px solid var(--brand-strong)!important;box-shadow:0 8px 22px rgba(143,124,242,.2)!important;border-radius:12px!important}
.btn-primary:hover,.copy-primary:hover,.rating-submit:hover,.find-form button:hover{background:var(--brand-deep)!important;transform:translateY(-1px)}
.btn-outline,.btn-secondary,.detail-prompt-tools button,.engage-btn,.share-btn{border-color:var(--brand-line)!important;background:#fff!important;color:var(--ink)!important;border-radius:12px!important}
.btn-outline:hover,.detail-prompt-tools button:hover,.engage-btn:hover,.share-btn:hover{border-color:var(--brand)!important;background:var(--brand-wash)!important;color:var(--brand-deep)!important}

/* Home identity */
.home-find{background:radial-gradient(circle at 84% 30%,rgba(198,188,255,.28),transparent 24%),linear-gradient(180deg,#fff 0,#faf9ff 100%)}
.find-grid{grid-template-columns:minmax(0,1fr) 430px;gap:70px}
.find-side{position:relative}
.find-side-card{padding:0;background:#fff;color:var(--ink);border:1px solid var(--brand-line);box-shadow:0 25px 80px rgba(83,69,140,.14);border-radius:26px;overflow:hidden}
.find-side-image{position:relative;aspect-ratio:4/3;overflow:hidden;background:#eeeafa}
.find-side-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .8s cubic-bezier(.16,1,.3,1)}
.find-side-card:hover .find-side-image img{transform:scale(1.04)}
.find-side-overlay{position:absolute;left:16px;bottom:16px;padding:8px 11px;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.84);backdrop-filter:blur(10px);border-radius:999px;font-size:9px;font-weight:850;color:#4c3fa0}
.find-side-content{padding:16px 18px 18px}
.find-side-content .eyebrow{margin-bottom:4px}
.find-side-content h3{margin:0;font-size:20px;letter-spacing:-.03em}
.find-side-content p{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.55}
.find-side-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px}
.find-mini-stat{padding:10px;border-radius:12px;background:var(--brand-wash);border:1px solid #eeeaff}
.find-mini-stat strong{display:block;font-size:16px}
.find-mini-stat span{font-size:8px;color:var(--muted)}

/* Animated category/work cards */
.browse-section{background:linear-gradient(180deg,#f7f7fa 0,#fff 100%)}
.category-grid-v8{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.category-tile-v8{position:relative;min-height:205px;padding:22px;border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s,border-color .45s}
.category-tile-v8:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-55px;top:-55px;background:var(--card-tint,rgba(198,188,255,.25));transition:transform .55s}
.category-tile-v8:after{content:"";position:absolute;width:80px;height:80px;border:1px solid rgba(255,255,255,.85);border-radius:28px;right:22px;bottom:-30px;transform:rotate(25deg);transition:transform .55s}
.category-tile-v8:hover{transform:translateY(-8px) rotate(-.5deg);box-shadow:0 24px 55px rgba(72,62,115,.12);border-color:var(--brand)}
.category-tile-v8:hover:before{transform:scale(1.35)}
.category-tile-v8:hover:after{transform:rotate(45deg) translate(-5px,-8px)}
.category-tile-v8:nth-child(4n+1){--card-tint:#ece8ff}.category-tile-v8:nth-child(4n+2){--card-tint:#e7f7ef}.category-tile-v8:nth-child(4n+3){--card-tint:#fff0d8}.category-tile-v8:nth-child(4n+4){--card-tint:#e5efff}
.category-index{position:relative;z-index:2;font-size:10px;font-weight:900;color:#8b839f;letter-spacing:.12em}
.category-tile-v8>div{position:relative;z-index:2}.category-tile-v8 h3{font-size:20px;letter-spacing:-.03em;margin:0 0 6px}.category-tile-v8 p{font-size:11px;line-height:1.6;color:var(--muted);margin:0;max-width:230px}.category-tile-v8 strong{position:relative;z-index:2;color:var(--brand-deep);font-size:10px;display:flex;align-items:center;gap:6px}

/* member carousel */
.members-section{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.member-grid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:5px 3px 18px;scrollbar-width:none}
.member-grid::-webkit-scrollbar{display:none}
.member-card{scroll-snap-align:start;flex:0 0 190px;min-height:185px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,#fff,#fbfaff);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;transition:.4s cubic-bezier(.16,1,.3,1);position:relative;overflow:hidden}
.member-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;background:rgba(198,188,255,.22);top:-55px;right:-55px}
.member-card:hover{transform:translateY(-7px);border-color:var(--brand);box-shadow:var(--shadow-hover)}
.member-avatar{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-deep);font-weight:900;font-size:24px;border:4px solid #fff;box-shadow:0 7px 24px rgba(92,76,160,.14);overflow:hidden;position:relative;z-index:2}
.member-avatar img{width:100%;height:100%;object-fit:cover}
.member-card-main{position:relative;z-index:2;margin-top:10px}.member-card-main strong{display:block;font-size:13px}.member-card-main span{display:block;font-size:9px;color:var(--muted);margin-top:2px}.member-card-main small{display:block;font-size:8px;color:#9298a7;margin-top:4px}.member-arrow{display:none}

/* prompt detail */
.prompt-page-v8 .detail-heading-v8{max-width:1020px}.detail-heading-v8 h1{color:var(--ink)}
.detail-workspace-v8{grid-template-columns:minmax(0,1fr) 430px;gap:24px}
.detail-image-wrap-v8{border-radius:24px;box-shadow:0 18px 55px rgba(58,52,91,.08)}
.detail-image-wrap-v8 img{aspect-ratio:16/9}
.sidebar-stack-v8{top:96px}
.detail-prompt-card-v8,.engagement-card-v8,.sidebar-ad-card,.related-side-card{border-color:#e6e3f0;box-shadow:0 15px 45px rgba(55,47,90,.07)}
.detail-prompt-head-v8{padding:18px 18px 15px}.detail-prompt-head-v8 .eyebrow{color:var(--brand-deep)}
.copy-primary{padding:12px 15px!important;font-size:11px!important;min-height:42px;display:inline-flex;align-items:center;gap:7px}
.prompt-code-v8{background:#fbfaff;padding:18px}.prompt-code-v8 pre{font-size:12px;line-height:1.9;color:#303146;max-height:440px}
.detail-prompt-tools{gap:8px;padding:13px 16px}.detail-prompt-tools button{min-height:40px;padding:0 14px;font-size:10px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.engagement-card-v8{padding:16px}.engagement-top-v8{align-items:center}.engage-btn{min-height:42px;padding:0 14px}.engage-btn.liked{background:var(--brand-soft)!important;color:var(--brand-deep)!important;border-color:var(--brand)!important}
.rating-summary-v8{padding:7px 10px;border-radius:11px;background:#fbfaff;border:1px solid #eeeaff}.rating-summary-v8 .stars{color:#d4c75b}.rating-form-v8{padding-top:14px}.rating-stars{gap:6px;margin:10px 0}.rating-stars button{width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:0;display:grid;place-items:center;color:#c6c9d4}.rating-stars button.active,.rating-stars button:hover{color:#8b78e9;background:var(--brand-soft);border-color:var(--brand);transform:none}.rating-stars button .ui-icon{width:19px;height:19px}.rating-submit{min-height:42px!important;margin-top:6px}
.share-row-v8{gap:8px}.share-btn{width:38px;height:38px}.tags-line-v8{background:#fbfaff;border-color:#eeeaff}.prompt-tag,.keyword-chip{border-color:#e4defe;background:#fff;color:#625b82}.related-side-card{overflow:hidden}.related-side-item{grid-template-columns:82px 1fr;padding:13px}.related-side-item img{width:82px;height:104px;border-radius:12px}.related-side-item strong{font-size:11px}.related-desc.short{-webkit-line-clamp:1}.related-desc.medium{-webkit-line-clamp:2}.related-desc.long{-webkit-line-clamp:5}

/* account/profile */
.account-page-v8{max-width:1160px}.profile-cover{background:linear-gradient(135deg,#fff 0,#fbfaff 60%,#f1eeff 100%);border:1px solid var(--brand-line);border-radius:30px;padding:34px;box-shadow:var(--shadow);position:relative;overflow:hidden}.profile-cover:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;border:1px solid rgba(143,124,242,.12);right:-130px;top:-160px}.profile-top{position:relative;z-index:2}.profile-copy h1{font-size:34px}.profile-stats{position:relative;z-index:2}.profile-avatar{width:96px;height:96px;font-size:30px}
.profile-edit-card{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:var(--shadow)}
.profile-edit-grid{display:grid;grid-template-columns:150px 1fr;gap:24px;align-items:start}.avatar-upload{display:flex;flex-direction:column;align-items:center;gap:10px}.avatar-upload .member-avatar{width:118px;height:118px;font-size:34px}.avatar-upload input{width:100%;font-size:10px}.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-fields .full{grid-column:1/-1}.profile-field label{display:block;font-size:10px;font-weight:850;margin-bottom:6px}.profile-field input{width:100%;height:44px;border:1px solid var(--line);border-radius:12px;padding:0 13px;outline:none}.profile-field input:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(198,188,255,.18)}

@media(max-width:1050px){.find-grid{grid-template-columns:1fr 360px}.category-grid-v8{grid-template-columns:repeat(2,1fr)}.detail-workspace-v8{grid-template-columns:1fr 390px}}
@media(max-width:760px){.nav-wrap{height:70px}.brand{min-width:150px;width:150px}.brand img{width:145px;height:48px}.find-grid{grid-template-columns:1fr}.find-side{max-width:520px}.category-grid-v8{grid-template-columns:1fr}.member-card{flex-basis:170px}.detail-workspace-v8{grid-template-columns:1fr}.sidebar-stack-v8{position:static}.detail-side-v8{display:block}.detail-prompt-tools{flex-wrap:wrap}.profile-edit-grid{grid-template-columns:1fr}.profile-fields{grid-template-columns:1fr}.profile-fields .full{grid-column:auto}}
/* Signature Promptesy lavender: #c6bcff */
.btn-primary,.copy-primary,.rating-submit,.find-form button{background:#c6bcff!important;color:#28233d!important;border-color:#c6bcff!important;box-shadow:0 9px 24px rgba(198,188,255,.42)!important}
.btn-primary:hover,.copy-primary:hover,.rating-submit:hover,.find-form button:hover{background:#b9adff!important;color:#211c33!important;border-color:#b9adff!important}
.footer-brand .brand{min-width:170px;width:170px;height:54px}.footer-brand .brand img{width:170px;height:54px;max-height:54px}

/* V10 contact / trust-page polish */
.contact-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:start}
.contact-card{background:#fff;border:1px solid #e4e0ef;border-radius:22px;padding:24px;box-shadow:0 18px 50px rgba(33,25,67,.07)}
.contact-card .card-head h2{margin:.25rem 0 1.2rem}.contact-card .form-field{margin-bottom:14px}.contact-card label{display:block;font-weight:700;font-size:13px;margin-bottom:6px}.contact-card input,.contact-card textarea{width:100%;box-sizing:border-box;border:1px solid #ddd9e8;border-radius:12px;padding:11px 12px;font:inherit;background:#fff}.contact-card input:focus,.contact-card textarea:focus{outline:0;border-color:#a99cff;box-shadow:0 0 0 3px rgba(198,188,255,.3)}.contact-email{font-size:13px;color:var(--muted);margin-top:15px}.honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
@media(max-width:850px){.contact-layout{grid-template-columns:1fr}}

/* V10 media rules: wide feature images + 4:5 cards */
.blog-card-image{aspect-ratio:4/5!important}
.blog-card-image img{aspect-ratio:4/5;object-fit:cover}
.site-header .brand{height:58px!important;overflow:visible!important}
.site-header .brand img{width:170px!important;height:54px!important;max-height:54px!important;object-fit:contain!important}
/* V10 responsive brand + footer corrections */
.site-header .brand{width:158px!important;min-width:158px!important;height:54px!important;display:flex!important;align-items:center!important;overflow:hidden!important}
.site-header .brand img{width:150px!important;height:48px!important;max-height:48px!important;object-fit:contain!important;object-position:left center!important}
.site-footer .brand{width:158px!important;min-width:158px!important;height:54px!important;overflow:hidden!important}
.site-footer .brand img{width:150px!important;height:48px!important;max-height:48px!important;object-fit:contain!important}
@media(max-width:760px){.site-header .brand{width:132px!important;min-width:132px!important;height:48px!important}.site-header .brand img{width:126px!important;height:43px!important;max-height:43px!important}.site-footer .brand{width:132px!important;min-width:132px!important;height:48px!important}.site-footer .brand img{width:126px!important;height:43px!important;max-height:43px!important}.site-footer .footer-grid{grid-template-columns:1fr 1fr!important;gap:24px 18px!important}.site-footer .footer-brand{grid-column:1/-1!important}.site-footer .footer-grid>div:not(.footer-brand){min-width:0}.site-footer .footer-grid>div>a:not(.brand){font-size:10px;margin:7px 0}.site-footer .footer-bottom{display:flex!important;flex-direction:column;gap:8px;align-items:flex-start}.site-footer .footer-bottom>div{margin-top:0}.site-footer{padding:38px 0 18px}.site-footer .footer-brand p{max-width:100%;font-size:10px;line-height:1.65}}
