/* Promptesy V9 prompt page finishing layer */
.prompt-page-v8 .detail-heading-v8{margin-bottom:22px}
.prompt-page-v8 .detail-heading-v8 h1{font-size:clamp(38px,4.5vw,58px)}
.detail-prompt-head-v8{background:#fff}
.detail-prompt-head-v8>div{min-width:0}
.detail-prompt-head-v8 small{font-size:10px;line-height:1.45}
.detail-prompt-tools button{min-width:112px}
.detail-prompt-tools button:first-child{min-width:88px}
.engagement-card-v8{display:grid;gap:12px}
.engagement-top-v8{padding-bottom:12px;border-bottom:1px solid var(--line)}
.rating-summary-v8 strong{color:var(--ink);font-size:11px}
.rating-stars button{position:relative}
.rating-stars button.active .ui-icon,.rating-stars button:hover .ui-icon{fill:currentColor}
.rating-submit{display:inline-flex!important;align-items:center;justify-content:center;width:100%;font-weight:850!important}
.share-row-v8{border-top:0;margin-top:0;padding-top:0}
.sidebar-ad-card .sidebar-card-title,.related-side-card .sidebar-card-title{background:#fbfaff}
.related-side-item{transition:background .2s,transform .2s}
.related-side-item:hover{transform:translateX(3px)}
.community-section-v8{margin-top:26px}
@media(max-width:760px){.prompt-page-v8 .detail-heading-v8 h1{font-size:34px}.detail-prompt-head-v8{flex-direction:column}.copy-primary{width:100%}.detail-prompt-tools button{flex:1}.rating-stars{justify-content:space-between}.rating-stars button{flex:1}}
/* V10 image system: prompt detail always uses the uploaded 4:5 thumbnail. */
.detail-image-wrap-v8{max-width:760px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}
.detail-image-wrap-v8 img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center;max-height:none}
@media(max-width:760px){.detail-image-wrap-v8{width:100%;max-width:100%;border-radius:16px}.detail-image-wrap-v8 img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}.prompt-page-v8{overflow-x:clip}.detail-workspace-v8,.detail-main-v8,.detail-side-v8{min-width:0;width:100%}.detail-prompt-tools{display:grid;grid-template-columns:1fr 1fr}.detail-prompt-tools button{width:100%;min-width:0!important;min-height:42px}.detail-prompt-head-v8{display:flex;gap:10px}.copy-primary{min-width:0;white-space:nowrap}.rating-stars{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.rating-stars button{width:100%;min-width:0}.engagement-card-v8{overflow:hidden}}
