:root{--bg:#07080b;--panel:#101219;--text:#f5f7fb;--muted:#9ba3b4;--line:#272b38;--a:#8b5cf6;--a2:#22d3ee}*{box-sizing:border-box}body{margin:0;color:var(--text);background:radial-gradient(circle at 15% -10%,#24153f,#07080b 38%);font-family:Inter,system-ui,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:#c4b5fd}.topbar{height:70px;padding:0 5vw;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:9;background:#07080bd9;backdrop-filter:blur(18px)}.brand{font-size:21px;font-weight:900}.brand span{color:#a78bfa}.topbar nav{display:flex;gap:18px;align-items:center;color:#c7cad4;font-size:13px}.nav-cta,.btn.primary{background:linear-gradient(135deg,var(--a),#6366f1);color:#fff;border:0;box-shadow:0 10px 30px #7c3aed33}.hero{padding:80px 20px 65px;border-bottom:1px solid var(--line)}.hero-inner{max-width:1100px;margin:auto}.eyebrow{font-size:11px;letter-spacing:2.5px;color:#a78bfa;font-weight:900}.hero h1{font-size:clamp(42px,7vw,82px);line-height:.98;letter-spacing:-4px;margin:12px 0 22px}.hero h1 em{font-style:normal;background:linear-gradient(90deg,#c4b5fd,#67e8f9);color:transparent;background-clip:text}.hero p,.lead{color:var(--muted)}.searchbar{display:flex;max-width:800px;margin:28px 0 16px}.searchbar input{flex:1}.searchbar button{background:white;color:#08090c;border:0;padding:0 25px;border-radius:0 11px 11px 0;font-weight:900}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters select{width:auto;min-width:150px}.container{max-width:1150px;margin:auto;padding:50px 20px}.narrow{max-width:900px}.section-head,.dash-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.section-head h1,.section-head h2,.dash-title h1{margin:0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid.two{grid-template-columns:repeat(2,1fr)}.prompt-card,.panel,.prompt-detail{background:linear-gradient(180deg,#12151d,#0e1016);border:1px solid var(--line);border-radius:17px;padding:21px}.prompt-card{min-height:260px;display:flex;flex-direction:column}.card-top{display:flex;justify-content:space-between}.tag,.chips span{background:#151821;border:1px solid var(--line);border-radius:999px;padding:5px 9px;font-size:11px;color:#c3c8d5}.muted{font-size:12px;color:var(--muted)}.prompt-card h3{font-size:19px;line-height:1.25;margin:17px 0 9px}.prompt-card p{font-size:13px;color:var(--muted)}.creator{display:flex;gap:9px;align-items:center;margin-top:auto;padding:14px 0;font-size:12px}.creator .muted{margin-left:auto}.avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#06b6d4);font-weight:900}.copy-btn{width:100%;padding:10px;border-radius:10px;background:#191c25;border:1px solid #343846;color:white;font-weight:800;cursor:pointer}.copy-btn:hover{background:#242936}.btn{display:inline-block;padding:10px 14px;border-radius:10px;border:1px solid #343846;background:#181b23;color:#fff;font-weight:800;cursor:pointer}.btn.small{padding:6px 9px;font-size:11px}.btn.danger{color:#fca5a5;border-color:#5b252a}.btn.active{border-color:#a78bfa;color:#c4b5fd}.auth-bg{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{width:min(470px,100%);padding:35px;border:1px solid var(--line);border-radius:20px;background:#101219;box-shadow:0 30px 100px #0008}.auth-card h1{font-size:34px;line-height:1.1}label{display:block;font-size:12px;font-weight:800;color:#d8dbe3;margin:12px 0}input,textarea,select{width:100%;padding:12px;background:#090b10;border:1px solid #303441;color:#fff;border-radius:10px;outline:none;font:inherit}select{cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}.full-row{grid-column:1/-1}.full{width:100%;margin-top:12px}.alert{padding:12px 14px;border-radius:10px;border:1px solid var(--line);margin:12px 0}.alert.error{background:#2a1115;color:#fda4af}.alert.success{background:#0c2519;color:#86efac}.center{text-align:center}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:24px 0}.stats>div{padding:18px;border:1px solid var(--line);background:#11131a;border-radius:14px}.stats b{display:block;font-size:26px}.stats span{font-size:11px;color:var(--muted)}.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:collapse}.table-wrap th,.table-wrap td{padding:12px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;font-size:12px}.table-wrap th{color:#8f96a7;text-transform:uppercase;font-size:10px;letter-spacing:1px}.inline{display:inline}.inline-form{display:flex;gap:8px}.inline-form input{flex:1}.prompt-detail h1{font-size:48px;line-height:1.04;letter-spacing:-2px}.prompt-box{background:#080a0f;border:1px solid #2c303d;border-radius:13px;overflow:hidden;margin:25px 0}.prompt-box-head{display:flex;justify-content:space-between;padding:11px 14px;border-bottom:1px solid #2c303d;color:#aeb4c2;font-size:12px}.prompt-box-head .copy-btn{width:auto}.prompt-box pre{white-space:pre-wrap;word-break:break-word;margin:0;padding:20px;font:14px/1.7 ui-monospace,monospace}.action-row{display:flex;gap:8px;flex-wrap:wrap}.chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.profile-hero{padding:70px 20px;border-bottom:1px solid var(--line);background:radial-gradient(circle at 50% 0,#21153d,#07080b 62%)}.profile-wrap{max-width:950px;margin:auto;display:flex;gap:28px;align-items:center}.profile-photo{width:125px;height:125px;object-fit:cover;border-radius:50%;border:4px solid #2b2340}.placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#0891b2);font-size:45px;font-weight:900}.profile-wrap h1{font-size:50px;line-height:1;margin:8px 0}.socials{display:flex;gap:12px;flex-wrap:wrap;align-items:center;color:#c4b5fd;font-size:12px}.pagination{display:flex;gap:7px;justify-content:center;margin-top:28px}.pagination a{border:1px solid var(--line);padding:8px 12px;border-radius:8px}.pagination a.active{background:#7c3aed;border-color:#7c3aed}.empty{padding:60px;text-align:center;border:1px dashed #343846;border-radius:16px;color:var(--muted)}footer{border-top:1px solid var(--line);padding:38px 5vw;display:flex;justify-content:space-between;color:var(--muted)}.footer-create{color:#c4b5fd;font-weight:800}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.grid,.grid.two,.form-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.profile-wrap{flex-direction:column;align-items:flex-start}.profile-wrap h1{font-size:40px}.prompt-detail h1{font-size:36px}.topbar{padding:0 18px}.topbar nav a:not(.nav-cta){display:none}footer{flex-direction:column;gap:15px}}
.prompt-thumb{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin:-2px 0 16px;border:1px solid var(--line)}.prompt-thumb-preview{width:min(100%,520px);aspect-ratio:16/9;object-fit:cover;border-radius:12px;border:1px solid var(--line);display:block;margin:8px 0 4px}.prompt-detail-thumb{width:100%;max-height:520px;object-fit:cover;border-radius:14px;margin:18px 0;border:1px solid var(--line)}.creator-search{display:flex;gap:0;max-width:900px;margin:0 0 12px}.creator-search input{border-radius:11px 0 0 11px}.creator-search button{border-radius:0 11px 11px 0}.creator-filters{margin-bottom:24px}.loading{opacity:.55;pointer-events:none}.prompt-card{overflow:hidden}.prompt-card .prompt-thumb{margin-top:-21px;margin-left:-21px;width:calc(100% + 42px);max-width:none;border-radius:17px 17px 0 0;border-left:0;border-right:0;border-top:0}.creator-prompt-grid .prompt-card{min-height:0}@media(max-width:600px){.creator-search{width:100%}.creator-search button{padding:10px 14px}}
/* V3.7 public creator layout */
.creator-prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.creator-prompt-grid .prompt-card{padding:0;min-height:0;overflow:hidden}
.creator-prompt-grid .thumb-wrap{position:relative;width:100%;aspect-ratio:16/9;background:linear-gradient(135deg,#151827,#0b0d13);overflow:hidden;border-bottom:1px solid var(--line)}
.creator-prompt-grid .prompt-thumb{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;margin:0;border:0;border-radius:0}
.creator-prompt-grid .thumb-fallback{display:grid;place-items:center;width:100%;height:100%;background:radial-gradient(circle at 30% 20%,#3b1c69,#11131b 60%)}
.thumb-fallback-text{font-size:clamp(18px,3vw,28px);font-weight:900;letter-spacing:2px;color:#c4b5fd;text-transform:uppercase}
.creator-prompt-grid .card-content{padding:18px}
.creator-prompt-grid .prompt-card h3{margin:15px 0 8px;font-size:18px}
.creator-prompt-grid .prompt-card p{margin:0 0 16px;min-height:42px}
.creator-prompt-grid .copy-btn{margin-top:auto;border-color:#49349b;background:#11131b}
.creator-prompt-grid .copy-btn:hover{background:#1a1730;border-color:#8b5cf6}
@media(max-width:760px){.creator-prompt-grid{grid-template-columns:1fr;gap:18px}.creator-prompt-grid .prompt-card{border-radius:15px}.creator-prompt-grid .thumb-wrap{aspect-ratio:16/9}}

/* V3.8 prompt detail / engagement layout */
.prompt-detail-page{max-width:920px;padding-top:26px;padding-bottom:55px}.prompt-detail-v38{padding:22px}.detail-thumb-wrap{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:14px;background:#0b0d13;border:1px solid var(--line);margin-bottom:18px}.prompt-detail-thumb-v38{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover}.detail-thumb-wrap .thumb-fallback-text{position:absolute;inset:0;display:grid;place-items:center}.detail-description{color:var(--muted);margin:0 0 12px}.creator.large{margin:6px 0 20px;font-size:14px}.creator.large .avatar{width:34px;height:34px}.detail-actions{margin-top:4px}.like-btn.active{border-color:#8b5cf6;background:#171329;color:#fda4af}.engagement-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:22px;padding:18px 10px;border:1px solid var(--line);border-radius:14px;background:#080a0f}.engagement-stats>div{text-align:center;border-right:1px solid var(--line)}.engagement-stats>div:last-child{border-right:0}.engagement-stats b{display:block;font-size:20px}.engagement-stats span{font-size:12px;color:var(--muted)}.prompt-navigation{display:flex;justify-content:space-between;gap:20px;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}.prompt-navigation a{color:#a78bfa;font-weight:800}.prompt-navigation a:hover{color:#c4b5fd}@media(max-width:600px){.prompt-detail-v38{padding:14px}.engagement-stats{grid-template-columns:1fr 1fr 1fr;padding:14px 4px}.prompt-navigation{font-size:13px}.detail-thumb-wrap{border-radius:11px}}
/* V3.9.1 mobile-safe prompt detail media */
.prompt-detail-page,.prompt-detail-v38{min-width:0;overflow:hidden}
.detail-thumb-wrap{width:100%;max-width:100%;aspect-ratio:16/9;overflow:hidden;box-sizing:border-box}
.prompt-detail-thumb-v38{display:block;width:100%;max-width:100%;height:100%;min-width:0;object-fit:cover;box-sizing:border-box}
@media(max-width:600px){
  .prompt-detail-page{padding-left:12px;padding-right:12px;overflow:hidden}
  .prompt-detail-v38{width:100%;max-width:100%;padding:12px;overflow:hidden}
  .detail-thumb-wrap{width:100%;max-width:100%;aspect-ratio:16/9;margin-left:0;margin-right:0;border-radius:10px}
  .prompt-detail-thumb-v38{width:100%;max-width:100%;height:100%;object-fit:cover}
  .prompt-detail-page .prompt-box,.prompt-detail-page .prompt-box pre{max-width:100%;min-width:0}
}

.follower-card{display:flex;align-items:center;justify-content:space-between;gap:16px}.follow-btn.active{border-color:#8b5cf6;background:#171329;color:#c4b5fd}@media(max-width:600px){.follower-card{align-items:flex-start;flex-direction:column;width:100%}}
.analytics-bars{height:220px;display:flex;align-items:end;gap:4px;overflow-x:auto;padding:10px 4px 0;border-top:1px solid var(--line)}
.analytics-bar-wrap{min-width:18px;height:205px;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:4px}
.analytics-bar{width:14px;min-height:4px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#8b5cf6,#22d3ee)}
.analytics-bar-wrap small{font-size:9px;color:var(--muted)}
.prompt-detail-page,.prompt-detail-v38{min-width:0;overflow:hidden}
.detail-thumb-wrap{width:100%;max-width:100%;aspect-ratio:16/9;overflow:hidden;box-sizing:border-box}
.prompt-detail-thumb-v38{display:block;width:100%;max-width:100%;height:100%;min-width:0;object-fit:cover;box-sizing:border-box}
@media(max-width:600px){html,body{max-width:100%;overflow-x:hidden}.prompt-detail-page{width:100%;padding-left:12px;padding-right:12px;overflow:hidden}.prompt-detail-v38{width:100%;max-width:100%;padding:12px;overflow:hidden}.detail-thumb-wrap{width:100%;max-width:100%;aspect-ratio:16/9;margin-left:0;margin-right:0}.prompt-detail-thumb-v38{width:100%;max-width:100%;height:100%;object-fit:cover}.prompt-detail-page .prompt-box,.prompt-detail-page .prompt-box pre{max-width:100%;min-width:0}}

/* V3.9.2.1 HARD mobile detail image containment */
html,body{max-width:100%;overflow-x:hidden}
.prompt-detail-page{width:100%;max-width:920px;min-width:0;overflow:hidden}
.prompt-detail-v38{width:100%;max-width:100%;min-width:0;overflow:hidden}
.detail-thumb-wrap{width:100% !important;max-width:100% !important;min-width:0 !important;aspect-ratio:16/9 !important;overflow:hidden !important;box-sizing:border-box !important;position:relative}
.detail-thumb-wrap img.prompt-detail-thumb-v38{display:block;width:100% !important;max-width:100% !important;min-width:0 !important;height:100% !important;object-fit:cover !important;box-sizing:border-box !important}
@media(max-width:600px){.container.prompt-detail-page{width:100%;max-width:100%;padding-left:12px;padding-right:12px;overflow:hidden}.prompt-detail-v38{width:100%;max-width:100%;padding:12px;overflow:hidden}.detail-thumb-wrap{width:100% !important;max-width:100% !important;aspect-ratio:16/9 !important}.detail-thumb-wrap img.prompt-detail-thumb-v38{width:100% !important;max-width:100% !important;height:100% !important;object-fit:cover !important}}

/* V3.9.4 Verified Creator badge */
.verified-badge{display:inline-grid;place-items:center;width:20px;height:20px;margin-left:8px;border-radius:50%;background:#3b82f6;color:#fff;font-size:12px;font-weight:900;vertical-align:middle;box-shadow:0 0 0 2px #0e1016}.verified-badge.small{width:17px;height:17px;font-size:10px;margin-left:5px;box-shadow:none}.verified-badge:hover{filter:brightness(1.1)}

/* V3.9.12.1 mobile login layout fix */
@media(max-width:600px){.login-page{padding:12px}.login-page .auth-card{width:100%;max-width:470px;padding:28px 24px;border-radius:18px}.login-page .auth-card h1{font-size:36px;margin:18px 0 22px}.login-page .auth-card label{font-size:12px;margin:14px 0}.login-page .auth-card input{min-height:48px}.login-page .auth-card .btn.full{min-height:46px;font-size:14px}.login-page .auth-card .center{font-size:14px}}


/* V3.9.12.1 PromptLine premium responsive homepage */
.brand{letter-spacing:-.4px}
.hero-inner{max-width:1080px}
.hero h1{max-width:900px;text-wrap:balance}
.searchbar{width:100%;max-width:900px;gap:0}
.searchbar input{min-width:0;height:58px;border-radius:14px 0 0 14px;padding-left:18px}
.searchbar button{min-width:140px;height:58px;border-radius:0 14px 14px 0;font-size:14px}
.filters{gap:12px}
.filters select{min-height:52px}
@media(max-width:600px){
  .hero{padding:58px 18px 52px}
  .hero-inner{width:100%}
  .eyebrow{font-size:10px;letter-spacing:2px;line-height:1.5}
  .hero h1{font-size:clamp(42px,12vw,58px);line-height:1.04;letter-spacing:-2.6px;margin:18px 0 26px;max-width:100%;text-wrap:balance}
  .hero h1 br{display:block}
  .hero p{font-size:15px;line-height:1.7;margin:0 0 24px}
  .searchbar{display:grid;grid-template-columns:1fr;gap:10px;margin:26px 0 18px;max-width:none}
  .searchbar input{height:54px;border-radius:13px;padding:0 16px;font-size:15px}
  .searchbar button{height:52px;border-radius:13px;width:100%;min-width:0;font-size:15px}
  .filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .filters select{width:100%;min-width:0;min-height:52px;font-size:14px;padding:10px 12px}
  .filters select:last-child{grid-column:1/-1}
  .container{padding:42px 18px}
  .section-head{align-items:flex-end;margin-bottom:18px}
  .section-head h2{font-size:28px;line-height:1.1}
}
@media(min-width:601px){.hero h1{font-size:clamp(48px,6.8vw,82px)}}

/* V3.9.12.1 merged V3.9.7 support + homepage thumbnails */
.home-thumb{display:block;width:100%;aspect-ratio:16/9;border-radius:13px;overflow:hidden;background:#171a22;border:1px solid var(--line);margin-bottom:14px}.home-thumb img{display:block;width:100%;height:100%;object-fit:cover}.home-thumb-fallback{height:100%;display:grid;place-items:center;color:#a78bfa;font-weight:900;letter-spacing:1px}.detail-creator{justify-content:space-between;align-items:center}.creator-main,.follow-wrap{display:flex;align-items:center;gap:9px}.follow-wrap{margin-left:auto}.support-list{margin-top:18px}.support-item{padding:16px 0;border-bottom:1px solid var(--line)}.support-item:last-child{border-bottom:0}.support-status{display:inline-block;margin-left:8px;padding:3px 8px;border-radius:999px;font-size:10px;text-transform:capitalize;background:#171a22;color:#c4b5fd;border:1px solid var(--line)}.support-status.resolved{color:#86efac}.support-status.closed{color:#9ca3af}.support-status.in_progress{color:#67e8f9}.admin-reply{margin-top:12px;padding:12px;border-left:3px solid var(--a);background:#0d1017;border-radius:8px}.support-admin-grid{display:grid;gap:16px}.user-meta{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:8px 0 14px}.support-admin-item form{margin-top:14px}.@media(max-width:600px){.detail-creator{align-items:flex-start;flex-direction:column}.follow-wrap{margin-left:0;width:100%;justify-content:space-between}.home-thumb{margin-bottom:12px}.auth-card{width:100%;max-width:470px}}

/* V3.9.12.1 requested responsive/premium fixes */
.nav-cta{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 16px;border-radius:10px;line-height:1;white-space:nowrap;font-weight:800}
.prompt-image-link{display:block;position:relative;cursor:pointer}
.prompt-image-link:hover img{transform:scale(1.015)}
.prompt-image-link img{transition:transform .2s ease}
.follow-wrap{gap:12px}
.follow-btn{min-width:100px;text-align:center}
.follower-count{font-variant-numeric:tabular-nums}
@media(max-width:600px){
  .topbar{min-height:68px;height:auto;padding:12px 14px;gap:10px}
  .topbar nav{gap:8px;flex-wrap:wrap;justify-content:flex-end}
  .topbar nav a{font-size:12px}
  .topbar nav a:not(.nav-cta){display:inline-flex}
  .topbar .nav-cta{min-height:40px;padding:10px 14px}
  .login-page{min-height:100svh;padding:18px 14px;place-items:center}
  .login-page .auth-card{width:100%;max-width:none;padding:30px 22px;border-radius:18px}
  .login-page .auth-card .brand{font-size:20px}
  .login-page .auth-card h1{font-size:32px;line-height:1.12;margin:18px 0 24px}
  .login-page .auth-card label{margin:14px 0;font-size:12px}
  .login-page .auth-card input{height:52px;min-height:52px}
  .login-page .auth-card .btn.full{height:50px;min-height:50px;font-size:14px}
  .login-page .auth-card .center{font-size:14px;line-height:1.7}
  .detail-creator .follow-wrap{width:100%;display:flex;align-items:center;justify-content:space-between}
}
@media(min-width:601px){.topbar .nav-cta{min-width:108px}}

/* V3.9.12.1 premium CTA, login viewport, support, video */
.site-logo{display:block;max-height:34px;max-width:180px;width:auto;object-fit:contain}.footer-actions{display:flex;align-items:center;gap:14px}.footer-actions>a:first-child{color:#c4b5fd;font-weight:800}.setup-video-action{margin:8px 0 18px}.setup-video-action .btn{display:inline-flex;align-items:center;gap:8px}.prompt-card .home-thumb{flex:none}.nav-cta{background:linear-gradient(135deg,#8b5cf6 0%,#6366f1 55%,#22d3ee 140%);border:1px solid #a78bfa66;box-shadow:0 8px 24px #7c3aed44;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.nav-cta:hover{color:#fff;transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 12px 30px #7c3aed66}.form-grid hr{grid-column:1/-1;width:100%;border:0;border-top:1px solid var(--line);margin:8px 0}.form-grid h2{grid-column:1/-1;margin:4px 0}.prompt-image-link{cursor:pointer}.prompt-image-link:hover img{transform:scale(1.02)}@media(max-width:600px){.footer-actions{width:100%;justify-content:space-between}.topbar .nav-cta{min-width:112px}.login-page .auth-card{width:100%;max-width:100%;padding:34px 24px}.login-page .auth-card h1{font-size:36px}.login-page .auth-card input{height:54px;min-height:54px}.login-page .auth-card .btn.full{height:52px;min-height:52px}.setup-video-action .btn{width:100%;justify-content:center}.site-logo{max-width:145px;max-height:30px}}

/* V3.9.12 branding upload UI */
.branding-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:14px 0 22px}.branding-upload-card{border:1px solid var(--line);background:#0b0d13;border-radius:14px;padding:16px}.branding-upload-card input[type=file]{padding:10px}.asset-preview{margin-top:12px;padding:12px;border:1px dashed #343846;border-radius:10px;background:#080a0f;min-height:70px;display:flex;align-items:center}.asset-preview img{max-width:220px;max-height:70px;object-fit:contain}.favicon-preview{margin-top:12px;padding:12px;border:1px dashed #343846;border-radius:10px;background:#080a0f;width:72px;height:72px;display:grid;place-items:center}.favicon-preview img{width:40px;height:40px;object-fit:contain}@media(max-width:600px){.branding-upload-grid{grid-template-columns:1fr}}

/* V3.9.14 premium UI + share + upload feedback */
:root{--bg:#06070b;--panel:#10131c;--text:#f8fafc;--muted:#a6afc0;--line:#2a3040;--a:#9b6cff;--a2:#38d5ff;--gold:#f4c76a}
.topbar{background:linear-gradient(180deg,rgba(18,20,31,.98),rgba(11,13,20,.96));border-bottom:1px solid #303548;box-shadow:0 10px 35px rgba(0,0,0,.25)}
.topbar nav a{padding:9px 13px;border:1px solid #303548;border-radius:10px;background:#151925;color:#e8ebf3;font-weight:800;transition:.18s ease}
.topbar nav a:hover{background:#211d34;border-color:#6951b5;transform:translateY(-1px)}
.topbar nav a.nav-cta{background:linear-gradient(135deg,#8b5cf6,#4f46e5);border-color:#a78bfa;color:#fff;box-shadow:0 8px 22px rgba(124,58,237,.25)}
.card-actions{display:flex;gap:8px;align-items:stretch;margin-top:auto}.card-actions .copy-btn{flex:1}.card-actions .share-btn{min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:6px}.share-btn::before{content:none !important;display:none !important}.card-actions .share-btn{flex:1}.prompt-box-actions .share-btn{min-width:0}
.prompt-box-actions{display:flex;gap:7px;align-items:center}.prompt-box-actions .copy-btn{width:auto}.prompt-box-actions .share-btn{white-space:nowrap}
.file-status{display:block;margin-top:7px;font-size:12px;color:#a78bfa;word-break:break-word}.current-file{color:#86efac}
.filters{display:none!important}
@media(max-width:600px){.topbar nav a{padding:8px 10px}.topbar nav a:not(.nav-cta):not(:last-child){display:none}.card-actions{gap:7px}.prompt-box-actions{flex-wrap:wrap}.prompt-box-actions .copy-btn,.prompt-box-actions .share-btn{width:auto}.prompt-box-actions .share-btn{min-width:72px}.auth-card{width:100%;max-width:470px}}

/* V3.9.14: consistent share buttons and success popups */
.success-toast{position:fixed;right:20px;top:20px;z-index:9999;min-width:260px;max-width:calc(100vw - 40px);padding:13px 16px;border:1px solid #2f6f4a;border-radius:12px;background:#0c2519;color:#86efac;box-shadow:0 18px 50px #0009;font-weight:800}
.profile-editor-photo{width:96px;height:96px;object-fit:cover;border-radius:16px;border:2px solid #3a3155;display:block;margin:0 0 10px}
.complete-profile-modal{position:fixed;inset:0;display:grid;place-items:center;background:#000b;z-index:9998;padding:20px}
.complete-profile-modal .modal-card{width:min(440px,100%);padding:28px;border:1px solid var(--line);border-radius:18px;background:#101219;box-shadow:0 30px 100px #0009}
.complete-profile-modal .modal-actions{display:flex;gap:10px;margin-top:18px}
.complete-profile-modal .modal-actions .btn{flex:1;text-align:center}
@media(max-width:600px){.success-toast{left:16px;right:16px;top:16px;min-width:0}.complete-profile-modal .modal-actions{flex-direction:column}}

.prompt-box-actions .copy-btn,.prompt-box-actions .share-btn{flex:1;min-width:0;height:40px}


/* V3.9.14.1 responsive navigation */
.topbar nav { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.topbar nav > a, .topbar .nav-dropdown > summary {
  display:inline-flex; align-items:center; justify-content:center; min-height:42px;
  padding:0 15px; border-radius:12px; text-decoration:none; cursor:pointer;
  border:1px solid rgba(255,255,255,.10); background:rgba(255,255,255,.045);
  color:inherit; font-weight:600; box-sizing:border-box;
}
.topbar nav > a:hover, .topbar .nav-dropdown > summary:hover { background:rgba(255,255,255,.09); }
.topbar nav > a.nav-cta { background:linear-gradient(135deg,#6d5dfc,#8f6bff); border-color:transparent; color:#fff; }
.nav-dropdown { position:relative; }
.nav-dropdown > summary { list-style:none; }
.nav-dropdown > summary::-webkit-details-marker { display:none; }
.nav-dropdown > summary::after { content:"⌄"; margin-left:7px; font-size:12px; opacity:.8; }
.nav-dropdown[open] > summary::after { content:"⌃"; }
.nav-dropdown-menu {
  position:absolute; top:calc(100% + 8px); right:0; min-width:190px; z-index:1000;
  padding:8px; border:1px solid rgba(255,255,255,.10); border-radius:14px;
  background:rgba(18,18,25,.98); box-shadow:0 18px 50px rgba(0,0,0,.35);
}
.nav-dropdown-menu a { display:flex !important; width:100%; min-height:40px !important; justify-content:flex-start !important; border:0 !important; background:transparent !important; }
.nav-dropdown-menu a:hover { background:rgba(255,255,255,.08) !important; }
@media (max-width: 900px) {
  .topbar { gap:10px; }
  .topbar nav { gap:7px; }
  .topbar nav > a, .topbar .nav-dropdown > summary { min-height:40px; padding:0 12px; }
}
@media (max-width: 640px) {
  .topbar { align-items:center; }
  .topbar nav { flex:1; justify-content:flex-end; }
  .topbar nav > a, .topbar .nav-dropdown > summary { min-height:38px; padding:0 10px; font-size:13px; }
  .nav-dropdown-menu { right:0; min-width:180px; }
}


/* V3.9.14.2: unified Copy Prompt + Share button design */
.copy-btn, .share-btn {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  box-sizing:border-box !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  vertical-align:middle;
}
.copy-btn .btn-icon, .share-btn .btn-icon {
  width:17px !important;
  height:17px !important;
  flex:0 0 17px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.8 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.copy-btn .btn-label, .share-btn .btn-label {
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  line-height:1.1 !important;
}
.card-actions .copy-btn, .card-actions .share-btn {
  flex:1 1 0 !important;
  width:0 !important;
  min-height:42px !important;
}
.prompt-box-actions .copy-btn, .prompt-box-actions .share-btn {
  flex:1 1 0 !important;
  width:0 !important;
  min-height:40px !important;
}
.detail-actions .share-btn {
  width:auto !important;
  flex:0 0 auto !important;
}
@media (max-width:640px) {
  .card-actions {gap:7px !important;}
  .card-actions .copy-btn, .card-actions .share-btn {min-height:40px !important; padding-left:10px !important; padding-right:10px !important;}
  .prompt-box-actions {width:100%;}
  .prompt-box-actions .copy-btn, .prompt-box-actions .share-btn {min-width:0 !important; padding-left:10px !important; padding-right:10px !important;}
}

/* V3.9.17 creator profile customization */
.profile-centered{display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px}.profile-data-center{width:100%;display:flex;flex-direction:column;align-items:center}.profile-data-center p{max-width:760px}.profile-links{justify-content:center}.profile-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#11131a;color:#c4b5fd;white-space:nowrap}.profile-link:hover{border-color:#8b5cf6;background:#171327;color:#fff}.profile-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.custom-links-editor{border-top:1px solid var(--line);padding-top:18px}.custom-links-editor h2{margin:0 0 4px}.custom-link-row{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#0d0f15}.custom-link-row label{margin:0}.custom-link-row .btn{margin-bottom:0;height:44px;white-space:nowrap}@media(max-width:600px){.custom-link-row{grid-template-columns:1fr}.custom-link-row .btn{width:100%}.profile-link{max-width:100%}}


/* V3.9.17 Ads */
.ad-slot{width:100%;max-width:100%;box-sizing:border-box;margin:24px auto;padding:8px 0;overflow:hidden;text-align:center;min-height:0}.ad-slot ins{max-width:100%}.ad-slot iframe{max-width:100%;border:0}.ad-slot:empty{display:none}@media(max-width:640px){.ad-slot{margin:18px auto;padding:4px 0}}

/* V3.9.17 final prompt-card + auth controls */
:root{--nav-bg:#0b0d14;--card-bg:var(--panel);--input-bg:#090b10;--dropdown-bg:#121219;--button-bg:#181b23;--button-text:#fff;--border:var(--line)}
.topbar{background:var(--nav-bg);border-color:var(--border)}
.prompt-card{background:var(--card-bg);border-color:var(--border)}
.prompt-card .creator{font-size:14px;gap:10px}
.prompt-card .creator>a{font-size:14px;font-weight:800}
.creator-card-user{margin-top:8px;margin-bottom:4px;padding:6px 0}
.copy-btn,.share-btn{background:var(--button-bg)!important;color:var(--button-text)!important;border-color:var(--border)!important}
input,textarea,select{background:var(--input-bg);border-color:var(--border)}
.nav-dropdown-menu{background:var(--dropdown-bg);border-color:var(--border)}
.manual-ad{padding:10px 0}
.password-field{position:relative;width:100%}
.password-field input{padding-right:48px!important}
.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0!important;background:transparent!important;color:#aeb5c5!important;display:grid;place-items:center;cursor:pointer;padding:0!important;border-radius:8px!important;box-shadow:none!important}
.password-toggle:hover{background:rgba(255,255,255,.07)!important;color:#fff!important}
.password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.prompt-card .creator,.prompt-card .creator>a{font-size:14px}.password-toggle{right:6px}}
/* V3.9.17 admin theme variable application */
body{background:var(--bg)!important;color:var(--text)}
.prompt-card,.panel,.prompt-detail,.auth-card{background:var(--card-bg)!important;border-color:var(--border)!important}
.prompt-box{background:var(--input-bg)!important;border-color:var(--border)!important}
.topbar{background:var(--nav-bg)!important;border-color:var(--border)!important}
.tag,.chips span{background:var(--button-bg);border-color:var(--border);color:var(--text)}
.btn{background:var(--button-bg);color:var(--button-text);border-color:var(--border)}
.btn.primary,.nav-cta{background:linear-gradient(135deg,var(--a),#6366f1)!important;color:var(--button-text)!important}
.hero{background:var(--bg)}


/* V3.9.19 unified prompt thumbnail design + View Page hover */
.prompt-card{overflow:hidden}
.prompt-card .home-thumb,
.prompt-card .thumb-wrap{
  display:block;
  width:calc(100% + 42px);
  max-width:none;
  aspect-ratio:16/9;
  margin:-21px -21px 16px;
  border:0;
  border-radius:17px 17px 0 0;
  overflow:hidden;
  background:#0b0d13;
  position:relative;
}
.prompt-card .home-thumb img,
.prompt-card .thumb-wrap img,
.prompt-card .prompt-thumb{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border:0;
  border-radius:0;
  margin:0;
  transition:transform .22s ease,filter .22s ease;
  transform:scale(1);
}
.prompt-card .home-thumb:hover img,
.prompt-card .thumb-wrap:hover img,
.prompt-card .prompt-image-link:hover img{
  transform:scale(1.02);
  filter:brightness(1.04);
}
.prompt-card .home-thumb-fallback,
.prompt-card .thumb-fallback{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
}
.creator-prompt-grid .prompt-card .thumb-wrap{margin:-21px -21px 0;width:calc(100% + 42px);border-radius:17px 17px 0 0;border:0}
.creator-prompt-grid .prompt-card .card-content{padding:18px}
@media(max-width:760px){
  .prompt-card .home-thumb,
  .prompt-card .thumb-wrap{margin:-21px -21px 16px;width:calc(100% + 42px);border-radius:15px 15px 0 0}
  .creator-prompt-grid .prompt-card .thumb-wrap{margin:-21px -21px 0;width:calc(100% + 42px);border-radius:15px 15px 0 0}
}


/* V3.9.28 premium Important Instructions footer menu */
.footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.footer-instruction-dropdown{position:relative;display:inline-block;order:3;flex:0 0 100%;margin-top:2px}
.footer-instruction-dropdown>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid rgba(139,92,246,.34);border-radius:13px;background:linear-gradient(135deg,rgba(139,92,246,.16),rgba(59,130,246,.10));color:var(--text);font-weight:800;font-size:13px;letter-spacing:.01em;cursor:pointer;box-shadow:0 8px 24px rgba(76,29,149,.12),inset 0 1px 0 rgba(255,255,255,.06);transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
.footer-instruction-dropdown>summary:hover{transform:translateY(-1px);border-color:rgba(139,92,246,.62);background:linear-gradient(135deg,rgba(139,92,246,.24),rgba(59,130,246,.15));box-shadow:0 12px 30px rgba(76,29,149,.18),inset 0 1px 0 rgba(255,255,255,.08)}
.footer-instruction-dropdown>summary:focus-visible{outline:2px solid rgba(139,92,246,.75);outline-offset:3px}
.footer-instruction-dropdown>summary::-webkit-details-marker{display:none}
.footer-instruction-dropdown>summary::after{content:'⌄';margin-left:8px;opacity:.82;font-size:12px;transition:transform .18s ease}
.footer-instruction-dropdown[open]>summary::after{content:'⌃'}
.footer-instruction-menu{position:absolute;right:0;bottom:calc(100% + 9px);min-width:240px;max-width:min(340px,calc(100vw - 32px));max-height:300px;overflow:auto;padding:8px;border:1px solid rgba(139,92,246,.30);border-radius:15px;background:var(--dropdown-bg);box-shadow:0 20px 55px rgba(0,0,0,.38),0 0 0 1px rgba(139,92,246,.06);backdrop-filter:blur(14px);z-index:1000}
.footer-instruction-menu a{display:block;padding:11px 13px;border-radius:10px;color:var(--text);font-size:13px;font-weight:650;white-space:normal;transition:background .16s ease,color .16s ease,transform .16s ease}
.footer-instruction-menu a:hover{background:rgba(139,92,246,.12);color:#c4b5fd;transform:translateX(2px)}
.legal-page{padding:32px 34px}
.legal-page h1{margin:8px 0 24px;font-size:clamp(32px,5vw,48px);line-height:1.1}
.page-content{color:var(--text);font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.link-button{border:0;background:none;padding:0;font:inherit;color:#c4b5fd;cursor:pointer}
.danger-link{color:#fca5a5}
/* Keep prompt creator usernames visually consistent with View Page */
.prompt-card .creator-card-user>a,.creator-prompt-grid .creator-card-user>a{font-size:16px;font-weight:900;transition:transform .18s ease,color .18s ease}
.prompt-card .creator-card-user>a:hover,.creator-prompt-grid .creator-card-user>a:hover{color:#c4b5fd;transform:translateY(-1px) scale(1.03)}
/* Prompt details action header stays inside the prompt box at every breakpoint */
.prompt-box-head{align-items:center;gap:12px;flex-wrap:wrap}
.prompt-box-head>span{flex:0 0 auto}
.prompt-box-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:1 1 auto;min-width:0}
.prompt-box-actions .copy-btn,.prompt-box-actions .share-btn{width:auto!important;flex:0 1 auto!important;min-width:0!important;white-space:nowrap}
@media(max-width:640px){
 .footer-actions{justify-content:flex-start}
 .footer-instruction-dropdown{width:100%;flex-basis:100%;order:3}
 .footer-instruction-dropdown>summary{width:100%}
 .footer-instruction-menu{left:0;right:auto;bottom:calc(100% + 8px);width:100%;max-width:100%}
 .legal-page{padding:24px 20px}
 .prompt-box-head{display:block}
 .prompt-box-head>span{display:block;margin-bottom:9px}
 .prompt-box-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .prompt-box-actions .copy-btn,.prompt-box-actions .share-btn{width:100%!important;min-width:0!important}
 .prompt-box pre{font-size:13px}
}
@media(min-width:641px) and (max-width:900px){.footer-instruction-menu{right:0}.legal-page{padding:28px}}

/* V3.9.20 final responsive corrections */
/* Prompt Details: actions never overlap content or escape the prompt box */
.prompt-box{width:100%;max-width:100%}
.prompt-box-head{min-width:0}
.prompt-box-actions{min-width:0;max-width:100%}
.prompt-box-actions .copy-btn,.prompt-box-actions .share-btn{height:42px;min-height:42px;box-sizing:border-box;overflow:hidden}
.prompt-box pre{clear:both;position:relative;z-index:0}
@media(min-width:641px){
  .prompt-box-head{display:flex;flex-wrap:nowrap;align-items:center}
  .prompt-box-actions{display:flex;flex:0 1 auto;width:auto;max-width:calc(100% - 70px);justify-content:flex-end}
  .prompt-box-actions .copy-btn,.prompt-box-actions .share-btn{flex:0 1 auto;width:auto!important;min-width:120px!important}
}
@media(max-width:640px){
  .prompt-box-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:12px!important;gap:10px!important}
  .prompt-box-head>span{margin:0!important;width:100%}
  .prompt-box-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:8px!important}
  .prompt-box-actions .copy-btn,.prompt-box-actions .share-btn{display:inline-flex!important;width:100%!important;min-width:0!important;max-width:100%!important;height:42px!important;min-height:42px!important;padding:0 10px!important}
  .prompt-box-actions .btn-label{overflow:hidden!important;text-overflow:ellipsis!important}
  .prompt-box pre{padding:18px 14px!important;margin:0!important;width:100%!important}
}

/* Public creator page: remove excessive mobile gap below the menu bar */
@media(max-width:640px){
  .profile-hero{padding:28px 18px 42px!important}
  .profile-hero .profile-wrap{gap:14px!important}
  .profile-hero .profile-photo-wrap{margin-top:0!important;padding-top:0!important}
  .profile-hero .profile-photo{width:104px;height:104px}
}

/* Keep all creator names in prompt cards prominent and consistent */
.prompt-card .creator-card-user>a,.creator-prompt-grid .creator-card-user>a{font-size:17px!important;line-height:1.2;font-weight:900!important;display:inline-block}
.prompt-card .creator-card-user>a:hover,.creator-prompt-grid .creator-card-user>a:hover{transform:translateY(-1px) scale(1.035);color:#c4b5fd}


/* V3.9.22 premium visual baseline — keeps Admin Theme / Color Settings fully overridable */
:root{
  --bg:#070816;
  --panel:#101225;
  --text:#f7f8ff;
  --muted:#aab1c6;
  --line:#2b3150;
  --a:#8b5cf6;
  --a2:#38d5ff;
  --gold:#f3c969;
  --nav-bg:#0b0d1c;
  --card-bg:#111427;
  --input-bg:#0a0d18;
  --dropdown-bg:#12152a;
  --button-bg:#181c32;
  --button-text:#ffffff;
  --border:#303754;
}
html{background:var(--bg)}
body{
  background:
    radial-gradient(900px 520px at 8% -8%,rgba(124,58,237,.25),transparent 58%),
    radial-gradient(800px 500px at 92% 8%,rgba(34,211,238,.12),transparent 56%),
    linear-gradient(180deg,#070816 0%,#090b17 48%,#070812 100%) !important;
  color:var(--text) !important;
}
body:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:linear-gradient(115deg,rgba(255,255,255,.018),transparent 35%,rgba(124,58,237,.012));
}
h1,h2,h3,h4,h5,h6{color:var(--text)}
p,.lead,.muted,.hero p{color:var(--muted)}
label{color:#e7eaff}
a{color:#d9d5ff}
a:hover{color:#ffffff}
.topbar{background:rgba(11,13,28,.88) !important;border-color:var(--border) !important;box-shadow:0 12px 40px rgba(0,0,0,.24)}
.hero{background:transparent !important}
.prompt-card,.panel,.prompt-detail,.auth-card{
  background:linear-gradient(180deg,rgba(18,21,39,.98),rgba(13,16,29,.98)) !important;
  border-color:var(--border) !important;
  box-shadow:0 18px 55px rgba(0,0,0,.16);
}
.prompt-card:hover,.panel:hover{border-color:rgba(139,92,246,.48)}
.prompt-box{background:rgba(7,9,18,.94) !important;border-color:var(--border) !important}
input,textarea,select{background:var(--input-bg) !important;color:var(--text) !important;border-color:var(--border) !important}
input::placeholder,textarea::placeholder{color:#747d96}
.btn{background:var(--button-bg);color:var(--button-text);border-color:var(--border)}
.btn.primary,.nav-cta{background:linear-gradient(135deg,var(--a),#5b5eea) !important;color:#fff !important}
.tag,.chips span{background:#151a30;border-color:var(--border);color:#d6d9ea}
.table-wrap th{color:#aeb5ca}
.table-wrap td{color:#e8eaf4}
footer{background:rgba(6,8,18,.45);border-color:var(--border);color:var(--muted)}
.eyebrow{color:#b9a5ff}
.hero h1 em{background:linear-gradient(90deg,#d6c7ff,#67e8f9);color:transparent;background-clip:text}
.success-toast,.alert.success{box-shadow:0 18px 50px rgba(0,0,0,.35)}
@media(max-width:600px){
  .topbar{box-shadow:0 8px 28px rgba(0,0,0,.24)}
  .prompt-card,.panel,.prompt-detail,.auth-card{box-shadow:0 12px 35px rgba(0,0,0,.18)}
}
\n\n/* V3.9.28: keep Important Instructions as the final footer control */
@media(min-width:641px){.footer-instruction-dropdown{text-align:right}.footer-instruction-dropdown>summary{min-width:190px}.footer-instruction-menu{right:0}}

/* V3.9.29 premium Explore dropdown — matched to Important Instructions footer */
.topbar .nav-dropdown > summary{
  min-height:44px;
  padding:0 16px;
  border:1px solid rgba(139,92,246,.34);
  border-radius:13px;
  background:linear-gradient(135deg,rgba(139,92,246,.16),rgba(59,130,246,.10));
  color:var(--text);
  font-weight:800;
  font-size:13px;
  letter-spacing:.01em;
  box-shadow:0 8px 24px rgba(76,29,149,.12),inset 0 1px 0 rgba(255,255,255,.06);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.topbar .nav-dropdown > summary:hover{
  transform:translateY(-1px);
  border-color:rgba(139,92,246,.62);
  background:linear-gradient(135deg,rgba(139,92,246,.24),rgba(59,130,246,.15));
  box-shadow:0 12px 30px rgba(76,29,149,.18),inset 0 1px 0 rgba(255,255,255,.08);
}
.topbar .nav-dropdown > summary:focus-visible{outline:2px solid rgba(139,92,246,.75);outline-offset:3px}
.topbar .nav-dropdown > summary::after{margin-left:8px;opacity:.82;font-size:12px}
.nav-dropdown-menu{
  top:calc(100% + 9px);
  min-width:220px;
  max-width:min(340px,calc(100vw - 32px));
  padding:8px;
  border:1px solid rgba(139,92,246,.30);
  border-radius:15px;
  background:var(--dropdown-bg,#121219);
  box-shadow:0 20px 55px rgba(0,0,0,.38),0 0 0 1px rgba(139,92,246,.06);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.nav-dropdown-menu a{
  display:flex !important;
  align-items:center;
  min-height:42px !important;
  padding:10px 13px !important;
  border-radius:10px !important;
  color:var(--text) !important;
  font-size:13px;
  font-weight:700 !important;
  white-space:nowrap;
  background:transparent !important;
  transform:none !important;
  transition:background .16s ease,color .16s ease,transform .16s ease !important;
}
.nav-dropdown-menu a:hover{
  background:rgba(139,92,246,.12) !important;
  color:#c4b5fd !important;
  transform:translateX(2px) !important;
}
@media(max-width:640px){
  .topbar .nav-dropdown > summary{min-height:42px;padding:0 13px}
  .nav-dropdown-menu{min-width:210px;max-width:calc(100vw - 28px);right:0}
}


/* V3.9.30 — Prompt Details creator username matches prompt-card username sizing */
.prompt-detail .detail-creator .creator-main>a{
  font-size:17px!important;
  line-height:1.2;
  font-weight:900!important;
  display:inline-block;
  transition:transform .18s ease,color .18s ease;
}
.prompt-detail .detail-creator .creator-main>a:hover{
  transform:translateY(-1px) scale(1.035);
  color:#c4b5fd;
}

/* V3.9.31 premium minimal search box: text-only input, no search icon, no filter control */
.searchbar,.creator-search{
  display:flex;
  align-items:stretch;
  gap:0;
  width:100%;
  max-width:900px;
  padding:4px;
  border:1px solid rgba(139,92,246,.28);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(139,92,246,.09),rgba(59,130,246,.06));
  box-shadow:0 12px 35px rgba(76,29,149,.10),inset 0 1px 0 rgba(255,255,255,.04);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.searchbar:focus-within,.creator-search:focus-within{
  border-color:rgba(139,92,246,.72);
  box-shadow:0 0 0 3px rgba(139,92,246,.10),0 16px 42px rgba(76,29,149,.16),inset 0 1px 0 rgba(255,255,255,.06);
}
.searchbar:hover,.creator-search:hover{border-color:rgba(139,92,246,.48)}
.searchbar input,.creator-search input{
  flex:1 1 auto;
  min-width:0;
  height:54px;
  border:0!important;
  outline:0!important;
  border-radius:12px!important;
  background:transparent!important;
  color:var(--text)!important;
  box-shadow:none!important;
  padding:0 16px!important;
  font-size:15px;
}
.searchbar input::placeholder,.creator-search input::placeholder{color:var(--muted);opacity:1}
.searchbar button,.creator-search button{
  flex:0 0 auto;
  height:54px;
  min-width:126px;
  margin:0;
  border-radius:12px!important;
  border:1px solid rgba(167,139,250,.38)!important;
  background:linear-gradient(135deg,#8b5cf6 0%,#6366f1 58%,#4f46e5 100%)!important;
  color:#fff!important;
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(124,58,237,.25);
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.searchbar button:hover,.creator-search button:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 12px 28px rgba(124,58,237,.34)}
.searchbar button:active,.creator-search button:active{transform:translateY(0)}
/* Filter controls remain intentionally unavailable in the public search UI. */
.creator-filters,.filters{display:none!important}
@media(max-width:600px){
  .searchbar,.creator-search{padding:4px;border-radius:15px}
  .searchbar input,.creator-search input{height:50px;font-size:14px;padding:0 13px!important}
  .searchbar button,.creator-search button{height:50px;min-width:108px;font-size:14px}
}


/* V3.9.34 combined responsive + premium fixes */
.hero h1{
  background:linear-gradient(100deg,#f4f1ff 0%,#c4b5fd 34%,#67e8f9 72%,#a78bfa 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
  text-shadow:0 14px 45px rgba(124,58,237,.14);
}
.footer-instruction-empty{display:block;padding:11px 13px;color:var(--muted);font-size:12px;line-height:1.5}
.footer-instruction-dropdown>summary{min-width:190px}
.prompt-card .creator>a{font-size:17px!important;line-height:1.2;font-weight:900!important;display:inline-block;transition:transform .18s ease,color .18s ease}
.prompt-card .creator>a:hover{transform:translateY(-1px) scale(1.035);color:#c4b5fd}
.prompt-detail-page{padding-top:42px;padding-bottom:42px}
.prompt-detail-v38{box-shadow:0 28px 80px rgba(0,0,0,.24)}
.detail-thumb-wrap{border-radius:17px 17px 0 0;background:#0b0d13}
.prompt-detail-thumb-v38{transition:transform .25s ease,filter .25s ease}
.detail-thumb-wrap:hover .prompt-detail-thumb-v38{transform:scale(1.025);filter:brightness(1.05)}
.prompt-detail h1{overflow-wrap:anywhere}
.prompt-detail .detail-description{margin-top:22px;color:var(--muted);font-size:15px}
@media(min-width:641px) and (max-width:900px){
  .hero{padding:98px 28px 78px}
  .hero-inner{max-width:820px}
  .hero h1{margin-top:18px;margin-bottom:28px;line-height:1.02}
  .hero p{max-width:720px}
}
@media(max-width:600px){
  .hero{padding:58px 16px 48px}
  .hero h1{font-size:clamp(38px,12vw,58px);letter-spacing:-2.6px;line-height:1.02}
  .searchbar,.creator-search{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;gap:7px;padding:5px;border-radius:15px}
  .searchbar input,.creator-search input{width:100%;min-width:0;height:50px}
  .searchbar button,.creator-search button{width:100%;min-width:0;height:48px;border-radius:11px!important}
  .prompt-detail-page{padding:24px 14px 34px}
  .prompt-detail{padding:14px!important;border-radius:15px}
  .detail-thumb-wrap{margin:-14px -14px 0;width:calc(100% + 28px);border-radius:15px 15px 0 0}
  .prompt-detail h1{font-size:clamp(30px,8vw,42px);letter-spacing:-1.4px}
  .detail-creator{padding:12px 0}
  .footer-actions{align-items:stretch}
  .footer-instruction-dropdown>summary{min-width:0}
}

.prompt-detail-title{font-size:clamp(34px,5vw,52px);line-height:1.05;letter-spacing:-2px;margin:26px 0 8px;overflow-wrap:anywhere;background:linear-gradient(100deg,#f8f7ff 0%,#c4b5fd 38%,#67e8f9 74%,#a78bfa 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
@media(max-width:600px){.prompt-detail-title{font-size:clamp(29px,8vw,40px);letter-spacing:-1.3px;margin:20px 0 8px}}


/* V3.9.34 final requested refinements */
.brand{display:inline-flex;align-items:center;gap:0;font-size:21px;font-weight:900;letter-spacing:-.55px;line-height:1;white-space:nowrap}
.brand .brand-prompt{color:#fff!important}
.brand .brand-line{color:#0F52BA!important}
.brand:hover{color:inherit!important}
.brand:hover .brand-prompt{color:#fff!important}
.brand:hover .brand-line{color:#0F52BA!important}
.brand .site-logo{display:block;max-height:42px;width:auto;object-fit:contain}

/* Explore and Important Instructions share the same premium dropdown language. */
.footer-actions{align-items:center}
.footer-actions>a:first-child{order:1}
.footer-actions>.footer-instruction-dropdown{order:3}
.footer-actions>.footer-create{order:2}

/* Prompt Details final order: thumbnail, title, description, creator, prompt box, actions. */
.prompt-detail-v38{display:flex;flex-direction:column}
.prompt-detail-v38 .detail-thumb-wrap{order:1;margin-bottom:22px}
.prompt-detail-v38 .prompt-detail-title{order:2;margin:0 0 16px}
.prompt-detail-v38 .detail-description{order:3;margin:0 0 14px}
.prompt-detail-v38 .detail-creator{order:4;margin:0 0 20px}
.prompt-detail-v38 .prompt-box{order:5;margin:0 0 16px}
.prompt-detail-v38 .setup-video-action{order:7;margin:0 0 10px}
.prompt-detail-v38 .detail-actions{order:8;margin:0 0 10px}
.prompt-detail-v38 .chips{order:9}
.prompt-detail-v38 .engagement-stats{order:10}
.prompt-detail-v38 .prompt-navigation{order:11}
@media(max-width:600px){
  .prompt-detail-v38 .detail-thumb-wrap{margin:0 0 20px!important}
  .prompt-detail-v38 .prompt-detail-title{margin:0 0 14px!important}
  .prompt-detail-v38 .detail-description{margin:0 0 12px!important}
  .prompt-detail-v38 .detail-creator{margin:0 0 18px!important;padding:4px 0 12px!important}
}

/* Tablet hero title breathing room refinement. */
@media(min-width:641px) and (max-width:900px){
  .hero{padding:118px 34px 92px!important}
  .hero-inner{max-width:760px!important}
  .hero h1{max-width:760px!important;margin:28px 0 36px!important;line-height:1.08!important;letter-spacing:-3px!important}
  .hero p{max-width:680px;margin-bottom:28px}
  .searchbar{margin-top:30px}
}

/* Mobile search: placeholder-only field, no search icon/filter and no oversized Search button. */
@media(max-width:600px){
  .searchbar{display:block!important;padding:5px!important;border-radius:15px!important}
  .searchbar input{display:block!important;width:100%!important;height:52px!important;border-radius:11px!important;padding:0 15px!important}
  .searchbar button{display:none!important}
}

/* Information pages intentionally contain only title and content. */
.information-page{min-height:100vh;background:var(--bg)}
.information-page-shell{width:min(920px,100%);margin:0 auto;padding:clamp(32px,7vw,88px) 20px}
.information-page-content{background:var(--card-bg);border:1px solid var(--border);border-radius:20px;padding:clamp(24px,5vw,48px);box-shadow:0 28px 80px rgba(0,0,0,.22)}
.information-page-content h1{margin:0 0 28px;font-size:clamp(34px,6vw,54px);line-height:1.08;letter-spacing:-2px;color:var(--text)}
.information-page-content .page-content{color:var(--text);font-size:16px;line-height:1.9;overflow-wrap:anywhere}
@media(max-width:600px){.information-page-shell{padding:22px 14px}.information-page-content{padding:22px 18px;border-radius:16px}.information-page-content h1{font-size:clamp(30px,9vw,42px);margin-bottom:20px}}
