@font-face{font-family:Nunito;src:url(nunito.ttf);font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f6f4ef;color:#232020;font-family:Nunito,Arial,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit;border:0}button:active{transform:scale(.97)}button:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #7656e8;outline-offset:3px}header{height:90px;max-width:1080px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 28px}header a{color:#232020;text-decoration:none;font-weight:1000;font-size:41px;letter-spacing:-3px}header a span{color:#8865ef;display:inline-block;font-size:35px;margin-left:4px;transform:rotate(12deg)}#balance{background:white;border:1px solid #e5e1d9;border-radius:28px;padding:9px 10px 9px 17px;font-weight:900}#balance span{color:#8d65dc}#balance b{display:inline-grid;place-items:center;background:#d4f477;width:28px;height:28px;border-radius:50%;margin-left:12px}main{max-width:1080px;padding:15px 28px 120px;margin:auto}.intro{margin:12px 0 27px;display:flex;justify-content:space-between;align-items:center}.intro h1{font-size:46px;line-height:1.08;letter-spacing:-2px;margin:0 0 13px;font-weight:1000}.intro h1 span{color:#8b64dc}.intro p{font-size:15px;margin:0;color:#838078}.sticker{transform:rotate(9deg);border:2px solid #24211f;background:#d6f67d;border-radius:50%;width:104px;height:104px;display:grid;place-content:center;text-align:center;font-weight:1000;font-size:15px;box-shadow:4px 4px 0 #24211f}.filters{display:flex;gap:8px;margin:25px 0 20px;overflow:auto;scrollbar-width:none}.filters button{white-space:nowrap;padding:11px 20px;background:#ebe7e0;border-radius:25px;font-weight:800;font-size:13px}.filters button.selected{background:#252321;color:white}.hero{display:grid;grid-template-columns:.8fr 1fr;background:#e7dcff;border-radius:27px;overflow:hidden;min-height:350px;position:relative}.hero-copy{padding:33px;display:flex;align-items:flex-start;flex-direction:column;justify-content:center}.tag{background:#fff9;padding:7px 11px;border-radius:9px;font-size:11px;font-weight:900;transform:rotate(-3deg)}h2{font-size:38px;line-height:1.07;font-weight:1000;letter-spacing:-1px;margin:20px 0 12px}.hero-copy p{color:#665b78;font-size:14px;line-height:1.5;max-width:230px;margin:0 0 23px}.primary{background:#262121;color:#fff;border-radius:15px;padding:15px 22px;font-size:14px;font-weight:900}.primary span{margin-left:28px}.comparison{position:relative;overflow:hidden;min-height:350px;background:#a19a9c}.comparison img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 57%}.comparison .before{clip-path:inset(0 50% 0 0)}.split{position:absolute;left:50%;height:100%;width:2px;background:#fff}.split b{position:absolute;top:47%;left:-19px;border-radius:50%;width:40px;height:40px;background:#fff;display:grid;place-items:center;font-size:16px}.badge{position:absolute;bottom:16px;padding:6px 11px;border-radius:9px;background:#fff;color:#222;font-size:11px;font-weight:900}.badge.left{left:14px;transform:rotate(-4deg)}.badge.right{right:14px;transform:rotate(4deg);background:#d4f477}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 16px}.section-heading h3{margin:0;font-size:23px;font-weight:1000;letter-spacing:-.6px}.section-heading span{font-size:12px;color:#8c867e}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{border-radius:23px;text-align:left;position:relative;overflow:hidden;min-height:285px;padding:22px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;background:#e6c7b9}.card h3{font-size:24px;line-height:1.08;letter-spacing:-.6px;margin:0 0 7px;z-index:1;font-weight:1000}.card p{font-size:12px;margin:0;z-index:1}.card .arrow{position:absolute;right:18px;bottom:21px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#fff9;font-size:21px}.card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.card.photo:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 25%,#000b)}.card.photo{color:white}.card.photo h3,.card.photo p{max-width:85%}.card .pill{position:absolute;left:17px;top:16px;border-radius:20px;background:#fff;color:#262121;font-size:10px;font-weight:900;padding:6px 10px;z-index:1}.card.music{background:#d4f477}.song{position:absolute;top:24px;left:24px;right:24px;transform:rotate(-5deg);border:2px solid #282b22;border-radius:17px;padding:17px;background:#f5ffda;box-shadow:5px 5px 0 #282b22}.song small{font-size:9px;letter-spacing:1px}.song strong{display:block;font-size:21px;line-height:1.2;margin:8px 0}.wave{height:25px;display:flex;align-items:center;gap:4px}.wave i{display:block;width:4px;border-radius:5px;background:#2b3320}.card.blue{background:#b8dafa}.card.pink{background:#ffcfda}.card.orange{background:#ffbc89}.graphic{position:absolute;top:25px;left:25px;right:25px;font-size:70px;text-align:center;transform:rotate(-9deg)}.graphic .bubble{background:#fff8;display:inline-block;padding:10px 23px;border-radius:22px;font-size:38px;box-shadow:5px 5px 0 #252321;font-weight:1000}.footnote{text-align:center;color:#938b82;font-size:11px;margin:26px 0}nav{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#242120;border-radius:22px;display:flex;padding:8px;gap:6px;z-index:5;box-shadow:0 8px 30px #0002}nav button{background:none;color:#a9a39c;min-width:100px;padding:8px 20px;font-size:22px;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px}nav button span{font-size:12px;font-weight:900}nav button.active{background:#d4f477;color:#242120}.back{background:white;border-radius:12px;padding:10px 16px;font-weight:900;margin-bottom:20px}.create{max-width:680px;margin:auto}.create h1{font-size:34px;font-weight:1000;letter-spacing:-1px;margin:4px 0 8px}.sub{color:#81796f;font-size:14px;margin:0 0 24px}.step{background:#fff;border-radius:22px;padding:23px;margin:16px 0}.step-title{display:flex;align-items:center;gap:10px;font-weight:1000;font-size:17px;margin-bottom:17px}.step-title span{display:grid;place-items:center;background:#e7dcff;width:28px;height:28px;border-radius:50%;font-size:13px}.drop{display:block;text-align:center;background:#f8f6f2;border:2px dashed #ddd6cc;border-radius:16px;padding:25px;cursor:pointer;font-size:13px;color:#81796f}.drop b{display:block;color:#282321;font-size:16px;margin-bottom:5px}.drop input{display:none}.uploaded{width:100%;max-height:240px;object-fit:contain;border-radius:14px;margin-top:12px}.step textarea{background:#f8f6f2;border:1px solid #e6e0d7;border-radius:14px;width:100%;min-height:105px;padding:15px;font-size:15px;resize:vertical;line-height:1.6}.chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.chips button{border-radius:20px;padding:8px 12px;font-size:11px;background:#f0e9fb;font-weight:800}details{font-size:12px;color:#81796f;padding:8px 0}summary{cursor:pointer}select{font:inherit;padding:10px;border-radius:10px;border:1px solid #ddd;margin:10px 4px 0 0;background:#fff}.create .primary{width:100%;background:#d4f477;color:#252321;font-size:17px}.demo-note{text-align:center;font-size:11px;color:#948d83;margin:12px 0;line-height:1.6}.result{background:#fff;border-radius:22px;padding:22px;margin-top:20px}.result img{width:100%;border-radius:15px;max-height:400px;object-fit:cover}.result h3{margin:12px 0 5px}.result p{font-size:12px;color:#81796f;line-height:1.6}#modal{position:fixed;inset:0;background:#24212077;backdrop-filter:blur(6px);z-index:10;display:grid;place-items:center;padding:24px}#modal[hidden]{display:none}.modal-box{background:#f6f4ef;border-radius:25px;max-width:370px;padding:30px}.modal-box h2{font-size:30px}.modal-box p{font-size:14px;line-height:1.7;color:#81796f}.modal-box button{width:100%}.empty{text-align:center;padding:60px 20px;background:#e7dcff;border-radius:24px}.empty h2{font-size:30px}.empty p{font-size:14px}.filter-note{font-size:13px;color:#81796f;margin-bottom:20px}@media(max-width:650px){header{height:75px;padding:0 20px}header a{font-size:35px}main{padding:10px 16px 110px}.intro{margin:8px 3px 22px}.intro h1{font-size:33px;letter-spacing:-1.2px}.intro p{font-size:12px;max-width:240px}.sticker{width:71px;height:71px;font-size:11px;box-shadow:3px 3px 0 #24211f;flex-shrink:0;margin-left:10px}.filters{margin-top:18px;gap:6px}.filters button{padding:10px 17px;font-size:12px}.hero{grid-template-columns:1fr;min-height:0;border-radius:23px}.hero-copy{padding:23px;position:relative;min-height:210px}.hero h2{font-size:33px;margin:15px 0 8px;max-width:240px}.hero-copy p{font-size:12px;max-width:210px;margin-bottom:15px}.hero-copy .primary{padding:12px 17px;font-size:12px}.tag{font-size:9px;padding:5px 9px}.comparison{min-height:255px;max-height:255px}.comparison img{object-position:50% 62%}.cards{grid-template-columns:1fr 1fr;gap:11px}.card{min-height:247px;padding:16px;border-radius:20px}.card h3{font-size:21px;max-width:125px}.card p{font-size:10px;max-width:115px}.card .arrow{right:12px;bottom:15px;width:25px;height:25px;font-size:18px}.song{top:25px;left:15px;right:15px;padding:10px;border-radius:12px;box-shadow:3px 3px 0 #282b22}.song strong{font-size:17px}.song small{font-size:7px}.wave{height:20px;gap:3px}.wave i{width:3px}.section-heading h3{font-size:21px}.section-heading span{font-size:10px}.graphic{left:13px;right:13px;top:37px}.graphic .bubble{font-size:26px;padding:14px}.create h1{font-size:29px}.step{padding:18px}.step-title{font-size:15px}.sub{font-size:12px}.footnote{font-size:10px}}
.compare-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;z-index:2}@media(max-width:650px){.hero h2{font-size:29px;max-width:none;letter-spacing:-.7px}.hero-copy{min-height:0;padding:22px}.hero-copy p{margin-bottom:13px}.comparison{min-height:250px}.hero-copy .primary{padding:12px 18px}}
.chat-home{max-width:720px;margin:25px auto 0;min-height:66vh;display:flex;flex-direction:column}.welcome-icon{background:#e7dcff;border-radius:21px;width:60px;height:60px;display:grid;place-items:center;font-size:40px;color:#8b64dc;transform:rotate(-7deg);margin-bottom:25px}.chat-home h1{font-size:43px;line-height:1.15;letter-spacing:-1.5px;margin:0 0 13px;font-weight:1000}.chat-home h1 span{color:#8b64dc}.chat-home>.sub{font-size:15px;line-height:1.7;max-width:420px}.choose-format{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:27px 0}.choose-format button{border:2px solid transparent;border-radius:21px;background:#eeeae4;padding:21px 18px;text-align:left;transition:background .2s,border-color .2s}.choose-format button.selected{background:#e8ddff;border-color:#b595f1}.format-icon{display:block;font-size:29px;margin-bottom:16px;line-height:1}.choose-format b{display:block;font-size:18px}.choose-format small{display:block;font-size:11px;color:#81796f;margin-top:5px}.chat-helper{font-size:13px;color:#81796f;line-height:1.7;margin:0 2px 20px}.composer{background:white;border:1px solid #e5dfd5;border-radius:23px;padding:18px;box-shadow:0 8px 25px #28212005;margin-top:auto}.composer textarea{font:inherit;border:0;outline:none;width:100%;min-height:95px;resize:vertical;background:transparent;color:#252321;font-size:16px;line-height:1.6}.composer textarea::placeholder{color:#aaa39b}.compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.attach{border-radius:12px;background:#f1ede7;padding:10px 14px;font-size:12px;cursor:pointer;font-weight:800}.attach input{display:none}.send{border-radius:14px;background:#d4f477;padding:12px 20px;font-weight:1000;font-size:14px}.send:disabled{opacity:.6;cursor:default}.composer-files{display:flex;gap:10px}.composer-files img{height:72px;width:72px;object-fit:cover;border-radius:12px;margin-bottom:12px}.chat-message{border-radius:20px;padding:16px 20px;line-height:1.7;font-size:14px;margin:12px 0;max-width:90%;white-space:pre-wrap}.chat-message.user{background:#e8ddff;align-self:flex-end}.chat-message.assistant{background:#fff;align-self:flex-start}.chat-home.has-messages .welcome-icon,.chat-home.has-messages h1,.chat-home.has-messages>.sub{display:none}.chat-home.has-messages .choose-format{margin-top:0}.chat-error{font-size:12px;color:#b44634;min-height:20px;margin-top:8px}.format-caption{font-size:11px;color:#8f877e;margin:12px 0 0;text-align:center}@media(max-width:650px){.chat-home{margin:28px 0 0;min-height:65vh}.welcome-icon{width:54px;height:54px;font-size:34px;margin-bottom:22px}.chat-home h1{font-size:34px;letter-spacing:-1px}.chat-home>.sub{font-size:13px;max-width:280px}.choose-format{gap:8px;margin:23px 0}.choose-format button{padding:16px 12px;border-radius:18px}.choose-format b{font-size:16px}.choose-format small{font-size:9px;line-height:1.5}.format-icon{font-size:26px;margin-bottom:13px}.chat-helper{font-size:12px}.composer{padding:15px;border-radius:20px}.composer textarea{font-size:14px;min-height:85px}.attach{padding:10px;font-size:11px}.send{padding:11px 15px;font-size:13px}.chat-message{font-size:13px}.format-caption{font-size:10px}}
/* Dark appearance */
body{background:#17181d;color:#f5f3ee}header a{color:#f5f3ee}header a span{color:#ba9bff}#balance{background:#25262e;border-color:#393a45;color:#f5f3ee}#balance span{color:#d4f477}#balance b{color:#242120}.welcome-icon{background:#332a48;color:#c6a8ff}.chat-home h1 span{color:#c3a3ff}.sub,.chat-home>.sub,.chat-helper{color:#a6a3af}.choose-format button{background:#24252d;color:#f5f3ee}.choose-format button.selected{background:#352b49;border-color:#b595f1}.choose-format small{color:#b6afc4}.choose-format button:disabled{cursor:not-allowed;background:#202127;color:#787984;border-color:#2b2c35}.choose-format button:disabled:active{transform:none}.choose-format button:disabled small{color:#777984}.soon{display:inline-block;margin-top:7px;padding:3px 8px;border-radius:7px;background:#31323b;color:#a6a7b3;font-size:9px;font-weight:800}.composer{background:#23242c;border-color:#3a3b47;box-shadow:none}.composer textarea{color:#f5f3ee}.composer textarea::placeholder{color:#858590}.attach{background:#33343e;color:#d9d6df}.send{color:#242120}.format-caption,.demo-note{color:#92909d}.chat-error{color:#ffa58f}.chat-message.user{background:#3a2d50;color:#f5f3ee}.chat-message.assistant{background:#262730;color:#dfdce6}nav{background:#272831;border:1px solid #3b3c46}.empty{background:#30283f}.empty p{color:#bab2c8}.modal-box{background:#25262e;color:#f5f3ee}.modal-box p{color:#b9b4c1}.modal-box .primary,.empty .primary{background:#d4f477;color:#242120}
nav button{min-width:85px;padding:8px 14px}nav .examples-icon{font-size:23px;line-height:1}.examples-page{max-width:680px;margin:22px auto}.examples-page h1{font-size:35px;letter-spacing:-1px;margin:0 0 12px}.example-card{background:#23242c;border:1px solid #3a3b47;border-radius:24px;overflow:hidden}.example-card .comparison{height:390px}.example-copy{padding:24px}.example-copy h2{font-size:29px;margin:0 0 8px}.example-hint{font-size:11px;color:#aaa5b4}.example-copy blockquote{margin:20px 0;padding:16px;border-radius:14px;background:#30283f;color:#e1d6f2;font-size:14px;line-height:1.7}.example-copy .send{width:100%}@media(max-width:650px){nav{bottom:16px;gap:2px;padding:6px}nav button{min-width:88px;padding:9px 10px;flex-direction:column;gap:2px}nav button span{font-size:10px}.examples-page h1{font-size:30px}.example-card .comparison{height:330px;max-height:none}.example-copy{padding:20px}}
header #logo{font-size:29px;letter-spacing:-1.3px;white-space:nowrap}header #logo .brand-ai{font-size:inherit;color:#d4f477;margin-left:0;transform:none}header #logo .brand-bot{font-size:inherit;color:#f5f3ee;margin-left:0;transform:none}@media(max-width:650px){header #logo{font-size:26px;letter-spacing:-1px}}
.example-card+.example-card{margin-top:22px}
.compare-range:focus-visible~.badge{outline:2px solid #d4f477;outline-offset:3px}

.example-card .comparison {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 3 / 4;
  max-height: 620px;
  isolation: isolate;
  background: #151515;
}
.example-card .comparison img {
  inset: 0;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}
.example-card .comparison .after { z-index: 0; }
.example-card .comparison .before { z-index: 1; }
.example-card .comparison .split,
.example-card .comparison .badge { z-index: 2; }
.example-card .comparison .compare-range { z-index: 3; }

.balance-actions { display: flex; align-items: center; gap: 8px; }
.balance-amount { font-size: 14px; font-weight: 900; white-space: nowrap; }
.balance-actions #balance {
  padding: 9px 13px;
  background: #d4f477;
  color: #242120;
  border: 0;
  font-size: 12px;
}
nav .support-icon {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  font-size: 13px;
}
.support-page { max-width: 680px; margin: 22px auto; }
.support-page h1 { margin: 0 0 12px; font-size: 35px; }
.support-page p { color: #a6a3af; line-height: 1.6; }
.support-page .send { display: inline-block; margin-top: 12px; text-decoration: none; }
@media (max-width: 650px) {
  nav { width: min(calc(100% - 24px), 400px); }
  nav button { flex: 1; min-width: 0; padding-inline: 3px; }
  .balance-actions #balance { padding-inline: 9px; }
}

.legal-footer{padding:0 16px 105px}
#main:has(+ .legal-footer){padding-bottom:28px}
.legal-links{display:flex;justify-content:center;flex-wrap:wrap;gap:5px 14px;margin-top:14px}
.legal-links button{padding:5px 0;background:transparent;color:#b5b2bf;font-size:11px;text-decoration:underline;text-underline-offset:3px}
#modal .modal-box{max-height:calc(100dvh - 48px);overflow:auto}
.modal-box a,.support-note a{color:#d4f477;overflow-wrap:anywhere}
.support-thread{display:flex;flex-direction:column;max-height:44vh;overflow:auto;padding:0 4px 12px}
.support-page .support-note{font-size:11px}
.support-page .composer .send{margin-top:0}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > header, body > main { width: 100%; margin: 0 auto; }
body > header { flex-shrink: 0; }
body > main { flex: 1 0 auto; }
body > .legal-footer {
  text-align: center;
  padding-bottom: calc(105px + env(safe-area-inset-bottom, 0px));
}
.legal-footer .legal-links { margin: 0 auto; }
.legal-links button { text-align: center; }
#main h1.page-title {
  display: block;
  font-family: Nunito, Arial, sans-serif;
  font-weight: 1000;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 0 0 13px;
}
@media (max-width: 650px) {
  #main h1.page-title { font-size: 33px; letter-spacing: -1.2px; }
}

#main h1.page-title > span {
  font: inherit;
  letter-spacing: inherit;
}

#modal .low-balance { width: 100%; max-width: 320px; padding: 22px; }
.low-balance h2 { font-size: 23px; margin: 0; }
.low-balance-actions { display: flex; align-items: center; gap: 12px; }
.low-balance-actions .send { margin: 0; }
.low-balance-actions #close { color: #c1bdc9; background: transparent; }

.topup-form { display: grid; gap: 12px; }
.topup-form #topup-amount {
  width: 100%;
  padding: 12px;
  border: 1px solid #3a3b47;
  border-radius: 12px;
  background: #17181d;
  color: #f5f3ee;
}
.topup-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.topup-terms button { background: transparent; color: #d4f477; text-decoration: underline; }
.topup-form .demo-note { margin: 0; }

.topup-page { max-width: 480px; margin: 8px auto 0; }
.topup-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-bottom: 23px;
  padding: 6px 15px;
  border: 1px solid #544670;
  border-radius: 14px;
  color: #e1d3ff;
  background: #2d263d;
  font-weight: 800;
}
.topup-back span { font: 22px/1 system-ui, sans-serif; }
.topup-back:hover { background: #3a3050; }
#main .topup-page .page-title { margin-bottom: 20px; font-size: clamp(27px, 6vw, 40px); }
.topup-page .page-title:focus { outline: none; }
.topup-page .topup-form {
  gap: 14px;
  padding: 20px;
  border-color: #413950;
  background: linear-gradient(150deg, #2a2336, #22232a 45%);
}
#topup-current-balance {
  margin: 0 0 4px;
  padding: 13px 15px;
  border-radius: 13px;
  background: #d4f47712;
  color: #d4f477;
  font-weight: 800;
}
.topup-form > label { font-weight: 800; }
.topup-form #topup-amount { min-height: 48px; font-size: 16px; }
.topup-terms { font-size: 13px; }
.topup-terms label { display: flex; align-items: center; gap: 8px; }
.topup-terms input { width: 16px; height: 16px; margin: 0; accent-color: #d4f477; }
.topup-terms button { padding: 3px 0; text-underline-offset: 3px; }
.topup-form .send { min-height: 48px; font-size: 17px; }

.meme-page { max-width: 880px; margin: 0 auto; }
.meme-page h1 { font-size: clamp(30px, 7vw, 46px); margin: 22px 0 6px; }
.meme-page p { line-height: 1.5; }
.meme-intro { color: #c0bec8; margin: 0; }
.meme-hit { background: #d5f779; color: #17181e; border-radius: 999px; padding: 4px 10px; font-size: 13px; vertical-align: middle; }
.meme-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 18px; margin-top: 22px; }
.meme-card { border: 1px solid #3a3b44; border-radius: 20px; background: #22232a; overflow: hidden; }
.meme-card-body { padding: 18px; }
.meme-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.meme-card h2 { font-size: 23px; margin: 0; }
.meme-card-body p { margin: 8px 0 14px; }
.meme-meta, #meme-status { color: #c0bec8; font-size: 14px; }
.meme-player { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 60vh; object-fit: contain; background: #121217; }
.meme-card-body .send { width: 100%; min-height: 46px; }
.meme-role { display: grid; gap: 9px; margin: 14px 0; padding: 12px; border: 1px solid #494952; border-radius: 12px; }
.meme-role input { max-width: 100%; font: inherit; }
.meme-role input::file-selector-button { font: inherit; border: 0; border-radius: 8px; padding: 6px 10px; margin-right: 8px; cursor: pointer; }

.meme-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 2vw, 18px); }
.meme-tile { position: relative; isolation: isolate; display: block; aspect-ratio: 3 / 4; width: 100%; max-height: 440px; overflow: hidden; border: 1px solid #3a3b44; border-radius: 18px; background: #22232a; color: #fff; text-align: left; padding: 0; cursor: pointer; }
.meme-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.meme-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 46%, #111116ed 100%); pointer-events: none; }
.meme-tile:focus-visible { outline: 2px solid #d5f779; outline-offset: 2px; }
.meme-tile .meme-hit { position: absolute; z-index: 1; top: 10px; left: 10px; }
.meme-play { position: absolute; inset: 0; margin: auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #111116b3; border: 1px solid #ffffff80; }
.meme-tile-text { position: absolute; z-index: 1; inset: auto 10px 12px; display: grid; gap: 3px; }
.meme-tile-text strong { font-size: clamp(15px, 3.5vw, 23px); overflow-wrap: anywhere; }
.meme-tile-text small { color: #e0dfe5; }
.meme-watch { max-width: 460px; }
.meme-watch .meme-player { border-radius: 16px; margin: 14px 0; }
.meme-watch .send { width: 100%; margin-top: 14px; min-height: 46px; }
.meme-switch { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }

/* Shared typography for supporting copy across the creation flow. */
.chat-home > .sub,
.chat-home > .chat-helper,
.meme-page .meme-intro {
  font-family: Nunito, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: #b6b3c1;
}
.choose-format small {
  font-family: Nunito, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.4;
  color: #b6b3c1;
}

#main .meme-page .page-title { margin-top: 22px; }
#meme-form { margin-top: 18px; }
.meme-role {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px dashed #6a6479;
  background: #1b1c23;
  cursor: pointer;
}
.meme-role:focus-within { outline: 2px solid #d5f779; outline-offset: 2px; }
.meme-role input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.meme-role-plus, .meme-role-preview { width: 48px; height: 48px; border-radius: 12px; }
.meme-role-plus { display: grid; place-items: center; background: #342d44; color: #d6bfff; font-size: 25px; }
.meme-role-preview { object-fit: cover; }
.meme-role.has-photo { border-style: solid; border-color: #7e8e53; }
.meme-role.has-photo .meme-role-plus { display: none; }
.meme-role-copy { display: grid; gap: 3px; }
.meme-role-copy small { color: #d5f779; font-size: 14px; font-weight: 700; }

.app-nav {
  width: min(calc(100% - 20px), 480px);
  bottom: max(10px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 5px;
  border-radius: 20px;
  background: #24252d;
}
.app-nav button {
  min-width: 0;
  min-height: 52px;
  flex-direction: column;
  gap: 3px;
  padding: 4px 1px;
  border-radius: 14px;
  color: #bcb9c6;
}
.app-nav button i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font: 800 19px/1 Nunito, sans-serif;
}
.app-nav button span { font: 800 clamp(9px, 2.7vw, 11px)/1.2 Nunito, sans-serif; }
.app-nav button.active { background: #d4f477; color: #242120; }

.meme-player[hidden], .meme-result-link[hidden] { display: none; }
.meme-result-link { display: inline-block; margin-top: 12px; color: inherit; }

body > .legal-footer {
  margin-top: auto;
  padding: 20px 16px calc(82px + env(safe-area-inset-bottom, 0px));
}
#main:has(+ .legal-footer) { padding-bottom: 0; }
.legal-footer .legal-links { gap: 2px 14px; }
.legal-links button { min-height: 28px; }
.meme-page .topup-back, .topup-back {
  min-height: 48px;
  padding: 10px 17px;
  font-size: 16px;
  border: 1px solid #5d4e78;
}
.meme-play::before, .nav-play::before {
  content: "";
  border-left: 10px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 2px;
}

.example-card .comparison img { pointer-events: none; user-select: none; }
.example-card .compare-range { pointer-events: none; }
.example-card .comparison .split b { width: 44px; height: 44px; }
.example-card .comparison .split b::before {
  content: "‹ ›";
  font: 900 24px/1 Nunito, sans-serif;
}
.example-card .comparison:has(.compare-range:focus-visible) .split b {
  outline: 2px solid white;
  outline-offset: 2px;
}
#photo-result:not(:empty) {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #23242c;
}
#photo-result img { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; }
#photo-result a { display: inline-block; margin-top: 12px; color: #d4f477; }

.chat-home .welcome-icon {
  display: block;
  object-fit: cover;
  transform: none;
  width: 64px;
  height: 64px;
  border-radius: 20px;
}

html {
  overflow: hidden;
  overscroll-behavior: none;
  background: #17181d;
}
body {
  position: fixed;
  inset: var(--app-top, 0px) 0 auto;
  height: var(--app-height, 100dvh);
  min-height: 0;
  overflow: hidden;
  --nav-bottom: max(12px, env(safe-area-inset-bottom, 0px));
}
.app-scroll {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 12px;
}
.app-scroll > header, .app-scroll > main {
  width: 100%;
  margin: 0 auto;
}
.app-scroll > header { flex-shrink: 0; }
.app-scroll > main { flex: 1 0 auto; }
.app-scroll > .legal-footer { padding: 20px 16px 10px; }
.app-nav {
  position: static;
  inset: auto;
  transform: none;
  flex-shrink: 0;
  margin: 4px auto var(--nav-bottom);
}
.keyboard-open .app-nav { display: none; }
@media (max-width: 650px) {
  body { --nav-bottom: max(22px, calc(env(safe-area-inset-bottom, 0px) + 8px)); }
  .composer textarea, .composer input:not([type="file"]):not([type="checkbox"]) { font-size: 16px; }
}
.example-card .comparison .split b {
  top: 50%;
  left: 1px;
  transform: translate(-50%, -50%);
  color: #24252d;
}

.work-list { display: grid; gap: 14px; }
.work-card { padding: 16px; border: 1px solid #3a3b47; border-radius: 18px; background: #23242c; }
.work-card h2 { font-size: 22px; margin: 0; }
.work-card p { margin: 8px 0 12px; color: #c0bec8; }
.work-card video, .work-card img { display: block; width: 100%; max-height: 65vh; object-fit: contain; border-radius: 12px; }
.work-card a { display: inline-block; margin-top: 12px; color: #d4f477; }

.example-card .comparison .split b { touch-action: none; cursor: ew-resize; }

.invoice-link { color: #d4f477; text-align: center; }

#photo-result h2 { margin: 0 0 12px; font-size: 22px; }
#photo-result progress { width: 100%; height: 10px; accent-color: #d4f477; }
.photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.photo-actions a.send { margin: 0 !important; color: #17181d !important; text-decoration: none; }
.photo-actions a, .photo-actions button { min-height: 44px; }
.photo-actions p { width: 100%; margin: 0; }
.photo-actions p:empty { display: none; }
.photo-actions .video-chat-send {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.video-chat-send::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.video-chat-send:disabled::after { display: none; }


.video-progress { margin: 16px 0 0; padding: 10px; border-radius: 12px; background: #30283f; }
.video-progress progress { display: block; width: 100%; height: 10px; accent-color: #d4f477; }
.works-hint { color: #bcb9c6; font-size: 14px; line-height: 1.5; }
.works-hint button { padding: 4px 9px; border-radius: 8px; color: #d4f477; background: #30283f; font-weight: 800; }

.work-progress { width: 100%; height: 10px; accent-color: #d4f477; }
.work-list + .work-card, .work-card + .work-list { margin-top: 14px; }

.work-card.work-active { border-color: #a3ba59; background: #262b24; }
.work-active [role="status"] { color: #d4f477; font-weight: 800; }

.topup-options { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.topup-options legend { padding: 0; margin-bottom: 10px; font-weight: 800; }
.topup-option { position: relative; cursor: pointer; }
.topup-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.topup-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 50px;
  padding: 8px 12px;
  border: 1px solid #444453;
  border-radius: 14px;
  background: #181920;
  font-variant-numeric: tabular-nums;
}
.topup-choice strong { white-space: nowrap; font-size: 17px; }
.topup-option input:checked + .topup-choice { border-color: #d4f477; background: #303824; }
.topup-option input:focus-visible + .topup-choice { outline: 2px solid #d4f477; outline-offset: 2px; }
.topup-bonus { color: #d4f477; font-size: 12px; font-weight: 800; text-align: right; }

.choose-format button[data-format="video"]{background:#202127;color:#787984;border-color:#2b2c35}.choose-format button[data-format="video"] small{color:#777984}
