:root{--bg:#f5f2ff;--ink:#17142b;--muted:#655f82;--p1:#6d38ff;--p2:#9b5cff;--p3:#2a1a55;--gold:#ffd76a;--white:#fff;--line:#e7defe;--shadow:0 22px 55px rgba(53,30,110,.16)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial;background:radial-gradient(circle at top right,#e9ddff,transparent 34%),linear-gradient(180deg,#fbfaff,#f2edff);color:var(--ink)}a{color:inherit;text-decoration:none}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:18px 6vw;background:rgba(255,255,255,.78);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:22px}.logo{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,var(--p1),var(--p2));color:white;box-shadow:var(--shadow)}nav{display:flex;align-items:center;gap:18px;font-weight:800;color:#484064}nav a{transition:.2s}nav a:hover{transform:scale(1.08);color:var(--p1)}.pill,.btn{border:0;border-radius:999px;padding:12px 18px;background:linear-gradient(135deg,var(--p1),#35b9ff);color:white;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;box-shadow:0 12px 26px rgba(109,56,255,.22)}.btn.gold{background:linear-gradient(135deg,#ffe08a,#ffbd28);color:#231500}.btn.secondary{background:white;color:var(--p1);border:1px solid var(--line);box-shadow:none}.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:42px;align-items:center;min-height:78vh;padding:90px 6vw}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:900;color:var(--p1)}h1{font-size:clamp(42px,6vw,82px);line-height:.98;margin:14px 0 18px;letter-spacing:-.055em}.hero p,.lead{font-size:19px;line-height:1.7;color:var(--muted);max-width:760px}.hero-card{padding:32px;border-radius:34px;background:linear-gradient(135deg,#fff,#f3ecff);box-shadow:var(--shadow);border:1px solid var(--line)}.metric-grid,.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.metric,.panel,.price-card,.tool-card{background:white;border:1px solid var(--line);border-radius:28px;padding:26px;box-shadow:0 16px 35px rgba(53,30,110,.08)}.metric b{font-size:32px}.section{padding:70px 6vw}.section h2{font-size:clamp(34px,4vw,56px);margin:0 0 14px;letter-spacing:-.04em}.price-card.featured{outline:3px solid rgba(109,56,255,.22);transform:translateY(-10px)}.price{font-size:44px;font-weight:950}.list{color:var(--muted);line-height:2}.form{display:grid;gap:14px}.form label{display:grid;gap:8px;font-weight:900;color:#342c54}.form input,.form select,.form textarea{width:100%;border:1px solid var(--line);border-radius:16px;padding:14px 16px;font:inherit;background:#fbfaff;color:var(--ink)}.form textarea{min-height:110px}.auth{max-width:520px;margin:60px auto}.alert{border-radius:18px;padding:14px 16px;font-weight:800}.alert.error{background:#ffe8ef;color:#8c1136}.alert.ok{background:#eafff1;color:#146b34}.dash{display:grid;grid-template-columns:260px 1fr;min-height:calc(100vh - 83px)}.sidebar{background:#1d1738;color:white;padding:28px}.sidebar a{display:block;padding:13px 14px;border-radius:14px;color:#ded7ff;font-weight:800}.sidebar a:hover{background:rgba(255,255,255,.09);color:white}.content{padding:36px 5vw}.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.result-box{white-space:pre-wrap;background:#100c22;color:#f7f2ff;border-radius:20px;padding:20px;overflow:auto}.footer{padding:35px 6vw;color:var(--muted);display:flex;gap:12px;justify-content:center;border-top:1px solid var(--line)}@media(max-width:850px){.hero,.dash{grid-template-columns:1fr}.metric-grid,.grid,.stat-row{grid-template-columns:1fr}.topbar{align-items:flex-start;gap:12px;flex-direction:column}nav{flex-wrap:wrap}.sidebar{display:none}h1{font-size:44px}}

/* ChatGPT-style AI workspace */
.ai-shell .sidebar a.active{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);transform:translateX(3px)}
.ai-content{max-width:980px}.chat-window{min-height:360px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(250,247,255,.98));border:1px solid rgba(118,82,190,.16);border-radius:28px;padding:22px;box-shadow:0 24px 70px rgba(37,22,75,.12);display:flex;flex-direction:column;gap:16px;margin:20px 0}.bubble{max-width:86%;border-radius:22px;padding:16px 18px;line-height:1.6;box-shadow:0 10px 30px rgba(40,24,80,.08)}.bubble.assistant{align-self:flex-start;background:#fff;border:1px solid rgba(120,88,190,.14)}.bubble.user{align-self:flex-end;background:linear-gradient(135deg,#6f42c1,#a46bff);color:white}.ai-text{white-space:normal;margin-top:8px}.chat-input{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:end;background:#fff;border:1px solid rgba(118,82,190,.16);border-radius:24px;padding:14px;box-shadow:0 18px 40px rgba(37,22,75,.10)}.chat-input textarea{min-height:58px;border:0;outline:none;resize:vertical;font:inherit;background:transparent;color:#17142b}.media-card{margin-top:12px;border-radius:20px;overflow:hidden;background:#120d24;border:1px solid rgba(118,82,190,.2)}.media-card img,.media-card video{width:100%;display:block;max-height:720px;object-fit:contain}.btn.small{padding:10px 14px;border-radius:14px;font-size:.9rem}.small-note{font-size:.9rem;opacity:.72}code{background:#f0eafd;padding:2px 6px;border-radius:7px}@media(max-width:760px){.chat-input{grid-template-columns:1fr}.bubble{max-width:100%}}

/* ChatGPT-like AI workspace */
.gpt-shell{display:grid;grid-template-columns:300px 1fr;min-height:calc(100vh - 78px);background:radial-gradient(circle at top left,#2a155d 0,#100b22 42%,#07050e 100%);color:#fff}
.gpt-sidebar{padding:18px;border-right:1px solid rgba(255,255,255,.10);background:rgba(9,6,20,.70);backdrop-filter:blur(18px);display:flex;flex-direction:column;gap:14px;position:sticky;top:0;height:calc(100vh - 0px)}
.side-brand{font-size:22px;font-weight:900;letter-spacing:-.04em;color:#f7e7a4;margin-bottom:4px}.new-chat{display:block;padding:13px 14px;border-radius:16px;background:linear-gradient(135deg,#7b3ff2,#c084fc);color:white;text-decoration:none;font-weight:800;box-shadow:0 12px 35px rgba(124,58,237,.35)}.side-label{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#a99ad0;margin-top:8px}.chat-list{display:flex;flex-direction:column;gap:8px;overflow:auto;padding-right:4px}.chat-link{padding:11px 12px;border-radius:14px;background:rgba(255,255,255,.06);color:#eee;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid transparent}.chat-link:hover,.chat-link.active{background:rgba(255,255,255,.13);border-color:rgba(246,213,115,.35);transform:translateX(2px)}.side-bottom{margin-top:auto;display:grid;gap:8px}.side-bottom a{color:#d9cffb;text-decoration:none;padding:10px;border-radius:12px;background:rgba(255,255,255,.06)}
.gpt-main{display:flex;flex-direction:column;min-width:0;height:100vh}.gpt-topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:18px 28px;border-bottom:1px solid rgba(255,255,255,.10);background:rgba(12,8,28,.55);backdrop-filter:blur(20px)}.gpt-topbar b{display:block;font-size:18px}.gpt-topbar span{color:#b8addb;font-size:13px}.mode-pills{display:flex;gap:8px;background:rgba(255,255,255,.07);padding:6px;border-radius:999px}.mode-pills a{padding:9px 14px;border-radius:999px;color:#ded7f6;text-decoration:none;font-weight:700}.mode-pills a.active{background:#f6d573;color:#170f2e}.gpt-alert{margin:16px 28px 0}.gpt-messages{flex:1;overflow:auto;padding:32px 28px 105px;max-width:980px;width:100%;margin:0 auto}.welcome-card{text-align:center;margin:8vh auto 0;max-width:680px;padding:40px;border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.14);box-shadow:0 30px 80px rgba(0,0,0,.24)}.welcome-card .orb{width:82px;height:82px;border-radius:999px;margin:0 auto 18px;background:radial-gradient(circle,#f6d573,#a855f7 55%,#291354);box-shadow:0 0 60px rgba(168,85,247,.55)}.welcome-card h1{font-size:42px;line-height:1;margin:0 0 12px}.welcome-card p{color:#d7cef3;font-size:17px}.mini-grid{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}.mini-grid span{padding:10px 13px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);font-weight:700;color:#f8e9aa}.msg-row{display:grid;grid-template-columns:46px 1fr;gap:14px;margin:18px 0}.msg-row.user{max-width:860px;margin-left:auto}.avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:12px;font-weight:900;background:#28154e;color:#f6d573;border:1px solid rgba(255,255,255,.12)}.msg-row.user .avatar{background:#f6d573;color:#160d2e}.msg-bubble{padding:16px 18px;border-radius:22px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.10);box-shadow:0 18px 45px rgba(0,0,0,.16)}.msg-row.user .msg-bubble{background:linear-gradient(135deg,#7b3ff2,#a855f7);border-color:rgba(255,255,255,.18)}.message-text{white-space:normal;line-height:1.65;color:#fff}.msg-meta{font-size:11px;color:#b8addb;margin-top:12px}.generated-media{max-width:100%;border-radius:18px;margin-top:10px;border:1px solid rgba(255,255,255,.14);box-shadow:0 20px 60px rgba(0,0,0,.28)}img.generated-media{max-height:620px;object-fit:contain;background:#06040d}.media-link{display:inline-block;margin-top:10px;color:#f6d573;font-weight:800}.status-pill{display:inline-block;margin-top:10px;padding:6px 10px;border-radius:99px;background:#f6d573;color:#170f2e;font-weight:800;font-size:12px}.composer{position:fixed;left:300px;right:0;bottom:0;padding:12px 26px 16px;background:linear-gradient(180deg,rgba(7,5,14,0),rgba(7,5,14,.95) 28%);display:grid;grid-template-columns:120px 1fr auto;gap:10px;align-items:end}.composer select,.composer textarea{border:none;outline:none;border-radius:16px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);color:white;padding:11px 14px;font:inherit}.composer select option{color:#130b29}.composer textarea{resize:none;min-height:42px;max-height:130px;line-height:1.35}.send-btn{border:none;border-radius:16px;background:#f6d573;color:#160d2e;font-weight:900;padding:0 22px;height:44px;cursor:pointer;box-shadow:0 14px 35px rgba(246,213,115,.24)}.send-btn:hover{transform:translateY(-1px)}
@media(max-width:820px){.gpt-shell{grid-template-columns:1fr}.gpt-sidebar{position:relative;height:auto}.gpt-main{height:auto;min-height:100vh}.composer{left:0;grid-template-columns:1fr}.composer select{height:50px}.gpt-topbar{align-items:flex-start;gap:12px;height:auto;flex-direction:column}.mode-pills{width:100%;overflow:auto}.welcome-card h1{font-size:30px}}

.admin-item{border:1px solid var(--line);border-radius:18px;padding:16px;margin:14px 0;background:#fbfaff}.admin-item.fresh{border-color:#ffd76a;background:#fff9e6}.small-note{font-size:.9rem;color:var(--muted)}@media(max-width:850px){.grid[style]{grid-template-columns:1fr!important}}


.fair-policy{margin-top:24px;border:1px solid rgba(165,119,255,.22);background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(246,241,255,.94));}
.fair-box{border:1px solid rgba(165,119,255,.22);background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(250,247,255,.92));}
.small-note{font-size:.92rem;color:#7d7394;}
.price-card .list b{color:#2b194e;}

/* =========================================================
   GrowthPilotAI Ultra Polish Release
   Cleaner premium UI, better chat spacing, better media cards
   ========================================================= */
:root{
  --surface:rgba(255,255,255,.82);
  --surface-2:rgba(255,255,255,.64);
  --deep:#0b0618;
  --deep-2:#140b2e;
  --violet:#7c3aed;
  --violet-2:#a855f7;
  --violet-3:#c084fc;
  --amber:#f6d573;
  --soft-line:rgba(255,255,255,.16);
}
body{font-feature-settings:"cv02","cv03","cv04","cv11";text-rendering:optimizeLegibility;}
.topbar{box-shadow:0 16px 50px rgba(29,17,61,.07)}
.logo{position:relative;overflow:hidden}.logo:after,.logo-mark:after{content:"";position:absolute;inset:-45%;background:linear-gradient(120deg,transparent 35%,rgba(255,255,255,.45),transparent 65%);transform:translateX(-80%) rotate(20deg);animation:gpaiShine 5s ease-in-out infinite}@keyframes gpaiShine{0%,45%{transform:translateX(-85%) rotate(20deg)}65%,100%{transform:translateX(85%) rotate(20deg)}}
.btn,.pill,.send,.new-chat{transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.btn:hover,.pill:hover,.send:hover,.new-chat:hover{transform:translateY(-2px);filter:saturate(1.08)}
.gpt-shell,.chat-page{background:radial-gradient(circle at 15% -10%,rgba(168,85,247,.42),transparent 35%),radial-gradient(circle at 82% 8%,rgba(246,213,115,.18),transparent 28%),linear-gradient(135deg,#090512 0%,#140a2b 48%,#080411 100%)}
.chat-layout{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:calc(100vh - 0px);background:radial-gradient(circle at 18% 0,rgba(168,85,247,.28),transparent 30%),radial-gradient(circle at 90% 16%,rgba(246,213,115,.13),transparent 24%),#080411;color:white;}
.chat-sidebar{background:rgba(10,6,22,.74);backdrop-filter:blur(22px);border-right:1px solid rgba(255,255,255,.10);padding:18px;display:flex;flex-direction:column;gap:14px;position:sticky;top:0;height:100vh;}
.chat-logo{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:950;letter-spacing:-.04em;color:#fff}.logo-mark{position:relative;overflow:hidden;display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,#7c3aed,#c084fc);box-shadow:0 18px 42px rgba(124,58,237,.38)}
.account-card{padding:14px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045));border:1px solid rgba(255,255,255,.12)}.account-card b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-card span{display:block;color:#cbbff0;font-size:13px;margin-top:4px}
.mode-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.mode-tabs a{padding:12px 10px;border-radius:15px;background:rgba(255,255,255,.07);border:1px solid transparent;color:#ded7f6;text-align:center;font-weight:850}.mode-tabs a.active{background:linear-gradient(135deg,#f6d573,#ffe9a3);color:#160d2e;box-shadow:0 18px 42px rgba(246,213,115,.18)}
.chat-row{display:grid;grid-template-columns:1fr 34px;gap:6px;align-items:center}.delete-chat{height:34px;border:0;border-radius:12px;background:rgba(255,255,255,.07);color:#cfc4ec;cursor:pointer}.delete-chat:hover{background:#ff477e;color:white}.side-actions{display:grid;gap:8px;margin-top:auto}.side-actions a{padding:10px 12px;border-radius:13px;background:rgba(255,255,255,.065);color:#dcd4f8;font-weight:760}.side-actions a:hover{background:rgba(255,255,255,.12);color:white}
.chat-main{min-width:0;height:100vh;display:flex;flex-direction:column}.chat-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 32px;border-bottom:1px solid rgba(255,255,255,.10);background:rgba(8,4,17,.58);backdrop-filter:blur(20px)}.chat-top h1{font-size:26px;line-height:1.05;margin:0 0 6px;letter-spacing:-.04em}.chat-top p{margin:0;color:#cbbff0}.workflow-bar{display:flex;gap:8px;flex-wrap:wrap;padding:12px 32px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035)}.workflow-chip{font-size:12px;padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.07);color:#d8cff5;border:1px solid rgba(255,255,255,.08)}.workflow-chip.gold{background:rgba(246,213,115,.14);color:#ffe9a3;border-color:rgba(246,213,115,.25)}
.messages{flex:1;overflow:auto;scroll-behavior:smooth}.messages-inner{max-width:1020px;margin:0 auto;padding:26px 28px 160px}.welcome{max-width:760px;margin:7vh auto 0;text-align:center;padding:36px 32px;border-radius:34px;background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.14);box-shadow:0 28px 86px rgba(0,0,0,.25)}.welcome .orb{width:74px;height:74px;margin:0 auto 16px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff8ca 0,#f6d573 28%,#a855f7 62%,#201044 100%);box-shadow:0 0 70px rgba(168,85,247,.52);animation:gpaiPulse 2.6s ease-in-out infinite}@keyframes gpaiPulse{0%,100%{transform:scale(1);box-shadow:0 0 55px rgba(168,85,247,.42)}50%{transform:scale(1.04);box-shadow:0 0 86px rgba(246,213,115,.25)}}.welcome h2{font-size:clamp(30px,4vw,48px);line-height:1.02;margin:0 0 12px;letter-spacing:-.05em}.welcome p{color:#d7cff3;font-size:17px}.starter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.starter{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.075);color:#fff;border-radius:18px;padding:14px;text-align:left;cursor:pointer}.starter:hover{background:rgba(255,255,255,.13);transform:translateY(-2px)}.starter b{display:block;color:#ffe9a3}.starter span{display:block;color:#cbc0ee;font-size:13px;margin-top:5px;line-height:1.35}
.msg{display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;margin:18px 0;align-items:start}.msg.user{grid-template-columns:minmax(0,1fr) 44px}.msg.user .avatar{grid-column:2}.msg.user .bubble{grid-column:1;grid-row:1;justify-self:end;max-width:82%;background:linear-gradient(135deg,#7c3aed,#a855f7);border-color:rgba(255,255,255,.16)}.avatar{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;font-size:12px;font-weight:950;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);color:#ffe9a3}.msg.user .avatar{background:#f6d573;color:#160d2e}.bubble{max-width:88%;padding:16px 17px;border-radius:22px;background:rgba(255,255,255,.095);border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 50px rgba(0,0,0,.18)}.text{line-height:1.68;white-space:pre-wrap}.meta{font-size:11px;color:#b8addb;margin-top:12px}.status.failed{display:inline-flex;margin-top:10px;background:rgba(255,71,126,.16);color:#ffd3df;border:1px solid rgba(255,71,126,.25);padding:7px 10px;border-radius:999px;font-weight:850}
.attachments{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.att{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.10);font-size:13px}.image-att img{width:42px;height:42px;object-fit:cover;border-radius:10px}
.image-preview-card,.video-preview-card,.model-card{margin-top:12px;border-radius:22px;background:linear-gradient(180deg,rgba(0,0,0,.24),rgba(0,0,0,.12));border:1px solid rgba(255,255,255,.12);overflow:hidden}.media{width:100%;display:block;border-radius:18px;max-height:680px;object-fit:contain;background:#05030a}.model-preview{width:100%;height:420px;margin-top:12px;border-radius:22px;background:radial-gradient(circle,#24134f,#080411);border:1px solid rgba(255,255,255,.12)}.model-card{display:flex;gap:14px;align-items:center;padding:14px}.model-card p{margin:4px 0 0;color:#cbbff0}.model-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#f6d573;color:#160d2e;font-weight:950}.msg-toolbar,.video-actions,.model-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.media-link,.ghost-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.08);color:#ffe9a3;border-radius:13px;padding:9px 11px;font-weight:850;font-size:13px;cursor:pointer}.ghost-btn{font:inherit}.media-link:hover,.ghost-btn:hover{background:rgba(246,213,115,.15);transform:translateY(-1px)}
.magic-loading{display:flex;gap:14px;align-items:center}.magic-orb{position:relative;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fffad1,#f6d573 25%,#a855f7 62%,#281154);box-shadow:0 0 55px rgba(168,85,247,.42);animation:gpaiPulse 2s ease-in-out infinite}.magic-orb span{position:absolute;inset:8px;border-radius:50%;border:1px solid rgba(255,255,255,.35)}.magic-copy b{display:block;color:#fff}.magic-copy p{margin:.25rem 0;color:#d1c7ee}.loading-time{font-size:12px;color:#ffe9a3;margin-top:5px}.magic-steps{display:flex;gap:5px;margin-top:9px}.magic-steps span{width:7px;height:7px;border-radius:50%;background:#f6d573;opacity:.45;animation:gpaiDots 1.2s infinite}.magic-steps span:nth-child(2){animation-delay:.18s}.magic-steps span:nth-child(3){animation-delay:.36s}@keyframes gpaiDots{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
.composer{position:sticky;bottom:0;padding:14px 28px 20px;background:linear-gradient(180deg,rgba(8,4,17,0),rgba(8,4,17,.92) 26%,rgba(8,4,17,.98));}.input-wrap{max-width:1020px;margin:0 auto;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:26px;box-shadow:0 22px 70px rgba(0,0,0,.26);backdrop-filter:blur(18px);overflow:hidden}.input-wrap textarea{width:100%;min-height:48px;max-height:120px;border:0;background:transparent;color:white;padding:15px 16px 8px;outline:none;resize:none;font:inherit}.input-wrap textarea::placeholder{color:#bcb1dc}.composer-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px 10px;border-top:1px solid rgba(255,255,255,.09)}.left-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.file-button,.mini-control{height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border-radius:14px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.11);color:#efe9ff;font-weight:850}.file-button input{display:none}.mini-control span{font-size:11px;color:#bcb1dc}.mini-control select{height:28px;border:0;background:transparent;color:white;font-weight:850;outline:none}.mini-control select option{color:#160d2e}.file-list{display:flex;gap:6px;flex-wrap:wrap}.file-pill{font-size:12px;padding:7px 9px;border-radius:999px;background:rgba(246,213,115,.13);color:#ffe9a3}.send{height:40px;border:0;border-radius:15px;background:linear-gradient(135deg,#f6d573,#ffe69a);color:#160d2e;font-weight:950;padding:0 18px;box-shadow:0 14px 36px rgba(246,213,115,.20);cursor:pointer}.send:disabled{opacity:.6;cursor:not-allowed}
.drop-active .input-wrap{outline:2px dashed rgba(246,213,115,.7);outline-offset:6px}.video-fallback-note{padding:10px;color:#ffe9a3;font-weight:800}.fair-policy,.fair-box{box-shadow:0 18px 45px rgba(81,45,156,.09)}
@media(max-width:920px){.chat-layout{grid-template-columns:1fr}.chat-sidebar{position:relative;height:auto}.mode-tabs{grid-template-columns:repeat(4,1fr)}.chat-main{height:auto;min-height:100vh}.messages-inner{padding:22px 16px 150px}.chat-top{padding:18px;align-items:flex-start;flex-direction:column}.workflow-bar{padding:10px 16px}.starter-grid{grid-template-columns:1fr}.msg.user .bubble,.bubble{max-width:100%}.composer{padding:10px 14px 16px}.composer-tools{align-items:stretch;flex-direction:column}.left-tools{align-items:stretch}.file-button,.mini-control{width:100%;justify-content:space-between}.send{width:100%}.model-preview{height:320px}}
@media(max-width:560px){.mode-tabs{grid-template-columns:repeat(2,1fr)}.chat-top h1{font-size:22px}.welcome{margin-top:3vh;padding:26px 20px}.msg,.msg.user{grid-template-columns:1fr}.msg .avatar{display:none}.msg.user .bubble{grid-column:auto;grid-row:auto}.bubble{border-radius:18px}}

/* === GrowthPilotAI Best Release UX polish === */
:root{--premium-glow:0 22px 80px rgba(124,58,237,.22),0 8px 24px rgba(246,213,115,.08)}
body{background:radial-gradient(circle at 15% 0%,rgba(168,85,247,.20),transparent 28%),radial-gradient(circle at 85% 8%,rgba(246,213,115,.16),transparent 24%),linear-gradient(180deg,#0a0618 0%,#130b2f 42%,#f7f3ff 100%)}
.topbar,.gpt-topbar{box-shadow:0 10px 40px rgba(12,7,30,.12)}
.price-card,.panel,.tool-card,.hero-card{transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease}.price-card:hover,.panel:hover,.tool-card:hover,.hero-card:hover{transform:translateY(-4px);box-shadow:var(--premium-glow);border-color:rgba(124,58,237,.28)}
.chat-page{background:radial-gradient(circle at 50% -10%,rgba(168,85,247,.22),transparent 32%),linear-gradient(180deg,#070411,#120927)}
.chat-side{background:linear-gradient(180deg,rgba(23,13,50,.96),rgba(10,6,24,.98));box-shadow:inset -1px 0 rgba(255,255,255,.08)}
.chat-link,.tool-link{transition:transform .18s ease,background .18s ease,border-color .18s ease}.chat-link:hover,.tool-link:hover{transform:translateX(3px);background:rgba(255,255,255,.10);border-color:rgba(246,213,115,.24)}
.messages{scrollbar-width:thin;scrollbar-color:rgba(246,213,115,.35) transparent}.messages::-webkit-scrollbar{width:9px}.messages::-webkit-scrollbar-thumb{background:rgba(246,213,115,.35);border-radius:999px}.messages::-webkit-scrollbar-track{background:transparent}
.msg{animation:gpaiMsgIn .22s ease both}@keyframes gpaiMsgIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.bubble{backdrop-filter:blur(18px)}.msg.user .bubble{box-shadow:0 16px 48px rgba(124,58,237,.24)}.msg.assistant .bubble{box-shadow:0 12px 46px rgba(0,0,0,.16)}
.composer{background:linear-gradient(180deg,rgba(7,5,14,0),rgba(7,5,14,.94) 22%,rgba(7,5,14,.98));}.input-wrap{box-shadow:0 20px 80px rgba(0,0,0,.25);transition:border-color .18s ease, box-shadow .18s ease}.input-wrap:focus-within{border-color:rgba(246,213,115,.46);box-shadow:0 0 0 4px rgba(246,213,115,.10),0 25px 80px rgba(0,0,0,.30)}
.send{transition:transform .18s ease,filter .18s ease}.send:hover{transform:translateY(-1px);filter:brightness(1.04)}
.media-card,.video-preview-card,.image-preview-card,.model-card{box-shadow:0 18px 60px rgba(0,0,0,.22)}
.media-link,.ghost-btn{transition:transform .15s ease,background .15s ease}.media-link:hover,.ghost-btn:hover{transform:translateY(-1px)}
.status.failed{background:rgba(255,80,120,.14);border:1px solid rgba(255,80,120,.25);color:#ffc5d3;padding:8px 10px;border-radius:12px;margin-top:10px;display:inline-flex;font-weight:800}
.status.completed{background:rgba(98,255,173,.12);border:1px solid rgba(98,255,173,.24);color:#b8ffd8;padding:8px 10px;border-radius:12px;margin-top:10px;display:inline-flex;font-weight:800}
.model-preview{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.14);border-radius:22px;overflow:hidden}
.library-grid{gap:18px}.library-card{transition:transform .2s ease, box-shadow .2s ease}.library-card:hover{transform:translateY(-4px);box-shadow:var(--premium-glow)}
@media(max-width:760px){.composer{box-shadow:0 -20px 55px rgba(0,0,0,.32)}.chat-side{max-height:360px;overflow:auto}.welcome{margin-top:12px}.messages{padding-bottom:230px}}


/* Media preview workflow upgrade */
.result-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:10px 12px;border-radius:16px;background:rgba(246,213,115,.10);border:1px solid rgba(246,213,115,.18)}
.result-head span{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#f6d573;font-weight:950}.result-head b{color:#fff;font-size:13px}.media-preview-card{position:relative;padding:10px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.14);box-shadow:0 24px 70px rgba(0,0,0,.28)}.media-preview-card .media{border-radius:18px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.media-preview-card .msg-toolbar,.media-preview-card .video-actions{padding:10px 4px 2px}.ghost-btn[data-use-media]{background:linear-gradient(135deg,rgba(124,58,237,.32),rgba(246,213,115,.13));border-color:rgba(246,213,115,.22);color:#fff0b8}.model-actions .ghost-btn[data-use-media]{margin-top:0}.model-preview{box-shadow:0 26px 80px rgba(0,0,0,.28)}

.image-grid-card{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:12px}
.image-grid-card .image-preview-card{margin-top:0}
.image-grid-card .media{max-height:420px}
@media(max-width:720px){.image-grid-card{grid-template-columns:1fr}}

/* === Yellow homepage cleanup: polished layout + working action cards === */
.hero-modern{position:relative;overflow:hidden;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);min-height:82vh;padding-top:84px;padding-bottom:76px;color:#fff}.hero-modern:before{content:"";position:absolute;inset:34px 4vw auto auto;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(255,215,106,.28),transparent 68%);filter:blur(8px);pointer-events:none}.hero-copy,.hero-dashboard-card{position:relative;z-index:1}.hero-copy p{color:#eee7ff;font-size:20px;line-height:1.75}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 20px}.btn-xl{padding:15px 22px;font-size:15px}.btn.ghost{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);box-shadow:none;color:#fff}.btn.full{width:100%;text-align:center}.trust-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.trust-row span{padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.13);color:#f4edff;font-weight:800;font-size:13px}.hero-dashboard-card{border-radius:34px;background:linear-gradient(180deg,rgba(255,255,255,.17),rgba(255,255,255,.075));border:1px solid rgba(255,255,255,.18);box-shadow:0 28px 90px rgba(0,0,0,.30);backdrop-filter:blur(20px);overflow:hidden}.mini-window-head{height:54px;display:flex;align-items:center;gap:8px;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.13);color:#fff;font-weight:900}.mini-window-head span{width:11px;height:11px;border-radius:999px;background:#ffd76a}.mini-window-head span:nth-child(2){background:#c084fc}.mini-window-head span:nth-child(3){background:#6ee7b7}.mini-window-head b{margin-left:8px;font-size:13px;color:#efe9ff}.workspace-preview{padding:24px}.preview-line{height:18px;border-radius:999px;background:linear-gradient(90deg,rgba(255,215,106,.95),rgba(192,132,252,.75),rgba(255,255,255,.25));margin-bottom:18px}.preview-line.wide{width:82%}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:18px}.preview-tile{min-height:112px;padding:17px;border-radius:22px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);display:flex;flex-direction:column;justify-content:space-between;transition:.2s ease}.preview-tile:hover{transform:translateY(-3px);background:rgba(255,255,255,.16);border-color:rgba(255,215,106,.35)}.preview-tile b{font-size:18px;color:#fff}.preview-tile small{color:#d8cff3;font-weight:750}.action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.service-card{display:flex;flex-direction:column;gap:12px}.service-card .lead{font-size:16px;line-height:1.55;flex:1}.icon-badge{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#fff0a8,#ffd76a);box-shadow:0 14px 30px rgba(246,213,115,.22);font-size:26px}.pricing-modern .price-card{position:relative;overflow:hidden}.best-badge{position:absolute;right:18px;top:18px;padding:8px 11px;border-radius:999px;background:linear-gradient(135deg,#ffd76a,#fff0a8);color:#1a102c;font-size:12px;font-weight:950}.form-two{grid-template-columns:1fr 1fr!important}.contact-modern .panel{max-width:900px}.section .btn:hover,.hero-actions .btn:hover{transform:translateY(-2px);filter:brightness(1.04)}.section .btn:active,.hero-actions .btn:active{transform:translateY(0)}@media(max-width:1100px){.action-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.hero-modern{grid-template-columns:1fr;color:#fff}.hero-dashboard-card{min-width:0}.preview-grid,.action-grid,.form-two{grid-template-columns:1fr!important}.hero-actions .btn{width:100%}.trust-row span{width:100%}}

/* Google login */
.btn.google{width:100%;margin:16px 0 12px;background:#fff;color:#1f1f1f;border:1px solid #dadce0;box-shadow:0 10px 26px rgba(53,30,110,.08);font-weight:900}
.btn.google:hover{background:#f8fafd;border-color:#cdd6e5}
.google-dot{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#4285f4,#34a853 45%,#fbbc05 70%,#ea4335);color:#fff;font-weight:950;font-family:Arial,sans-serif}
.or{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:8px 0 14px;color:var(--muted);font-size:13px;font-weight:850}
.or span{height:1px;background:var(--line)}
.or em{font-style:normal}

/* Admin + user dashboard polish */
.admin-dashboard .lead,.user-dashboard .lead{max-width:900px}.admin-stats .metric,.user-stats .metric{position:relative;overflow:hidden}.admin-stats .metric:after,.user-stats .metric:after{content:"";position:absolute;right:-35px;top:-35px;width:88px;height:88px;border-radius:999px;background:rgba(109,56,255,.08)}.admin-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.admin-search{display:flex;gap:10px;align-items:center}.admin-search input{border:1px solid var(--line);border-radius:999px;padding:12px 15px;font:inherit;background:#fbfaff;min-width:260px}.admin-table-wrap{overflow:auto;border-radius:22px;border:1px solid var(--line)}.admin-table{width:100%;border-collapse:collapse;background:#fff;min-width:980px}.admin-table th{font-size:12px;text-transform:uppercase;letter-spacing:.12em;text-align:left;color:var(--muted);background:#f8f4ff;padding:14px}.admin-table td{padding:15px;border-top:1px solid var(--line);vertical-align:top}.admin-table td span,.admin-table small{color:var(--muted)}.protected-row{background:#fffaf0}.badge{display:inline-flex;align-items:center;margin:3px 5px 3px 0;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900}.gold-badge{background:#fff2bd;color:#5a3b00}.ok-badge{background:#eafff1;color:#146b34}.muted-badge{background:#f0edfa;color:#625a7c}.inline-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline-form input,.inline-form select,.delete-box input{border:1px solid var(--line);border-radius:12px;padding:9px 10px;font:inherit;background:#fbfaff}.inline-form input[type=number]{width:96px}.btn.danger{background:linear-gradient(135deg,#ff4778,#c9184a);color:#fff;box-shadow:0 12px 26px rgba(201,24,74,.18)}.delete-details summary{list-style:none}.delete-details summary::-webkit-details-marker{display:none}.delete-box{margin-top:10px;padding:12px;border:1px solid #ffd1dc;background:#fff5f8;border-radius:16px;min-width:220px}.delete-box p{margin:0 0 10px}.user-hero-panel{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;align-items:center;border-radius:34px;padding:30px;background:linear-gradient(135deg,#1d1738,#6d38ff 70%,#ffd76a);color:#fff;box-shadow:var(--shadow)}.user-hero-panel h1{color:#fff}.user-hero-panel .lead{color:#f4edff}.account-card-mini{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);border-radius:26px;padding:20px;display:grid;gap:8px;justify-items:center;text-align:center}.account-card-mini img,.avatar-fallback{width:72px;height:72px;border-radius:24px;object-fit:cover}.avatar-fallback{display:grid;place-items:center;background:#ffd76a;color:#1d1738;font-weight:950;font-size:32px}.account-card-mini small{color:#eee7ff}.compact-stats{grid-template-columns:1fr 1fr}.library-grid{grid-template-columns:repeat(3,1fr)}@media(max-width:950px){.admin-panel-head,.admin-search,.user-hero-panel{display:grid;grid-template-columns:1fr}.admin-search input{min-width:0;width:100%}.library-grid{grid-template-columns:1fr}.compact-stats{grid-template-columns:1fr}.admin-quick-grid{grid-template-columns:1fr!important}}

/* Clearer admin/user dashboards - added by ChatGPT */
.improved-dashboard .content{max-width:1180px}.clear-sidebar{position:sticky;top:18px;align-self:start}.clear-sidebar a{display:block;padding:11px 12px;margin:6px 0;border-radius:12px;text-decoration:none;font-weight:700}.clear-sidebar a:hover{background:rgba(255,214,90,.18)}
.admin-hero-clear,.user-hero-clear{display:flex;justify-content:space-between;gap:22px;align-items:center;background:linear-gradient(135deg,#fff8d7,#ffffff);border:1px solid rgba(0,0,0,.08);border-radius:24px;padding:26px;box-shadow:0 18px 55px rgba(26,18,60,.10)}
.admin-safe-card,.clear-account-card{min-width:240px;background:#17142b;color:#fff;border-radius:20px;padding:18px;box-shadow:0 12px 28px rgba(23,20,43,.18)}.admin-safe-card p{margin:8px 0 0;color:#eee}.admin-safe-card code{background:#2d2948;color:#ffd85a;padding:2px 6px;border-radius:6px}
.big-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px}.big-stats .metric{padding:18px;border-radius:18px;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 10px 26px rgba(26,18,60,.07)}.big-stats .metric span{font-size:24px;display:block;margin-bottom:8px}.big-stats .metric b{font-size:26px}
.admin-action-strip{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}.clear-head{gap:18px}.admin-search{display:flex;gap:8px;flex-wrap:wrap;align-items:end}.admin-search input,.admin-search select{padding:10px 12px;border-radius:12px;border:1px solid rgba(0,0,0,.16);background:#fff}.bulk-delete-box{margin-top:14px}.bulk-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:#fff3f3;border:1px solid #ffd1d1;border-radius:18px;padding:13px;margin-bottom:14px}.bulk-tools input{padding:10px 12px;border-radius:12px;border:1px solid #d7b0b0}.admin-table-wrap{overflow:auto}.clear-table{width:100%;border-collapse:separate;border-spacing:0 10px}.clear-table th{text-align:left;font-size:13px;color:#5f5875;padding:8px}.clear-table td{background:#fff;border-top:1px solid rgba(0,0,0,.08);border-bottom:1px solid rgba(0,0,0,.08);padding:12px;vertical-align:top}.clear-table td:first-child{border-left:1px solid rgba(0,0,0,.08);border-radius:14px 0 0 14px}.clear-table td:last-child{border-right:1px solid rgba(0,0,0,.08);border-radius:0 14px 14px 0}.main-admin-row td{background:#fff8d7}.inline-form{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.inline-form input,.inline-form select,.delete-details input{max-width:120px;padding:8px 10px;border-radius:10px;border:1px solid rgba(0,0,0,.14)}.delete-details summary{cursor:pointer;font-weight:800;color:#b42318}.delete-details form{margin-top:8px;display:flex;gap:7px;flex-wrap:wrap}.btn.danger{background:#d92d20;color:#fff;border-color:#d92d20}.btn.small{padding:8px 11px;font-size:13px}.badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;margin:2px}.ok-badge{background:#e9fff4;color:#067647}.warn-badge{background:#fff4e5;color:#b54708}.muted-badge{background:#eef0f4;color:#475467}.admin-badge{background:#17142b;color:#ffd85a}.tiny{font-size:11px;color:#767088}.list-card{border:1px solid rgba(0,0,0,.08);border-radius:16px;background:#fff;padding:13px;margin:10px 0}.start-panel{background:linear-gradient(135deg,#ffffff,#fff9dc)}.clearer-actions{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.featured-tool{border:2px solid #f5c518!important;background:#fffdf2!important}.tool-card{transition:.18s transform ease,.18s box-shadow ease}.tool-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(26,18,60,.12)}.avatar-fallback{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ffd85a;color:#17142b;font-weight:900;font-size:24px}.account-card-mini img{width:64px;height:64px;border-radius:50%;object-fit:cover}.small-note{color:#706a86;font-size:13px}.alert{border-radius:16px;padding:14px 16px;margin:16px 0;font-weight:700}.alert.ok{background:#ecfdf3;color:#067647;border:1px solid #abefc6}.alert.error{background:#fff1f3;color:#b42318;border:1px solid #fecdd6}
@media(max-width:900px){.admin-hero-clear,.user-hero-clear{flex-direction:column;align-items:flex-start}.admin-quick-grid,.grid[style*="1fr 1fr"]{grid-template-columns:1fr!important}.clear-sidebar{position:relative}.dash{display:block}.sidebar{margin-bottom:18px}.admin-search{width:100%}.admin-search input{flex:1}}


/* Optimal final polish */
.topbar{box-shadow:0 8px 28px rgba(26,18,60,.06)}
.btn{transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.btn:hover{transform:translateY(-2px);filter:brightness(1.03)}.btn:active{transform:translateY(0)}
.panel,.metric,.tool-card,.price-card{transition:transform .16s ease,box-shadow .16s ease}.panel:hover,.tool-card:hover,.price-card:hover{box-shadow:0 22px 55px rgba(53,30,110,.12)}
.clear-sidebar h2{font-size:20px;margin:0 0 16px}.clear-sidebar a{border:1px solid transparent}.clear-sidebar a:hover{border-color:rgba(255,255,255,.14)}
.admin-table-wrap,.clear-table{font-size:14px}.clear-table th{white-space:nowrap}.clear-table td{line-height:1.45}.clear-table input[type=checkbox]{width:18px;height:18px;accent-color:#6d38ff}
.admin-action-strip .btn,.clearer-actions .btn{min-height:42px}.list-card{line-height:1.55}.small-note{line-height:1.55}
.alert{display:flex;gap:10px;align-items:flex-start}.alert:before{content:"";display:none}
.form input:focus,.form select:focus,.form textarea:focus,.admin-search input:focus,.admin-search select:focus{outline:3px solid rgba(109,56,255,.16);border-color:#8b5cf6;background:#fff}
.dash .content{padding-bottom:90px}.admin-safe-card b,.clear-account-card b{display:block;margin-bottom:6px}.metric span{line-height:1}
@media(max-width:700px){.content{padding:22px 18px}.topbar{padding:14px 18px}.admin-hero-clear,.user-hero-clear{padding:20px;border-radius:20px}.panel{padding:20px}.btn{width:100%}.admin-action-strip{display:grid}.inline-form input,.inline-form select,.delete-details input{max-width:100%;width:100%}.delete-details form{display:grid}.clear-table{min-width:900px}}

/* Support conversation system */
.mini-count,.nav-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ff4778;color:#fff;font-size:12px;font-weight:900;margin-left:4px}.support-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px;margin-top:18px}.admin-support-layout{grid-template-columns:360px minmax(0,1fr)}.support-list-panel{max-height:720px;overflow:auto}.support-thread-card{display:grid;gap:5px;position:relative;padding:14px 44px 14px 14px;margin:10px 0;border:1px solid rgba(0,0,0,.08);border-radius:18px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 10px 24px rgba(26,18,60,.05)}.support-thread-card:hover,.support-thread-card.active{border-color:#ffd85a;background:#fffdf0}.support-thread-card small{color:#706a86;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-thread-card em{font-style:normal;color:#5f5875;font-size:12px;font-weight:800}.support-unread{position:absolute;right:12px;top:14px;display:grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:#ff4778;color:#fff;font-size:12px;font-weight:900}.support-chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(0,0,0,.08);padding-bottom:14px;margin-bottom:14px}.support-messages{display:grid;gap:12px;max-height:520px;overflow:auto;padding:8px;background:linear-gradient(180deg,#fbf9ff,#fffdf0);border:1px solid rgba(0,0,0,.06);border-radius:22px}.support-bubble{max-width:78%;padding:13px 15px;border-radius:18px;box-shadow:0 10px 24px rgba(26,18,60,.06)}.support-bubble small{display:block;color:#706a86;font-weight:800;margin-bottom:5px}.support-bubble p{margin:0;line-height:1.55}.support-bubble.user{justify-self:start;background:#fff;border:1px solid rgba(0,0,0,.08);border-bottom-left-radius:6px}.support-bubble.admin{justify-self:end;background:#17142b;color:#fff;border-bottom-right-radius:6px}.support-bubble.admin small{color:#f5eecf}.support-reply-form{margin-top:14px}.support-reply-form textarea{width:100%;resize:vertical}.support-search{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.support-search label{flex:1;min-width:260px}.support-float{position:fixed;right:22px;bottom:22px;z-index:60}.support-float-btn{width:64px;height:64px;border:0;border-radius:999px;background:linear-gradient(135deg,#6d38ff,#17142b);color:#fff;box-shadow:0 18px 46px rgba(26,18,60,.28);display:grid;place-items:center;text-decoration:none;font-size:27px;cursor:pointer;position:relative}.support-float-btn span{position:absolute;right:-2px;top:-2px;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#ff4778;color:#fff;font-size:12px;font-weight:900;display:grid;place-items:center;border:2px solid #fff}.support-float-panel{display:none;position:absolute;right:0;bottom:78px;width:340px;max-height:460px;overflow:auto;background:#fff;border:1px solid rgba(0,0,0,.10);border-radius:24px;box-shadow:0 28px 70px rgba(26,18,60,.22);padding:14px}.support-float-open .support-float-panel{display:block}.support-float-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.support-float-head a{font-size:13px;font-weight:900;color:#6d38ff;text-decoration:none}.support-float-row{display:grid;gap:3px;position:relative;text-decoration:none;color:inherit;padding:12px 42px 12px 12px;border-radius:16px;border:1px solid rgba(0,0,0,.07);margin:8px 0;background:#fffdf8}.support-float-row:hover{background:#fff6ca}.support-float-row small{color:#706a86;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-float-row em{position:absolute;right:10px;top:12px;display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#ff4778;color:#fff;font-style:normal;font-size:12px;font-weight:900}
@media(max-width:920px){.support-layout,.admin-support-layout{grid-template-columns:1fr}.support-list-panel{max-height:none}.support-bubble{max-width:92%}.support-float-panel{width:calc(100vw - 34px);right:-5px}.support-float{right:16px;bottom:16px}.support-float-btn{width:58px;height:58px}}

/* Responsive excellence pass - phone, tablet, laptop */
html{font-size:16px;-webkit-text-size-adjust:100%}body{overflow-x:hidden}img,video,canvas,svg,model-viewer{max-width:100%;height:auto}button,input,select,textarea{font-size:16px;max-width:100%}.topbar{gap:18px}.brand{min-width:0}.brand span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}nav{min-width:0;justify-content:flex-end}nav a{white-space:nowrap}.section,.hero,.content{max-width:100vw}.hero{grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr)}.hero-card,.panel,.metric,.price-card,.tool-card{min-width:0}.grid,.metric-grid,.stat-row{min-width:0}.form input,.form select,.form textarea{min-height:48px}.btn,.pill{min-height:44px;text-align:center;touch-action:manipulation}.footer{flex-wrap:wrap;text-align:center}.admin-table-wrap,.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:18px}.admin-table,.clear-table,table{max-width:100%}.result-box,pre,code{max-width:100%;overflow:auto}.dash{grid-template-columns:260px minmax(0,1fr)}.sidebar{min-width:0}.content{min-width:0}.support-messages,.chat-list,.gpt-messages{overscroll-behavior:contain}.gpt-shell{grid-template-columns:300px minmax(0,1fr)}.gpt-main{min-width:0}.gpt-topbar{min-width:0}.mode-pills{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.mode-pills a{white-space:nowrap}.composer textarea{max-height:38vh}.generated-media{height:auto}.msg-bubble,.message-text{overflow-wrap:anywhere}.support-chat-head,.admin-hero-clear,.user-hero-clear{min-width:0}.support-search input,.support-search select,.support-search textarea{width:100%}
@media(max-width:1200px){.hero{gap:30px}.section{padding:58px 5vw}.content{padding:30px 4vw}.stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid,.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.price-card.featured{transform:none}.gpt-shell{grid-template-columns:270px minmax(0,1fr)}.composer{left:270px}.support-layout{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:900px){.topbar{position:relative;align-items:stretch;flex-direction:column;padding:14px 18px}.brand{font-size:20px}.logo{width:40px;height:40px;border-radius:13px}nav{width:100%;display:flex;gap:8px;overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding:4px 0 2px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}nav a,.pill{flex:0 0 auto;padding:10px 13px;border-radius:999px;background:rgba(109,56,255,.08)}nav .pill{background:linear-gradient(135deg,var(--p1),#35b9ff)}.hero{grid-template-columns:1fr;min-height:auto;padding:52px 18px}.section{padding:48px 18px}.hero p,.lead{font-size:17px}.hero-card{padding:24px;border-radius:24px}.dash{display:block;min-height:auto}.sidebar{display:block;margin:0;padding:14px 18px;border-radius:0;background:#1d1738;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}.sidebar a{display:inline-flex;margin-right:8px}.content{padding:24px 18px}.metric-grid,.grid,.stat-row{grid-template-columns:1fr}.admin-quick-grid,.grid[style*="1fr 1fr"]{grid-template-columns:1fr!important}.gpt-shell{display:block;min-height:100vh}.gpt-sidebar{position:relative;top:auto;height:auto;max-height:none;border-right:0;border-bottom:1px solid rgba(255,255,255,.10)}.chat-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(180px,240px);overflow-x:auto;overflow-y:hidden;padding-bottom:4px}.side-bottom{display:flex;flex-wrap:wrap}.gpt-main{height:auto;min-height:100vh}.gpt-topbar{height:auto;display:grid;gap:12px;padding:16px 18px}.composer{position:sticky;left:auto;right:auto;bottom:0;grid-template-columns:1fr;gap:9px;padding:12px 14px 14px;background:rgba(7,5,14,.96);backdrop-filter:blur(14px)}.gpt-messages{padding:22px 16px 24px}.welcome-card{margin:28px auto 0;padding:26px 18px}.welcome-card h1{font-size:clamp(30px,8vw,42px)}.msg-row,.msg-row.user{grid-template-columns:36px minmax(0,1fr);gap:10px;margin:14px 0}.avatar{width:36px;height:36px;border-radius:12px}.support-layout,.admin-support-layout{grid-template-columns:1fr}.support-chat-head{display:grid}.support-search{display:grid}.support-search label{min-width:0}.support-bubble{max-width:96%}}
@media(max-width:640px){h1{font-size:clamp(34px,11vw,44px)}.section h2{font-size:clamp(28px,9vw,38px)}.topbar{padding:12px 14px}.brand{font-size:18px}.brand span:last-child{max-width:72vw}.hero{padding:38px 14px}.section{padding:38px 14px}.content{padding:20px 14px}.panel,.metric,.price-card,.tool-card{padding:18px;border-radius:20px}.metric b,.big-stats .metric b{font-size:24px}.price{font-size:34px}.auth{margin:24px 14px}.btn,.pill{width:100%;justify-content:center}.topbar .pill,nav .pill,nav a{width:auto}.form{gap:12px}.form input,.form select,.form textarea{border-radius:14px;padding:13px 14px}.alert{font-size:14px}.admin-action-strip,.bulk-tools,.inline-form,.delete-details form,.actions{display:grid!important;grid-template-columns:1fr;width:100%}.inline-form input,.inline-form select,.delete-details input{max-width:100%;width:100%}.clear-table{min-width:820px}.admin-table{min-width:760px}.support-float{right:12px;bottom:12px}.support-float-btn{width:54px;height:54px;font-size:24px}.support-float-panel{width:calc(100vw - 24px);right:0;bottom:66px;border-radius:20px}.support-messages{max-height:58vh}.support-bubble{max-width:100%}.chat-window{padding:14px;border-radius:22px}.chat-input{padding:12px;border-radius:20px}.bubble{padding:14px;border-radius:18px}.gpt-topbar{padding:14px}.mode-pills{border-radius:18px}.mode-pills a{padding:8px 12px}.msg-bubble{padding:14px;border-radius:18px}.generated-media,img.generated-media{max-height:60vh}.mini-grid span{width:100%;text-align:center}.footer{padding:24px 14px}.admin-safe-card,.clear-account-card{width:100%;min-width:0}.user-hero-clear,.admin-hero-clear{padding:18px;border-radius:20px}}
@media(max-width:420px){.brand span:last-child{max-width:64vw}.hero p,.lead{font-size:16px}.panel,.metric,.price-card,.tool-card{padding:16px}.clear-table{min-width:760px}.admin-table{min-width:700px}.composer select,.composer textarea,.composer .btn{width:100%}.gpt-messages{padding-left:12px;padding-right:12px}.msg-row,.msg-row.user{grid-template-columns:1fr}.avatar{display:none}.support-float-panel{right:-6px}.chat-link{font-size:14px}.side-brand{font-size:20px}}
@media(hover:none){nav a:hover,.btn:hover,.panel:hover,.tool-card:hover,.price-card:hover{transform:none}.chat-link:hover{transform:none}}

/* Final cross-device polish */
@supports(height:100dvh){.dash{min-height:calc(100dvh - 83px)}}
@media(max-width:760px){
  body{min-width:320px;}
  input,select,textarea{font-size:16px!important;}
  .topbar{position:sticky;top:0;z-index:20;backdrop-filter:blur(16px);}
  .panel,.metric,.price-card,.tool-card,.hero-card{box-shadow:0 14px 40px rgba(53,30,110,.10);}
  table{border-collapse:separate;border-spacing:0;}
  .btn,.pill,button,a{ -webkit-tap-highlight-color:transparent; }
}


/* === Emergency mobile separation fix: dashboard, history and libraries never overlap === */
@media (max-width: 900px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important;}
  .dash{display:flex!important;flex-direction:column!important;min-height:auto!important;}
  .dash>.sidebar,.dash>.clear-sidebar{position:sticky!important;top:0!important;z-index:25!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;display:flex!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;padding:10px 12px!important;border-radius:0!important;box-shadow:0 12px 28px rgba(29,23,56,.18)!important;scroll-snap-type:x proximity!important;}
  .dash>.sidebar a,.dash>.clear-sidebar a{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;min-height:42px!important;margin:0!important;padding:10px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.08)!important;scroll-snap-align:start!important;}
  .dash>.content{width:100%!important;max-width:100%!important;padding:18px 12px 28px!important;overflow:hidden!important;}
  .user-hero-panel,.admin-hero-panel,.user-hero-clear,.admin-hero-clear{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;align-items:start!important;width:100%!important;min-width:0!important;}
  .library-grid,.clearer-actions,.admin-quick-grid,.big-stats,.user-stats,.admin-stats,.stat-row,.metric-grid,.grid{grid-template-columns:1fr!important;width:100%!important;min-width:0!important;}
  .tool-card,.panel,.metric,.price-card{width:100%!important;min-width:0!important;overflow:hidden!important;}
  .admin-panel-head{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .admin-search{display:grid!important;grid-template-columns:1fr!important;width:100%!important;}
  .admin-search input{min-width:0!important;width:100%!important;}
}
@media (max-width: 560px){
  .dash>.content{padding:14px 10px 24px!important;}
  .dash>.sidebar,.dash>.clear-sidebar{padding:9px 10px!important;}
  .dash>.sidebar a,.dash>.clear-sidebar a{font-size:13px!important;min-height:40px!important;padding:9px 11px!important;}
  .panel,.metric,.price-card,.tool-card{padding:15px!important;border-radius:18px!important;}
}

/* === GrowthPilotAI multilingual UI === */
.lang-switch{position:relative;display:inline-flex;align-items:center;margin-left:6px;z-index:60}
.lang-current{border:1px solid rgba(120,104,180,.25);background:rgba(255,255,255,.9);color:#221a46;border-radius:999px;padding:8px 10px;font-weight:800;cursor:pointer;box-shadow:0 8px 22px rgba(39,31,86,.08);line-height:1}
.lang-menu{position:absolute;right:0;top:calc(100% + 10px);min-width:170px;background:#fff;border:1px solid rgba(120,104,180,.2);border-radius:16px;box-shadow:0 18px 45px rgba(39,31,86,.18);padding:8px;display:none;z-index:1000}
.lang-open .lang-menu{display:grid;gap:4px}
.lang-option{display:flex!important;align-items:center;gap:8px;text-decoration:none;border-radius:12px;padding:10px 12px;color:#221a46!important;font-weight:800;white-space:nowrap}
.lang-option:hover,.lang-option.active{background:#f2edff;color:#5b35d5!important}
@media(max-width:760px){.topbar nav .lang-switch{margin-left:auto;order:99}.lang-current{min-height:40px;padding:9px 11px}.lang-menu{position:fixed;right:12px;top:64px;left:auto;max-width:calc(100vw - 24px)}body.lang-open:before{content:"";position:fixed;inset:0;background:rgba(20,16,43,.18);z-index:55;backdrop-filter:blur(2px)}}


/* Donation support button - safe front-end only */
.donate-nav-link{display:inline-flex!important;align-items:center;gap:7px;padding:10px 14px;border-radius:999px;background:linear-gradient(135deg,#ffe08a,#ffbd28);color:#231500!important;font-weight:950;box-shadow:0 10px 24px rgba(255,189,40,.22)}
.donate-nav-link:hover{color:#231500!important;transform:translateY(-1px) scale(1.03)!important}
.donation-strip{margin:34px 6vw 0;padding:18px;border:1px solid rgba(255,215,106,.42);border-radius:24px;background:linear-gradient(135deg,rgba(255,224,138,.92),rgba(255,255,255,.84));box-shadow:0 18px 42px rgba(53,30,110,.10);display:flex;align-items:center;justify-content:space-between;gap:18px;color:#231500}
.donation-copy{display:grid;gap:5px;min-width:0}.donation-copy strong{font-size:18px;font-weight:950}.donation-copy span{color:#5c4a18;font-weight:750;line-height:1.45}.donation-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.donation-actions code{padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.72);border:1px solid rgba(90,62,0,.14);font-weight:950;color:#231500;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.donate-btn{border:0;border-radius:999px;padding:12px 16px;background:linear-gradient(135deg,#6d38ff,#35b9ff);color:white;font-weight:950;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;min-height:46px;box-shadow:0 12px 26px rgba(109,56,255,.22);transition:transform .18s ease,filter .18s ease}.donate-btn:hover{transform:translateY(-1px);filter:saturate(1.05)}.donate-btn.copied{background:linear-gradient(135deg,#16a34a,#22c55e)}.donation-home{padding-top:10px}.donation-home-card{background:linear-gradient(135deg,#fffaf0,#f4edff)}.donation-actions-large code{font-size:16px}.donate-btn-large{font-size:16px;padding:14px 18px}
@media(max-width:900px){.donation-strip{margin:24px 14px 0;align-items:flex-start;flex-direction:column}.donation-actions{width:100%;display:grid;grid-template-columns:1fr}.donation-actions code{width:100%;text-align:center;white-space:normal;overflow-wrap:anywhere}.donate-btn{width:100%}.donate-nav-link{padding:9px 11px;font-size:13px}}
@media(max-width:640px){.donation-strip{border-radius:20px;padding:16px}.donation-copy strong{font-size:16px}.donation-copy span{font-size:14px}.donation-home{padding:26px 14px 10px}.donate-nav-link{order:98}}

/* Community sharing */
.share-choice{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);font-weight:850;color:#efe9ff;white-space:nowrap;cursor:pointer}
.share-choice input{accent-color:#f7d774;width:16px;height:16px}.share-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.shared-badge{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:rgba(89,224,162,.14);border:1px solid rgba(89,224,162,.28);color:#a8ffd0;font-size:12px;font-weight:900}.community-hero{max-width:1180px;margin:30px auto 14px;padding:28px;display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid rgba(255,255,255,.12);border-radius:28px;background:radial-gradient(circle at 0 0,rgba(139,92,246,.24),transparent 38%),rgba(255,255,255,.05);box-shadow:0 24px 80px rgba(0,0,0,.25)}.community-hero h1{margin:4px 0 8px;font-size:clamp(32px,5vw,64px);letter-spacing:-.06em}.community-hero p{color:#d8d0ee;max-width:720px}.eyebrow{font-weight:950;text-transform:uppercase;letter-spacing:.14em;color:#f7d774}.community-tabs{max-width:1180px;margin:0 auto 18px;display:flex;gap:10px;overflow:auto;padding:6px}.community-tabs a{white-space:nowrap;text-decoration:none;color:#eee7ff;font-weight:900;padding:11px 15px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}.community-tabs a.active{background:linear-gradient(135deg,#f7d774,#fff0a8);color:#150c2e}.community-grid{max-width:1180px;margin:0 auto 50px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.community-card{overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:rgba(255,255,255,.055);box-shadow:0 18px 52px rgba(0,0,0,.24)}.community-card-head{display:flex;justify-content:space-between;gap:10px;padding:14px 16px;color:#ddd4f6;font-weight:900}.community-card-head span{color:#f7d774}.community-media,.community-model{display:block;width:100%;height:260px;object-fit:cover;background:#090515}.community-model{--poster-color:#090515}.community-body{padding:16px}.community-body h3{margin:0 0 8px;font-size:18px}.community-body p{margin:0;color:#d8d0ee;line-height:1.55}.community-meta{display:flex;justify-content:space-between;gap:10px;margin-top:14px;color:#a99ad0;font-size:13px;font-weight:800}.community-meta a{color:#f7d774}.empty-community{grid-column:1/-1;text-align:center}
@media(max-width:900px){.community-hero{margin:14px 12px;flex-direction:column;align-items:flex-start;padding:22px}.community-grid{grid-template-columns:1fr 1fr;margin-left:12px;margin-right:12px}.community-tabs{margin-left:10px;margin-right:10px}.community-media,.community-model{height:230px}.share-choice{width:100%;justify-content:center}}
@media(max-width:560px){.community-grid{grid-template-columns:1fr}.community-media,.community-model{height:250px}.community-hero h1{font-size:36px}.community-tabs{padding-bottom:10px}.share-toolbar .ghost-btn,.share-toolbar .media-link{flex:1 1 auto;text-align:center}}

/* === Community page professional scale + fill polish === */
.community-page{
  --community-bg:#0b0718;
  --community-panel:rgba(255,255,255,.075);
  --community-panel-strong:rgba(255,255,255,.105);
  --community-line:rgba(255,255,255,.13);
  --community-text:#f7f2ff;
  --community-muted:#c9bee6;
  --community-gold:#f7d774;
  margin-top:0;
  padding:28px 0 64px;
  min-height:calc(100vh - 84px);
  color:var(--community-text);
  background:
    radial-gradient(circle at 18% 0%,rgba(122,72,255,.38),transparent 34%),
    radial-gradient(circle at 86% 16%,rgba(53,185,255,.20),transparent 34%),
    linear-gradient(180deg,#120c28 0%,#090614 62%,#0d081c 100%);
  overflow:hidden;
}
.community-page .community-shell{
  width:min(100% - 44px,1360px);
  margin-left:auto;
  margin-right:auto;
}
.community-page .community-hero{
  max-width:none;
  margin-top:0;
  margin-bottom:18px;
  padding:clamp(24px,4vw,46px);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,360px);
  gap:24px;
  align-items:stretch;
  border-radius:34px;
  border:1px solid var(--community-line);
  background:
    linear-gradient(135deg,rgba(255,255,255,.115),rgba(255,255,255,.045)),
    radial-gradient(circle at 10% 0%,rgba(247,215,116,.18),transparent 34%);
  box-shadow:0 30px 90px rgba(0,0,0,.34);
  backdrop-filter:blur(16px);
}
.community-hero-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.community-page .community-hero h1{
  max-width:920px;
  margin:6px 0 12px;
  color:#fff;
  text-wrap:balance;
}
.community-page .community-hero p{max-width:780px;color:var(--community-muted);font-size:clamp(16px,1.6vw,20px);line-height:1.65}
.community-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.community-soft-btn{background:rgba(255,255,255,.09)!important;color:#fff!important;border-color:rgba(255,255,255,.16)!important}
.community-hero-panel{
  min-height:220px;
  border-radius:28px;
  border:1px solid rgba(247,215,116,.28);
  background:linear-gradient(155deg,rgba(247,215,116,.22),rgba(255,255,255,.075));
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:26px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 18px 52px rgba(0,0,0,.20);
}
.community-hero-panel strong{font-size:clamp(48px,6vw,82px);line-height:.9;letter-spacing:-.07em;color:#fff}
.community-hero-panel span{margin-top:10px;font-size:20px;font-weight:950;color:var(--community-gold)}
.community-hero-panel small{margin-top:6px;color:var(--community-muted);line-height:1.45}
.community-toolbar{position:sticky;top:82px;z-index:8;margin-bottom:18px;padding:8px;border-radius:26px;background:rgba(13,8,28,.72);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(16px);box-shadow:0 18px 48px rgba(0,0,0,.20)}
.community-page .community-tabs{max-width:none;margin:0;display:flex;gap:10px;overflow:auto;padding:4px;scrollbar-width:thin}
.community-page .community-tabs a{display:inline-flex;align-items:center;gap:9px;padding:12px 16px;background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.12);color:#f0eaff;box-shadow:none;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.community-page .community-tabs a:hover{transform:translateY(-1px);background:rgba(255,255,255,.11)}
.community-page .community-tabs a b{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:rgba(255,255,255,.13);font-size:12px;color:inherit}
.community-page .community-tabs a.active{background:linear-gradient(135deg,#f7d774,#fff1a8);color:#150c2e;border-color:rgba(247,215,116,.45)}
.community-page .community-tabs a.active b{background:rgba(21,12,46,.12)}
.community-page .community-grid{
  max-width:none;
  margin-top:0;
  margin-bottom:0;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(290px,1fr));
  grid-auto-flow:dense;
  align-items:stretch;
  gap:20px;
}
.community-page .community-card{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
  border-radius:28px;
  border:1px solid var(--community-line);
  background:linear-gradient(180deg,var(--community-panel-strong),var(--community-panel));
  box-shadow:0 22px 64px rgba(0,0,0,.30);
  backdrop-filter:blur(12px);
  transform:translateZ(0);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.community-page .community-card:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);pointer-events:none}
.community-page .community-card:hover{transform:translateY(-4px);border-color:rgba(247,215,116,.30);box-shadow:0 30px 80px rgba(0,0,0,.38)}
.community-page .featured-community-card{grid-column:span 2;grid-row:span 2}
.community-page .community-card-head{padding:14px 16px;align-items:center;border-bottom:1px solid rgba(255,255,255,.075)}
.community-page .community-card-head span{display:inline-flex;align-items:center;gap:7px;color:var(--community-gold);font-weight:950}
.community-page .community-card-head small{color:#b7acd4;font-weight:850}
.community-media-link{display:block;overflow:hidden;background:#090515}
.community-page .community-media,.community-page .community-model{
  width:100%;
  height:auto;
  min-height:260px;
  aspect-ratio:4/3;
  object-fit:cover;
  background:linear-gradient(135deg,#070311,#17102f);
}
.community-page .featured-community-card .community-media,.community-page .featured-community-card .community-model{aspect-ratio:16/10;min-height:420px}
.community-page .community-text-preview{
  flex:1;
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:16px;
  padding:26px;
  background:
    radial-gradient(circle at 20% 0%,rgba(247,215,116,.19),transparent 34%),
    linear-gradient(145deg,rgba(109,56,255,.28),rgba(53,185,255,.10));
}
.community-page .community-text-preview span{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:rgba(255,255,255,.13);color:var(--community-gold);font-size:22px}
.community-page .community-text-preview p{margin:0;color:#fff;font-weight:850;font-size:clamp(18px,1.8vw,24px);line-height:1.42;letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:9;-webkit-box-orient:vertical;overflow:hidden}
.community-page .community-body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:0 0 auto;background:linear-gradient(180deg,rgba(8,4,18,.04),rgba(8,4,18,.22))}
.community-page .community-body h3{margin:0;color:#fff;font-size:19px;line-height:1.25;letter-spacing:-.025em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.community-page .community-body p{margin:0;color:var(--community-muted);line-height:1.55;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.community-page .community-meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#aaa0c9;font-size:13px;font-weight:850;border-top:1px solid rgba(255,255,255,.075);padding-top:12px}
.community-page .community-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-page .community-meta a{flex:0 0 auto;color:#130d25;background:linear-gradient(135deg,#f7d774,#fff0a8);padding:8px 11px;border-radius:999px;font-weight:950}
.community-page .empty-community{grid-column:1/-1;max-width:720px;margin:20px auto;padding:36px;text-align:center;background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.13)}
.community-page .empty-community p{color:var(--community-muted)}
@media(min-width:1180px){
  .community-page .community-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
  .community-page .kind-text:not(.featured-community-card){grid-row:span 1;}
}
@media(max-width:980px){
  .community-page{padding-top:16px;}
  .community-page .community-shell{width:min(100% - 24px,1360px)}
  .community-page .community-hero{grid-template-columns:1fr;border-radius:28px;}
  .community-hero-panel{min-height:150px;}
  .community-toolbar{top:0;border-radius:22px;}
  .community-page .community-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .community-page .featured-community-card{grid-column:1/-1;grid-row:auto;}
  .community-page .community-media,.community-page .community-model{min-height:220px;}
  .community-page .featured-community-card .community-media,.community-page .featured-community-card .community-model{min-height:280px;}
}
@media(max-width:620px){
  .community-page{padding:12px 0 44px;}
  .community-page .community-shell{width:min(100% - 20px,1360px)}
  .community-page .community-hero{padding:20px;border-radius:24px;margin-bottom:12px;}
  .community-page .community-hero h1{font-size:36px;line-height:1.02;}
  .community-page .community-hero p{font-size:15px;line-height:1.55;}
  .community-hero-actions{display:grid;grid-template-columns:1fr;width:100%;}
  .community-hero-actions .btn{width:100%;}
  .community-hero-panel{display:none;}
  .community-toolbar{width:100%;border-left:0;border-right:0;border-radius:0;margin-bottom:12px;}
  .community-page .community-tabs{gap:8px;padding:4px 10px;}
  .community-page .community-tabs a{padding:10px 12px;font-size:13px;}
  .community-page .community-grid{grid-template-columns:1fr;gap:14px;}
  .community-page .community-card{border-radius:24px;}
  .community-page .community-media,.community-page .community-model,.community-page .featured-community-card .community-media,.community-page .featured-community-card .community-model{min-height:0;aspect-ratio:1/1;}
  .community-page .community-text-preview{min-height:210px;padding:22px;}
  .community-page .community-text-preview p{font-size:19px;-webkit-line-clamp:7;}
  .community-page .community-body{padding:16px;}
}
/* === Ultimate visibility + responsive polish === */
:root{
  --radius-sm:14px;--radius:22px;--radius-lg:30px;
  --safe-x:clamp(14px,4vw,64px);
}
html{font-size:16px;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body{line-height:1.5;overflow-x:hidden;min-width:320px}
img,video,canvas,svg,model-viewer,iframe{max-width:100%;height:auto}
button,input,select,textarea{font:inherit;max-width:100%}
button,.btn,.pill,a{touch-action:manipulation}
:focus-visible{outline:3px solid rgba(109,56,255,.55);outline-offset:3px;border-radius:12px}
.content,.section,.wrap,.community-shell,.gpt-main,.gpt-messages,.panel,.tool-card,.price-card,.metric,.community-card{min-width:0}

/* Navigation: visible, wrapped and not overflowing */
.topbar{gap:16px;min-height:76px}
.topbar nav{min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin;padding-bottom:2px}
.topbar nav a,.topbar .btn,.topbar .pill{white-space:nowrap;flex:0 0 auto}
.brand{min-width:0}.brand span,.brand strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Cards and sections */
.section{padding-inline:var(--safe-x)}
.panel,.tool-card,.price-card,.metric,.hero-card{overflow:hidden;border-radius:var(--radius-lg)}
.grid,.metric-grid,.stat-row,.library-grid,.clearer-actions{align-items:stretch}
.grid>* ,.metric-grid>* ,.stat-row>* ,.library-grid>*{min-width:0}
.form input,.form select,.form textarea{min-height:48px}
.btn,.pill{min-height:44px;text-align:center;line-height:1.15}

/* Tables and admin data should always be reachable */
table{width:100%;border-collapse:collapse}
.table-wrap,.admin-table-wrap,.payments-table,.users-table{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:18px}
td,th{overflow-wrap:anywhere}

/* Dashboard layout: desktop stable, mobile clean */
.dash{background:linear-gradient(180deg,#fbfaff,#f4efff)}
.dash .content{overflow:visible}
.sidebar{min-width:0}.sidebar a{overflow:hidden;text-overflow:ellipsis}
@media (min-width:901px){
  .dash{grid-template-columns:minmax(220px,280px) minmax(0,1fr)}
  .dash>.content{padding:clamp(24px,4vw,48px)}
}
@media (max-width:900px){
  .topbar{position:sticky;top:0;z-index:50;padding:12px var(--safe-x);align-items:stretch;background:rgba(255,255,255,.92)}
  .brand{font-size:19px}.logo{width:38px;height:38px;border-radius:12px}
  .topbar nav{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:2px 0 6px;margin-inline:-2px}
  .topbar nav a,.topbar .btn,.topbar .pill{padding:9px 12px;border-radius:999px;font-size:13px;min-height:40px;background:rgba(109,56,255,.08);border:1px solid rgba(109,56,255,.12)}
  .dash{display:flex!important;flex-direction:column!important;min-height:auto!important;background:#f8f5ff}
  .dash>.sidebar,.dash>.clear-sidebar{display:flex!important;position:sticky!important;top:64px!important;z-index:30!important;width:100%!important;max-width:100%!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:10px var(--safe-x)!important;background:#1d1738!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
  .dash>.sidebar a,.dash>.clear-sidebar a{flex:0 0 auto!important;white-space:nowrap!important;min-height:40px!important;padding:9px 12px!important;border-radius:999px!important;font-size:13px!important;background:rgba(255,255,255,.08)!important;color:#fff!important}
  .dash>.content{width:100%!important;padding:18px var(--safe-x) 34px!important;overflow:visible!important}
  .stat-row,.metric-grid,.grid,.library-grid,.clearer-actions,.admin-quick-grid,.big-stats,.user-stats,.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .panel,.tool-card,.price-card,.metric{padding:18px!important;border-radius:22px!important;box-shadow:0 12px 30px rgba(53,30,110,.08)}
}
@media (max-width:620px){
  :root{--safe-x:12px}
  h1{font-size:clamp(32px,11vw,44px);line-height:1.04}.section h2{font-size:clamp(28px,9vw,38px)}
  .hero{padding:34px var(--safe-x);min-height:auto;gap:20px}
  .hero p,.lead{font-size:16px;line-height:1.6}
  .stat-row,.metric-grid,.grid,.library-grid,.clearer-actions,.admin-quick-grid,.big-stats,.user-stats,.admin-stats{grid-template-columns:1fr!important}
  .panel,.tool-card,.price-card,.metric,.hero-card{padding:16px!important;border-radius:20px!important}
  .footer{display:grid;text-align:center;padding:28px var(--safe-x)}
}

/* Chat/mobile: no overlap with libraries/dashboards */
.gpt-shell{min-width:0}.gpt-main{min-width:0}.gpt-messages{scroll-padding-bottom:120px}
@media(max-width:820px){
  .gpt-shell{display:block;min-height:100dvh}
  .gpt-sidebar{position:fixed;inset:0 auto 0 0;width:min(86vw,320px);height:100dvh;z-index:90;transform:translateX(-105%);transition:transform .22s ease;box-shadow:24px 0 80px rgba(0,0,0,.38)}
  body.menu-open .gpt-sidebar,.gpt-sidebar.open{transform:translateX(0)}
  .gpt-main{height:100dvh;min-height:100dvh}
  .gpt-topbar{height:58px;padding:10px 12px;gap:10px;position:sticky;top:0;z-index:40}
  .mode-pills{overflow-x:auto;max-width:56vw}.mode-pills a{white-space:nowrap;padding:8px 10px;font-size:12px}
  .gpt-messages{padding:18px 12px 112px;margin:0;max-width:none}
  .msg-row{grid-template-columns:34px 1fr;gap:9px;margin:13px 0}.avatar{width:32px;height:32px;border-radius:11px;font-size:10px}.msg-bubble{padding:13px 14px;border-radius:18px}
  .composer{left:0!important;right:0!important;bottom:0!important;grid-template-columns:1fr auto!important;padding:10px 10px calc(10px + env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,rgba(7,5,14,0),rgba(7,5,14,.97) 20%)!important}
  .composer select{grid-column:1/-1;min-height:40px}.composer textarea{min-height:46px;max-height:150px}.composer button{min-height:46px;padding:10px 14px}
}

/* Community page: modern responsive gallery that fills neatly */
.community-page{overflow-x:hidden!important}
.community-page .community-shell{width:min(100% - clamp(24px,4vw,56px),1440px)!important}
.community-page .community-hero{align-items:stretch!important;min-height:260px!important}
.community-page .community-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))!important;gap:clamp(14px,2vw,24px)!important;align-items:stretch!important;grid-auto-flow:dense!important}
.community-page .community-card{height:100%;min-height:0!important;isolation:isolate}
.community-page .community-card-head{min-height:52px}.community-page .community-card-head small{white-space:nowrap}
.community-page .community-media,.community-page .community-model{display:block;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;object-fit:cover!important}
.community-page video.community-media{object-fit:contain!important;background:#06030d!important}
.community-page .community-body{flex:1!important;min-height:150px!important}.community-page .community-meta{margin-top:auto!important}.community-page .community-meta a{white-space:nowrap}
.community-page .community-text-preview{min-height:240px!important;flex:0 0 auto!important}.community-page .community-text-preview p{overflow-wrap:anywhere}
@media(min-width:1180px){
  .community-page .community-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .community-page .featured-community-card{grid-column:span 2!important;grid-row:span 2!important}
  .community-page .featured-community-card .community-media,.community-page .featured-community-card .community-model{aspect-ratio:16/10!important}
}
@media(min-width:1500px){.community-page .community-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:900px){
  .community-page .community-shell{width:min(100% - 24px,1440px)!important}
  .community-page .community-hero{grid-template-columns:1fr!important;min-height:0!important}.community-hero-panel{min-height:130px!important}
  .community-toolbar{position:sticky!important;top:0!important;z-index:35!important;margin-inline:0!important}.community-page .community-tabs{overflow-x:auto!important;flex-wrap:nowrap!important}
  .community-page .featured-community-card{grid-column:auto!important;grid-row:auto!important}
}
@media(max-width:640px){
  .community-page .community-shell{width:calc(100% - 20px)!important}
  .community-page .community-grid{grid-template-columns:1fr!important;gap:14px!important}
  .community-page .community-hero{padding:18px!important;border-radius:22px!important}.community-page .community-hero h1{font-size:34px!important}
  .community-page .community-card{border-radius:22px!important}.community-page .community-media,.community-page .community-model{aspect-ratio:1/1!important}
  .community-page .community-body{min-height:auto!important}.community-page .community-meta{display:grid!important;grid-template-columns:1fr auto!important;align-items:center}.community-page .community-meta span{white-space:normal!important}
}

/* Donation footer only */
.donation-strip{max-width:1180px;margin:34px auto 0!important;width:calc(100% - 32px)}
@media(max-width:700px){.donation-strip{width:calc(100% - 24px);margin-top:24px!important}}

/* Better contrast for dark cards */
.gpt-shell .small-note,.community-page .small-note,.community-page p{color:var(--community-muted,#c9bee6)}
.message-text,.ai-text,.result-box{overflow-wrap:anywhere}

/* Community competition + complete visibility polish */
.upgraded-community{--community-bg:#080516;--community-card:#161025;--community-line:rgba(255,255,255,.12);--community-soft:rgba(255,255,255,.07);--community-text:#fff;--community-muted:#d7ccef;background:radial-gradient(circle at 20% 0%,rgba(126,87,255,.28),transparent 28%),radial-gradient(circle at 80% 10%,rgba(255,87,180,.16),transparent 24%),linear-gradient(180deg,#070412,#130c23);padding-bottom:42px;color:var(--community-text)}
.upgraded-community .community-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:clamp(16px,3vw,34px);background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.045));border:1px solid var(--community-line);box-shadow:0 26px 90px rgba(0,0,0,.34);backdrop-filter:blur(18px)}
.community-scoreboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:stretch}.community-scoreboard div{display:grid;align-content:center;min-height:96px;padding:18px;border:1px solid var(--community-line);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.055));box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.community-scoreboard strong{font-size:clamp(28px,4vw,46px);line-height:1;color:#fff}.community-scoreboard span{color:var(--community-muted);font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.06em}.community-sort{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}.community-sort a{padding:10px 12px;border-radius:999px;border:1px solid var(--community-line);background:var(--community-soft);color:#f5edff;text-decoration:none;font-weight:850;font-size:13px}.community-sort a.active,.community-sort a:hover{background:linear-gradient(135deg,#7c4dff,#ff4fb8);color:#fff;box-shadow:0 12px 30px rgba(124,77,255,.28)}.community-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;background:rgba(12,8,26,.82)!important;border:1px solid var(--community-line)!important;backdrop-filter:blur(18px)}
.upgraded-community .community-card{display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.105),rgba(255,255,255,.045));border:1px solid var(--community-line);box-shadow:0 20px 70px rgba(0,0,0,.28);transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}.upgraded-community .community-card:hover{transform:translateY(-4px);border-color:rgba(166,136,255,.46);box-shadow:0 28px 90px rgba(0,0,0,.38)}.upgraded-community .community-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--community-line)}.upgraded-community .community-card-head span{padding:7px 10px;border-radius:999px;background:rgba(124,77,255,.18);color:#fff;font-weight:900;font-size:12px}.upgraded-community .community-card-head small{color:var(--community-muted);font-weight:800}.upgraded-community .community-body{display:flex;flex-direction:column;padding:16px;gap:10px;color:#fff}.upgraded-community .community-body h3{margin:0;color:#fff;font-size:18px;line-height:1.25}.upgraded-community .community-body p{margin:0;color:var(--community-muted);line-height:1.55}.upgraded-community .community-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--community-muted);font-size:13px}.upgraded-community .community-meta a{color:#fff;font-weight:900}.community-competition-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 14px 14px;margin-top:auto;border-top:1px solid var(--community-line);background:rgba(0,0,0,.18)}.community-action,.community-stat{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 10px;border-radius:999px;border:1px solid var(--community-line);background:rgba(255,255,255,.075);color:#fff;text-decoration:none;font-weight:900;font-size:13px;cursor:pointer}.community-action b,.community-stat b{font-variant-numeric:tabular-nums}.community-action:hover,.community-action.active{background:linear-gradient(135deg,rgba(124,77,255,.95),rgba(255,79,184,.9));border-color:transparent;color:#fff}.community-action:disabled{opacity:.62;cursor:wait}.community-action.copied{background:linear-gradient(135deg,#12b981,#22c55e)!important}.community-stat{cursor:default;background:rgba(255,255,255,.045);color:#ffe7a8}.community-text-preview{background:linear-gradient(135deg,rgba(124,77,255,.18),rgba(255,79,184,.12))!important;color:#fff}.community-text-preview p{color:#fff!important}.community-media-link{display:block;background:#090612}.community-media,.community-model{background:#090612;border-bottom:1px solid var(--community-line)}
@media(max-width:980px){.community-toolbar{grid-template-columns:1fr!important}.community-sort{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.community-sort a{flex:0 0 auto}.upgraded-community .community-hero{grid-template-columns:1fr}.community-scoreboard{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.community-scoreboard{grid-template-columns:repeat(2,minmax(0,1fr))}.community-scoreboard div{min-height:78px;padding:14px;border-radius:18px}.community-competition-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.community-action,.community-stat{width:100%;min-height:42px}.community-action span{display:inline}.community-sort{margin-inline:-2px}.community-sort a{font-size:12px;padding:9px 10px}.upgraded-community .community-body h3{font-size:17px}.upgraded-community .community-card:hover{transform:none}}

/* === Final privacy-safe language selector polish === */
.lang-switch{position:relative;display:inline-flex;align-items:center;margin-left:8px;z-index:2000}
.lang-current{min-height:44px;border:1px solid rgba(109,56,255,.22);background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(246,241,255,.96));color:#201542;border-radius:999px;padding:8px 12px 8px 10px;font-weight:950;cursor:pointer;box-shadow:0 12px 30px rgba(39,31,86,.13);line-height:1;display:inline-flex;align-items:center;gap:7px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.lang-current:hover,.lang-current:focus-visible{transform:translateY(-1px);box-shadow:0 16px 38px rgba(39,31,86,.18);border-color:rgba(109,56,255,.42);outline:none}
.lang-globe{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:linear-gradient(135deg,#6d38ff,#35b9ff);font-size:14px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.lang-flag{font-size:18px}.lang-label{font-size:13px;letter-spacing:.04em}.lang-chevron{font-size:16px;line-height:1;transition:transform .16s ease;color:#6d38ff}.lang-open .lang-current .lang-chevron{transform:rotate(180deg)}
.lang-menu{position:absolute;left:calc(100% + 12px);top:50%;transform:translateY(-50%);min-width:230px;background:rgba(255,255,255,.98);border:1px solid rgba(109,56,255,.18);border-radius:22px;box-shadow:0 24px 70px rgba(29,21,66,.28);padding:10px;display:none;z-index:3000;backdrop-filter:blur(18px)}
.lang-open .lang-menu{display:grid;gap:6px;animation:gpaiLangPopRight .15s ease-out}.lang-menu-title{padding:7px 10px 4px;color:#7d719f;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.11em}.lang-option{display:grid!important;grid-template-columns:30px 1fr 20px;align-items:center;gap:9px;text-decoration:none;border-radius:16px;padding:11px 10px;color:#221a46!important;font-weight:900;white-space:nowrap;border:1px solid transparent;transition:background .15s ease,transform .15s ease,border-color .15s ease}.lang-option:hover{background:#f4efff;transform:translateX(2px)}.lang-option.active{background:linear-gradient(135deg,#efe7ff,#e7f6ff);border-color:rgba(109,56,255,.18);color:#4c24c9!important}.lang-option-flag{font-size:22px}.lang-option b{display:block;font-size:14px}.lang-option small{display:block;color:#85789f;font-size:11px;font-weight:950;margin-top:2px}.lang-option em{font-style:normal;color:#16a34a;font-weight:1000}.lang-open:has(.lang-menu){ }
@keyframes gpaiLangPopRight{from{opacity:0;transform:translate(-8px,-50%) scale(.98)}to{opacity:1;transform:translate(0,-50%) scale(1)}}
@media(max-width:760px){.topbar nav .lang-switch{margin-left:0;order:99;position:relative}.lang-current{min-height:42px;padding:8px 11px}.lang-menu{position:absolute;left:calc(100% + 10px);right:auto;top:50%;transform:translateY(-50%);min-width:min(230px,calc(100vw - 96px));max-width:calc(100vw - 96px);border-radius:22px;padding:10px}.lang-option{min-height:50px}.lang-open:before{content:"";position:fixed;inset:0;background:rgba(20,16,43,.18);z-index:1500;backdrop-filter:blur(3px);pointer-events:none}}
@media(max-width:520px){.lang-menu{min-width:min(210px,calc(100vw - 86px));max-width:calc(100vw - 86px)}.lang-option{grid-template-columns:26px 1fr 18px;padding:10px 9px}.lang-option b{font-size:13px}.lang-option small{font-size:10px}}

/* Privacy info strip */
.privacy-note{display:flex;align-items:flex-start;gap:12px;margin:16px 0 0;padding:14px 16px;border-radius:20px;background:rgba(89,224,162,.10);border:1px solid rgba(89,224,162,.24);color:#eafff3;font-weight:800;line-height:1.45}.privacy-note strong{display:block;color:#a8ffd0}.privacy-note span{display:block;color:#dbfff0;font-size:14px;font-weight:750}
@media(max-width:640px){.privacy-note{border-radius:18px;padding:13px 14px;font-size:14px}}

/* === Trust polish upgrade: professional credibility layer === */
.hero-trust-mini{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.hero-trust-mini span{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid rgba(109,56,255,.12);box-shadow:0 10px 22px rgba(53,30,110,.08);font-size:13px;font-weight:900;color:#3c315f}
.trust-modern{position:relative;overflow:hidden}
.trust-modern:before{content:"";position:absolute;inset:34px 4vw auto auto;width:240px;height:240px;border-radius:999px;background:radial-gradient(circle,rgba(109,56,255,.16),transparent 68%);pointer-events:none}
.trust-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
.trust-proof-card{position:relative;background:linear-gradient(180deg,#fff,#fbf8ff);border:1px solid var(--line);border-radius:30px;padding:24px;box-shadow:0 18px 42px rgba(53,30,110,.10);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.trust-proof-card:hover{transform:translateY(-4px);box-shadow:0 24px 54px rgba(53,30,110,.15);border-color:rgba(109,56,255,.28)}
.trust-proof-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#f2eaff,#fff7d8);box-shadow:inset 0 0 0 1px rgba(109,56,255,.11);font-size:22px;margin-bottom:14px}
.trust-proof-card h3{margin:0 0 8px;font-size:21px;letter-spacing:-.02em}
.trust-proof-card p{margin:0;color:var(--muted);line-height:1.65;font-weight:650}
.trust-ribbon{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px;padding:18px;border-radius:28px;background:linear-gradient(135deg,#17142b,#30215f);color:#fff;box-shadow:var(--shadow)}
.trust-ribbon div{padding:14px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.11)}
.trust-ribbon strong,.trust-ribbon span{display:block}.trust-ribbon strong{font-size:15px;margin-bottom:5px}.trust-ribbon span{color:#ddd4f4;font-size:13px;line-height:1.45}
.faq-modern .panel{position:relative;overflow:hidden}.faq-modern .panel:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,var(--p1),#35b9ff)}
.contact-panel-trust{padding-top:22px}.contact-trust-note{margin:0 0 18px;padding:14px 16px;border-radius:18px;background:#f7f2ff;border:1px solid var(--line);color:#3d315f;line-height:1.55}
.price-card{position:relative}.price-card:after{content:"PayPal verified checkout";display:inline-flex;margin-top:12px;padding:7px 10px;border-radius:999px;background:#f8f3ff;border:1px solid var(--line);font-size:12px;font-weight:900;color:#5b3d9c}
@media(max-width:980px){.trust-proof-grid,.trust-ribbon{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.trust-proof-grid,.trust-ribbon{grid-template-columns:1fr}.hero-trust-mini span{width:100%;justify-content:center}.trust-proof-card{padding:20px}}

/* === Light readable trust theme override ===
   Added after all earlier styling so the site stays bright and easy to read.
   Keeps buttons/branding colorful, but makes sections, cards and text high-contrast. */
:root{
  --bg:#fbfaff;
  --ink:#17142b;
  --muted:#4f4868;
  --line:#e6ddfb;
}
body{
  background:radial-gradient(circle at top right,#f1eaff,transparent 32%),linear-gradient(180deg,#ffffff 0%,#fbfaff 48%,#f7f3ff 100%)!important;
  color:#17142b!important;
}
body, p, li, label, input, textarea, select, .lead, .list, .small-note{
  color:#17142b;
}
.lead,.hero p,.list,.small-note,.section p,.panel p,.price-card p,.tool-card p,.metric p{
  color:#4f4868!important;
}
.topbar{
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid #e6ddfb!important;
  box-shadow:0 10px 30px rgba(53,30,110,.07);
}
nav, nav a, .brand{
  color:#201842!important;
}
.hero-card,.panel,.price-card,.tool-card,.metric,.trust-proof-card,.contact-panel-trust{
  background:linear-gradient(180deg,#ffffff,#fbf9ff)!important;
  color:#17142b!important;
  border-color:#e6ddfb!important;
  box-shadow:0 16px 36px rgba(53,30,110,.09)!important;
}
.hero-card h1,.hero-card h2,.hero-card h3,
.panel h1,.panel h2,.panel h3,
.price-card h1,.price-card h2,.price-card h3,
.tool-card h1,.tool-card h2,.tool-card h3,
.trust-proof-card h1,.trust-proof-card h2,.trust-proof-card h3{
  color:#17142b!important;
}
.form input,.form select,.form textarea,
.composer select,.composer textarea,
.chat-input textarea{
  background:#ffffff!important;
  color:#17142b!important;
  border:1px solid #dcd0f7!important;
}
.form input::placeholder,.form textarea::placeholder,.composer textarea::placeholder{
  color:#7b728f!important;
}
.result-box, pre, code{
  background:#ffffff!important;
  color:#17142b!important;
  border:1px solid #e6ddfb!important;
}
code{background:#f1ebff!important;}

/* Trust section: no dark ribbon, better readability */
.trust-ribbon{
  background:linear-gradient(135deg,#ffffff,#f5efff)!important;
  color:#17142b!important;
  border:1px solid #e6ddfb!important;
  box-shadow:0 16px 36px rgba(53,30,110,.09)!important;
}
.trust-ribbon div{
  background:#ffffff!important;
  border:1px solid #e6ddfb!important;
}
.trust-ribbon strong{color:#17142b!important;}
.trust-ribbon span{color:#4f4868!important;}
.hero-trust-mini span,
.price-card:after,
.contact-trust-note{
  background:#ffffff!important;
  color:#2d244d!important;
  border-color:#e6ddfb!important;
}
.privacy-note{
  background:#effdf6!important;
  border-color:#bbf7d0!important;
  color:#14532d!important;
}
.privacy-note strong{color:#166534!important;}
.privacy-note span{color:#246b45!important;}

/* Dashboard/sidebar: still readable with light panels */
.dash,.dash.admin-dashboard{
  background:linear-gradient(180deg,#ffffff,#f7f3ff)!important;
  color:#17142b!important;
}
.sidebar,.clear-sidebar,.dash>.sidebar,.dash>.clear-sidebar{
  background:linear-gradient(180deg,#ffffff,#f7f3ff)!important;
  color:#17142b!important;
  border-right:1px solid #e6ddfb!important;
  box-shadow:10px 0 30px rgba(53,30,110,.06)!important;
}
.sidebar a,.clear-sidebar a,.dash>.sidebar a,.dash>.clear-sidebar a{
  color:#2b2350!important;
  background:rgba(109,56,255,.07)!important;
  border:1px solid rgba(109,56,255,.10)!important;
}
.sidebar a:hover,.clear-sidebar a:hover,.sidebar a.active,.clear-sidebar a.active{
  background:linear-gradient(135deg,#6d38ff,#35b9ff)!important;
  color:#ffffff!important;
}

/* AI workspace: keep ChatGPT layout, make it light and readable */
.gpt-shell{
  background:linear-gradient(180deg,#ffffff,#f7f3ff)!important;
  color:#17142b!important;
}
.gpt-sidebar,.gpt-topbar{
  background:rgba(255,255,255,.95)!important;
  border-color:#e6ddfb!important;
  color:#17142b!important;
}
.side-brand,.gpt-topbar b{color:#17142b!important;}
.gpt-topbar span,.side-label,.msg-meta{color:#625978!important;}
.chat-link,.side-bottom a,.mode-pills{
  background:#f3edff!important;
  color:#2b2350!important;
  border:1px solid #e6ddfb!important;
}
.chat-link:hover,.chat-link.active{
  background:#e9ddff!important;
  color:#17142b!important;
}
.welcome-card,.msg-bubble{
  background:#ffffff!important;
  color:#17142b!important;
  border:1px solid #e6ddfb!important;
  box-shadow:0 14px 34px rgba(53,30,110,.08)!important;
}
.welcome-card p,.message-text{color:#17142b!important;}
.mini-grid span{background:#fff8dc!important;color:#3d2b00!important;border-color:#f5df8c!important;}
.msg-row.user .msg-bubble{background:linear-gradient(135deg,#6d38ff,#35b9ff)!important;color:#ffffff!important;}
.msg-row.user .message-text{color:#ffffff!important;}
.composer{
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.98) 28%)!important;
}

/* Community: switch from dark gallery to light trusted marketplace style */
.community-page,.upgraded-community{
  --community-bg:#fbfaff;
  --community-card:#ffffff;
  --community-line:#e6ddfb;
  --community-soft:#f4efff;
  --community-text:#17142b;
  --community-muted:#51496a;
  background:linear-gradient(180deg,#ffffff,#f7f3ff)!important;
  color:#17142b!important;
}
.community-page .community-hero,.upgraded-community .community-hero,
.community-toolbar,.upgraded-community .community-card,.community-page .community-card,
.community-scoreboard div,.empty-community{
  background:linear-gradient(180deg,#ffffff,#fbf9ff)!important;
  color:#17142b!important;
  border-color:#e6ddfb!important;
  box-shadow:0 14px 34px rgba(53,30,110,.08)!important;
}
.community-page .community-hero h1,.community-page .community-hero p,
.upgraded-community .community-hero h1,.upgraded-community .community-hero p,
.community-page .community-body h3,.community-page .community-body p,
.upgraded-community .community-body h3,.upgraded-community .community-body p,
.community-page .community-meta,.upgraded-community .community-meta,
.community-scoreboard strong,.community-scoreboard span{
  color:#17142b!important;
}
.community-page .community-body p,.upgraded-community .community-body p,.community-scoreboard span{
  color:#51496a!important;
}
.community-page .community-tabs a,.community-sort a,.community-action,.community-stat{
  background:#ffffff!important;
  color:#2b2350!important;
  border:1px solid #e6ddfb!important;
}
.community-page .community-tabs a.active,.community-sort a.active,.community-sort a:hover,.community-action:hover,.community-action.active{
  background:linear-gradient(135deg,#6d38ff,#35b9ff)!important;
  color:#ffffff!important;
}
.community-page .community-text-preview,.community-text-preview{
  background:linear-gradient(135deg,#f4efff,#eef8ff)!important;
  color:#17142b!important;
}
.community-page .community-text-preview p,.community-text-preview p{
  color:#17142b!important;
}
.community-competition-bar{
  background:#fbf9ff!important;
  border-top:1px solid #e6ddfb!important;
}
.community-page .empty-community,.community-page .empty-community p{color:#51496a!important;}

/* Mobile readability */
@media(max-width:900px){
  .topbar{background:rgba(255,255,255,.96)!important;}
  .dash>.sidebar,.dash>.clear-sidebar{
    background:#ffffff!important;
    border-bottom:1px solid #e6ddfb!important;
  }
  .dash>.sidebar a,.dash>.clear-sidebar a{
    color:#2b2350!important;
    background:#f4efff!important;
  }
}


/* === Ultimate device compatibility pass: clean, light, readable on phone/tablet/laptop/desktop === */
:root{
  --device-max:1180px;
  --device-pad:clamp(16px,4vw,72px);
  --tap:48px;
}
html{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:92px;overflow-x:hidden;}
body{width:100%;max-width:100%;overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
img,video,canvas,svg,iframe,model-viewer{max-width:100%;height:auto;}
a,button,input,select,textarea{font:inherit;}
button,.btn,.pill,a[role="button"],.nav a,nav a{touch-action:manipulation;}
.skip-link{position:fixed;left:14px;top:14px;z-index:9999;transform:translateY(-140%);background:#111827;color:#fff!important;border-radius:999px;padding:10px 14px;font-weight:950;box-shadow:0 12px 34px rgba(15,23,42,.20)}
.skip-link:focus{transform:translateY(0);outline:3px solid rgba(79,70,229,.24)}
main:focus{outline:none}
.topbar{padding-left:var(--device-pad)!important;padding-right:var(--device-pad)!important;gap:14px!important;}
.brand{min-width:0;white-space:nowrap;}
.brand span:last-child{overflow:hidden;text-overflow:ellipsis;}
.topbar nav{min-width:0;}
.topbar nav a,.lang-current{min-height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:9px 12px;line-height:1.1;}
.hero,.section{padding-left:var(--device-pad)!important;padding-right:var(--device-pad)!important;}
.section{padding-top:clamp(46px,7vw,82px)!important;padding-bottom:clamp(46px,7vw,82px)!important;}
.hero{gap:clamp(24px,5vw,52px)!important;min-height:auto!important;padding-top:clamp(48px,8vw,92px)!important;padding-bottom:clamp(48px,8vw,92px)!important;}
.hero-copy,.hero-dashboard-card,.panel,.price-card,.tool-card,.metric,.trust-proof-card{min-width:0;}
h1{font-size:clamp(36px,7vw,76px)!important;line-height:1.02!important;max-width:920px;}
.section h2{font-size:clamp(30px,4.8vw,56px)!important;line-height:1.08!important;max-width:900px;}
h3{line-height:1.2;}
p,.lead,.list,li{overflow-wrap:anywhere;}
.lead,.hero p{font-size:clamp(16px,1.55vw,19px)!important;line-height:1.68!important;}
.grid,.metric-grid,.stat-row,.trust-proof-grid,.trust-proof-grid-clean{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;gap:clamp(14px,2vw,22px)!important;}
.action-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important;}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.hero-actions .btn,.btn-xl{min-height:var(--tap);padding:13px 18px;}
.full{width:100%;}
.trust-row,.hero-trust-mini{display:flex;flex-wrap:wrap;gap:8px!important;}
.trust-row span,.hero-trust-mini span{min-height:38px;display:inline-flex;align-items:center;}
.preview-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.preview-tile{min-width:0;min-height:94px;display:flex!important;flex-direction:column;justify-content:center;}
.form-two{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important;}
input,select,textarea{min-height:46px;max-width:100%;}
textarea{resize:vertical;}
.btn,.pill,.form button{min-height:var(--tap);}
.price-card,.panel,.tool-card,.metric,.trust-proof-card{overflow:hidden;}
.result-box,pre,code{max-width:100%;overflow:auto;white-space:pre-wrap;word-break:break-word;}
table{width:100%;border-collapse:collapse;}
.admin-table-wrap,.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.support-float{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));}
.support-float-panel{max-width:calc(100vw - 28px)!important;}
.donation-strip,.social-strip{margin-left:var(--device-pad)!important;margin-right:var(--device-pad)!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important;}
.donation-actions,.social-strip-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;min-width:0;}
.donation-actions code{white-space:nowrap;overflow:auto;max-width:100%;}
.footer{flex-wrap:wrap;text-align:center;padding-left:var(--device-pad)!important;padding-right:var(--device-pad)!important;}
@media (min-width:1180px){
  .hero,.section{max-width:calc(var(--device-max) + 2 * var(--device-pad));margin-left:auto;margin-right:auto;}
  .topbar{padding-left:max(var(--device-pad),calc((100vw - var(--device-max)) / 2));padding-right:max(var(--device-pad),calc((100vw - var(--device-max)) / 2));}
}
@media (max-width:1100px){
  .hero{grid-template-columns:1fr!important;}
  .hero-dashboard-card{max-width:760px;width:100%;}
  .topbar{align-items:flex-start!important;flex-direction:column!important;}
  .topbar nav{width:100%;display:flex!important;gap:7px!important;overflow-x:auto!important;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:4px;}
  .topbar nav::-webkit-scrollbar{display:none;}
  .topbar nav a,.topbar .lang-switch{flex:0 0 auto;}
}
@media (min-width:761px) and (max-width:1100px){
  .topbar{position:sticky!important;}
  .dash{grid-template-columns:220px minmax(0,1fr)!important;}
  .content{padding:28px 4vw!important;}
}
@media (max-width:760px){
  :root{--device-pad:16px;--tap:50px;}
  html{scroll-padding-top:116px;}
  .topbar{position:sticky!important;top:0!important;padding:10px 12px!important;align-items:stretch!important;background:rgba(255,255,255,.97)!important;}
  .brand{font-size:19px!important;width:100%;}
  .logo{width:38px!important;height:38px!important;border-radius:13px!important;flex:0 0 auto;}
  .topbar nav{padding:2px 0 4px!important;margin:0!important;}
  .topbar nav a,.topbar .lang-current{min-height:40px!important;padding:9px 11px!important;font-size:13px!important;background:#f8fafc!important;border:1px solid rgba(15,23,42,.10)!important;color:#111827!important;}
  .lang-menu{max-width:calc(100vw - 24px)!important;right:0!important;left:auto!important;}
  .hero{padding-top:34px!important;padding-bottom:42px!important;}
  h1{font-size:clamp(34px,10.5vw,46px)!important;letter-spacing:-.045em!important;}
  .section h2{font-size:clamp(28px,8.4vw,38px)!important;}
  .hero-actions{display:grid!important;grid-template-columns:1fr!important;width:100%;}
  .btn,.pill,.hero-actions .btn,.form button{width:100%;justify-content:center;text-align:center;}
  .trust-row,.hero-trust-mini{display:grid!important;grid-template-columns:1fr!important;}
  .trust-row span,.hero-trust-mini span{width:100%;justify-content:center;text-align:center;}
  .preview-grid{grid-template-columns:1fr!important;}
  .panel,.price-card,.tool-card,.metric,.trust-proof-card,.hero-dashboard-card{padding:18px!important;border-radius:20px!important;}
  .price-card.featured{transform:none!important;}
  .price{font-size:36px!important;}
  .form label{gap:7px!important;}
  input,select,textarea{font-size:16px!important;}
  .dash{display:block!important;min-height:auto!important;}
  .sidebar,.clear-sidebar,.dash>.sidebar,.dash>.clear-sidebar{display:flex!important;position:sticky!important;top:96px!important;z-index:8;overflow-x:auto!important;gap:8px!important;padding:10px 12px!important;border-right:0!important;border-bottom:1px solid rgba(15,23,42,.10)!important;scrollbar-width:none;}
  .sidebar::-webkit-scrollbar,.clear-sidebar::-webkit-scrollbar{display:none;}
  .sidebar a,.clear-sidebar a{flex:0 0 auto!important;white-space:nowrap!important;min-height:40px!important;padding:9px 12px!important;font-size:13px!important;}
  .content{padding:18px 14px 32px!important;}
  .stat-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .donation-strip,.social-strip{margin-left:12px!important;margin-right:12px!important;grid-template-columns:1fr!important;text-align:left!important;}
  .donation-actions,.social-strip-actions{justify-content:stretch!important;display:grid!important;grid-template-columns:1fr!important;}
  .donation-actions code,.donate-btn,.social-btn{width:100%;justify-content:center;text-align:center;}
  .support-float-btn{width:52px!important;height:52px!important;}
}
@media (max-width:420px){
  :root{--device-pad:12px;}
  .topbar{padding-left:10px!important;padding-right:10px!important;}
  .section,.hero{padding-left:12px!important;padding-right:12px!important;}
  .stat-row{grid-template-columns:1fr!important;}
  .panel,.price-card,.tool-card,.metric,.trust-proof-card,.hero-dashboard-card{padding:16px!important;}
  .mini-window-head b{max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important;}
}
