:root{--bg:#09070e;--surface:#12101a;--surface2:#191622;--line:#2a2535;--text:#f7f5fb;--muted:#aaa3b7;--purple:#8b5cf6;--purple2:#6d28d9}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,sans-serif;min-height:100vh}.glow{position:fixed;border-radius:50%;filter:blur(110px);opacity:.22;z-index:-1}.glow-a{width:420px;height:420px;background:#7c3aed;right:-130px;top:-150px}.glow-b{width:340px;height:340px;background:#4f46e5;left:-170px;bottom:-120px}
.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:16px 5vw;background:rgba(9,7,14,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.06)}.brand{color:var(--text);text-decoration:none;display:flex;align-items:center;gap:10px;font-weight:800}.mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,var(--purple),var(--purple2))}
nav{display:flex;gap:6px;overflow:auto}.nav-btn{background:transparent;border:0;color:var(--muted);padding:9px 12px;border-radius:10px;cursor:pointer;white-space:nowrap}.nav-btn.active,.nav-btn:hover{background:var(--surface2);color:var(--text)}
main{width:min(1180px,90vw);margin:auto}.hero{padding:105px 0 80px;max-width:820px}.badge,.eyebrow{font-size:12px;letter-spacing:.16em;color:#b7a1ff;font-weight:800}.hero h1,.section h2{font-family:"Space Grotesk",sans-serif}.hero h1{font-size:clamp(44px,7vw,82px);line-height:1;letter-spacing:-.05em;margin:18px 0}.hero p{color:var(--muted);font-size:17px;line-height:1.7;max-width:710px}.hero-row{display:flex;gap:18px;align-items:center;margin-top:28px}.btn,.card button{border:0;border-radius:13px;font-weight:700;cursor:pointer}.btn{padding:13px 18px;text-decoration:none}.primary{background:linear-gradient(135deg,var(--purple),var(--purple2));color:white}.status{color:var(--muted);font-size:13px}.status i{display:inline-block;width:8px;height:8px;background:#34d399;border-radius:50%;margin-right:7px}
.section{padding:30px 0 90px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section h2{font-size:40px;margin:6px 0 0}.search{width:min(320px,100%);background:var(--surface);color:var(--text);border:1px solid var(--line);padding:13px 15px;border-radius:13px;outline:none}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.card{min-height:230px;padding:20px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,var(--surface),rgba(18,16,26,.75));display:flex;flex-direction:column;transition:.2s}.card:hover{transform:translateY(-4px);border-color:#6e52a8}.icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:rgba(139,92,246,.12);color:#c4b5fd;font-weight:800}.card h3{margin:17px 0 8px}.card p{margin:0;color:var(--muted);font-size:14px;line-height:1.55;flex:1}.card button{margin-top:18px;padding:10px;background:var(--surface2);color:var(--text);border:1px solid var(--line)}.card button:hover{background:var(--purple)}.hidden{display:none!important}
footer{width:min(1180px,90vw);margin:auto;border-top:1px solid var(--line);padding:28px 0 40px;color:var(--muted);font-size:12px;display:flex;justify-content:space-between;gap:20px}
.modal{position:fixed;inset:0;display:none;place-items:center;padding:18px;background:rgba(0,0,0,.7);backdrop-filter:blur(10px);z-index:50}.modal.show{display:grid}.panel{position:relative;width:min(720px,100%);max-height:90vh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:24px}.close{position:absolute;right:15px;top:10px;border:0;background:transparent;color:var(--muted);font-size:30px;cursor:pointer}.panel h2{margin:0 0 8px}.panel .desc{color:var(--muted);margin:0 0 18px;line-height:1.55}.field{margin:13px 0}.field label{display:block;color:var(--muted);font-size:13px;font-weight:700;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;background:var(--surface2);color:var(--text);border:1px solid var(--line);padding:12px 13px;border-radius:12px;outline:none}.field textarea{min-height:120px;resize:vertical}.actions{display:flex;gap:10px;margin-top:14px}.actions button{flex:1;border:0;border-radius:12px;padding:12px;font-weight:700;cursor:pointer}.run{background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff}.secondary{background:var(--surface2);color:var(--text);border:1px solid var(--line)!important}.result{margin-top:16px;background:#0c0a11;border:1px solid var(--line);border-radius:13px;padding:15px;white-space:pre-wrap;word-break:break-word;min-height:60px;max-height:380px;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.note{font-size:12px;color:#d0c7dc;background:rgba(139,92,246,.1);padding:10px;border-radius:10px;margin-top:12px}.media-result img,.media-result video{max-width:100%;border-radius:12px;margin-top:12px}.media-result a{display:inline-block;margin:8px 6px 0 0;color:#c4b5fd}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,80px);opacity:0;background:#221d2e;color:white;padding:11px 16px;border-radius:11px;transition:.2s;z-index:80}.toast.show{transform:translate(-50%,0);opacity:1}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.topbar{align-items:flex-start;gap:12px;flex-direction:column}nav{width:100%}.hero{padding-top:70px}.section-head{flex-direction:column;align-items:stretch}.search{width:100%}.grid{grid-template-columns:1fr}.actions{flex-direction:column}footer{flex-direction:column}}

/* Kivo Tools v3 */
.readable{font-family:Inter,sans-serif}
.loader-line{height:3px;border-radius:999px;background:linear-gradient(90deg,transparent,var(--purple),transparent);background-size:200% 100%;animation:loader 1.1s linear infinite;margin-bottom:10px}
.loading-text{color:var(--muted);font-family:Inter,sans-serif}
@keyframes loader{to{background-position:-200% 0}}

.media-result{font-family:Inter,sans-serif}
.media-meta h3{margin:0 0 6px;font-size:19px}
.media-meta p{margin:0 0 12px;color:var(--muted)}
.result-cover,.result-video{width:100%;max-height:430px;object-fit:contain;background:#050408;border-radius:14px;margin-top:12px}
.download-btn{display:block;text-align:center;margin-top:12px;padding:12px 14px;border-radius:12px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;text-decoration:none;font-weight:800}
.secondary-download{background:var(--surface2);border:1px solid var(--line)}
.media-result audio{width:100%;margin-top:14px}
.image-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}
.image-item{background:var(--surface2);border:1px solid var(--line);padding:8px;border-radius:12px}
.image-item img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px}
.image-item a{display:block;text-align:center;margin-top:7px;color:#c4b5fd;text-decoration:none;font-weight:700;font-size:13px}
.empty-media{padding:14px;background:var(--surface2);border-radius:12px;color:var(--muted)}
.raw-details{margin-top:14px}
.raw-details summary{cursor:pointer;color:#bdaaff;font-weight:700}
.raw-details pre{white-space:pre-wrap;word-break:break-word;font-size:12px;color:#c9c3d2}

.chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.clear-chat{border:1px solid var(--line);background:var(--surface2);color:var(--muted);border-radius:10px;padding:9px 11px;cursor:pointer}
.chat-messages{height:min(55vh,520px);overflow-y:auto;padding:12px 4px;display:flex;flex-direction:column;gap:10px}
.chat-empty{margin:auto;color:var(--muted)}
.chat-row{display:flex}
.chat-row.user{justify-content:flex-end}
.chat-row.assistant{justify-content:flex-start}
.bubble{max-width:86%;padding:12px 14px;border-radius:16px;white-space:pre-wrap;line-height:1.55;font-family:Inter,sans-serif}
.chat-row.user .bubble{background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;border-bottom-right-radius:5px}
.chat-row.assistant .bubble{background:var(--surface2);border:1px solid var(--line);border-bottom-left-radius:5px}
.chat-compose{display:flex;gap:10px;align-items:flex-end;border-top:1px solid var(--line);padding-top:14px}
.chat-compose textarea{flex:1;min-height:54px;max-height:150px}
.send-btn{min-width:100px;height:54px;border:0;border-radius:12px;color:#fff}
@media(max-width:640px){
  .chat-head{align-items:center}
  .chat-compose{flex-direction:column}
  .send-btn{width:100%}
  .image-grid{grid-template-columns:1fr}
}


/* Fix kolom input AI di mobile */
.chat-compose{
  width:100%;
}

.chat-compose textarea{
  width:100%;
  display:block;
  flex:1 1 auto;
  min-width:0;
  min-height:54px;
  max-height:150px;
  resize:none;
  overflow-y:auto;
  background:var(--surface2);
  color:var(--text);
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px;
  outline:none;
  font:inherit;
  line-height:1.45;
}

.chat-compose textarea::placeholder{
  color:var(--muted);
}

.chat-compose textarea:focus{
  border-color:var(--purple);
  box-shadow:0 0 0 3px rgba(139,92,246,.12);
}

@media(max-width:640px){
  .chat-compose{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }

  .chat-compose textarea,
  .chat-compose .send-btn{
    width:100%;
    max-width:none;
  }
}


/* ===== Kivo Tools v4 ===== */
.chat-head{
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}

.chat-head h2{
  margin-bottom:2px;
}

.chat-head .desc{
  margin:0;
}

.chat-messages{
  background:
    radial-gradient(circle at 20% 20%,rgba(139,92,246,.08),transparent 28%),
    radial-gradient(circle at 85% 80%,rgba(99,102,241,.06),transparent 25%),
    var(--surface);
  border-radius:16px;
  padding:16px 10px;
  margin-top:12px;
  scroll-behavior:smooth;
}

.bubble{
  position:relative;
  min-width:74px;
  padding:10px 12px 6px;
  box-shadow:0 5px 18px rgba(0,0,0,.18);
}

.bubble-text{
  white-space:pre-wrap;
  word-break:break-word;
  padding-right:6px;
}

.bubble-meta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  margin-top:3px;
  font-size:10px;
  opacity:.72;
  min-height:12px;
}

.ticks{
  font-weight:800;
  letter-spacing:-2px;
}

.chat-row.user .bubble{
  background:linear-gradient(135deg,#7c3aed,#5b21b6);
  border-bottom-right-radius:4px;
}

.chat-row.assistant .bubble{
  background:#19151f;
  border:1px solid rgba(255,255,255,.07);
  border-bottom-left-radius:4px;
}

.chat-compose{
  display:flex !important;
  flex-direction:row !important;
  align-items:flex-end;
  gap:10px;
  width:100%;
  padding-top:12px;
}

.chat-compose textarea{
  flex:1 1 auto;
  width:auto !important;
  min-width:0;
  min-height:48px;
  max-height:140px;
  padding:13px 15px;
  border-radius:24px;
  resize:none;
  overflow-y:auto;
}

.send-btn{
  flex:0 0 48px;
  width:48px !important;
  min-width:48px;
  height:48px;
  padding:0;
  border-radius:50%;
  font-size:20px;
  line-height:1;
  display:grid;
  place-items:center;
  box-shadow:0 8px 24px rgba(124,58,237,.32);
}

.send-btn:active{
  transform:scale(.96);
}

.result{
  overflow-wrap:anywhere;
}

.result-video,
.result-cover{
  border:1px solid var(--line);
  box-shadow:0 10px 28px rgba(0,0,0,.25);
}

.download-btn{
  transition:.2s ease;
}

.download-btn:active{
  transform:scale(.985);
}

.modal-panel{
  max-height:92vh;
  overflow:auto;
}

@media(max-width:640px){
  .chat-messages{
    height:min(58vh,520px);
  }

  .chat-compose{
    display:flex !important;
    flex-direction:row !important;
  }

  .chat-compose textarea{
    width:auto !important;
  }

  .chat-compose .send-btn{
    width:48px !important;
  }

  .bubble{
    max-width:88%;
  }
}


/* ===== Kivo Tools v5 — hasil ramah dibaca ===== */
.friendly-wrap{
  font-family:Inter,sans-serif;
  display:grid;
  gap:14px;
}

.friendly-card,
.profile-card,
.translation-card,
.error-card{
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015));
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  font-family:Inter,sans-serif;
}

.friendly-card h3{
  margin:0 0 14px;
  font-size:19px;
}

.friendly-profile-image{
  display:flex;
  justify-content:center;
}

.friendly-profile-image img{
  width:110px;
  height:110px;
  object-fit:cover;
  border-radius:50%;
  border:3px solid rgba(139,92,246,.55);
  box-shadow:0 10px 30px rgba(124,58,237,.25);
}

.friendly-list{
  display:grid;
  gap:0;
}

.friendly-row{
  display:grid;
  grid-template-columns:minmax(110px, .8fr) minmax(0,1.4fr);
  gap:14px;
  padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.friendly-row:last-child{
  border-bottom:0;
}

.friendly-row-long{
  grid-template-columns:1fr;
  gap:5px;
}

.friendly-label{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.friendly-value{
  color:var(--text);
  text-align:right;
  overflow-wrap:anywhere;
  line-height:1.55;
}

.friendly-row-long .friendly-value{
  text-align:left;
}

.friendly-main{
  margin:0;
  line-height:1.65;
  white-space:pre-wrap;
}

.friendly-empty{
  color:var(--muted);
  text-align:center;
  padding:12px;
}

.profile-card{
  text-align:center;
}

.profile-avatar{
  width:108px;
  height:108px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid #8b5cf6;
  box-shadow:0 10px 32px rgba(124,58,237,.28);
}

.profile-main h3{
  margin:12px 0 4px;
  font-size:21px;
}

.profile-username{
  margin:0;
  color:#bdaaff;
  font-weight:700;
}

.profile-bio{
  margin:12px auto 0;
  max-width:440px;
  color:var(--muted);
  line-height:1.55;
  white-space:pre-wrap;
}

.verified-badge{
  display:inline-grid;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#8b5cf6;
  color:white;
  font-size:12px;
  vertical-align:2px;
}

.profile-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-top:16px;
}

.profile-stats div{
  padding:11px 6px;
  border-radius:13px;
  background:var(--surface2);
  border:1px solid var(--line);
}

.profile-stats strong,
.profile-stats span{
  display:block;
}

.profile-stats strong{
  font-size:17px;
}

.profile-stats span{
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
}

.copy-profile-btn{
  width:100%;
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:11px 14px;
  background:var(--surface2);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}

.translation-card span{
  display:block;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.translation-card p{
  margin:9px 0 0;
  font-size:18px;
  line-height:1.65;
  white-space:pre-wrap;
}

.error-card{
  border-color:rgba(239,68,68,.35);
  background:rgba(239,68,68,.07);
}

.error-card strong{
  color:#fca5a5;
}

.error-card p{
  margin:7px 0 0;
  color:#fecaca;
  line-height:1.5;
}

@media(max-width:640px){
  .friendly-row{
    grid-template-columns:1fr;
    gap:4px;
  }

  .friendly-value{
    text-align:left;
  }

  .profile-stats{
    grid-template-columns:repeat(2,1fr);
  }
}


/* ===== Kivo Tools v6 — motion & premium footer ===== */
body{overflow-x:hidden}

.glow-a{animation:glowFloatA 11s ease-in-out infinite alternate}
.glow-b{animation:glowFloatB 13s ease-in-out infinite alternate}
@keyframes glowFloatA{to{transform:translate(-70px,85px) scale(1.16)}}
@keyframes glowFloatB{to{transform:translate(90px,-65px) scale(.88)}}

.particles{position:fixed;inset:0;pointer-events:none;z-index:-1;overflow:hidden}
.particles i{position:absolute;width:4px;height:4px;border-radius:50%;background:#b794f6;box-shadow:0 0 14px #8b5cf6;opacity:.35;animation:particleFloat 12s linear infinite}
.particles i:nth-child(1){left:8%;top:85%;animation-duration:14s}
.particles i:nth-child(2){left:24%;top:65%;animation-delay:-4s;animation-duration:17s}
.particles i:nth-child(3){left:48%;top:92%;animation-delay:-8s}
.particles i:nth-child(4){left:69%;top:74%;animation-delay:-2s;animation-duration:15s}
.particles i:nth-child(5){left:84%;top:88%;animation-delay:-7s;animation-duration:19s}
.particles i:nth-child(6){left:94%;top:55%;animation-delay:-10s}
@keyframes particleFloat{0%{transform:translateY(30px) scale(.7);opacity:0}15%{opacity:.45}85%{opacity:.25}100%{transform:translateY(-110vh) translateX(45px) scale(1.35);opacity:0}}

.brand .mark,.footer-mark{animation:logoPulse 3.6s ease-in-out infinite}
@keyframes logoPulse{50%{box-shadow:0 0 0 8px rgba(139,92,246,.08),0 0 30px rgba(139,92,246,.42);transform:translateY(-2px)}}

.hero h1{background:linear-gradient(110deg,#fff 15%,#c4b5fd 45%,#fff 70%);background-size:220% auto;color:transparent;background-clip:text;-webkit-background-clip:text;animation:titleShine 7s linear infinite}
@keyframes titleShine{to{background-position:220% center}}

.status i{animation:statusPulse 1.8s ease-out infinite}
@keyframes statusPulse{0%{box-shadow:0 0 0 0 rgba(52,211,153,.55)}70%{box-shadow:0 0 0 8px rgba(52,211,153,0)}100%{box-shadow:0 0 0 0 rgba(52,211,153,0)}}

.reveal,.reveal-card{opacity:0;transform:translateY(24px);transition:opacity .65s ease var(--delay,0ms),transform .65s cubic-bezier(.2,.8,.2,1) var(--delay,0ms)}
.reveal.is-visible,.reveal-card.is-visible{opacity:1;transform:translateY(0)}

.card{position:relative;overflow:hidden;will-change:transform;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.card::before{content:"";position:absolute;inset:-60%;background:linear-gradient(115deg,transparent 42%,rgba(255,255,255,.08) 50%,transparent 58%);transform:translateX(-60%) rotate(8deg);transition:transform .7s ease;pointer-events:none}
.card:hover::before{transform:translateX(60%) rotate(8deg)}
.card:hover{box-shadow:0 18px 45px rgba(72,35,130,.25)}
.card button{transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.card button:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(124,58,237,.28)}

.modal{opacity:0;transition:opacity .18s ease}
.modal.show{opacity:1}
.modal .panel{transform:translateY(22px) scale(.97);opacity:0;transition:transform .25s cubic-bezier(.2,.85,.25,1),opacity .2s ease}
.modal.animate-in .panel{transform:translateY(0) scale(1);opacity:1}
.loader-line{box-shadow:0 0 18px rgba(139,92,246,.35)}

.site-footer{width:min(1180px,90vw);margin:0 auto 34px;padding:28px;border:1px solid rgba(139,92,246,.28);border-radius:24px;background:linear-gradient(135deg,rgba(24,18,36,.95),rgba(12,9,18,.95));box-shadow:0 18px 55px rgba(60,30,110,.2);display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:28px;align-items:center;color:var(--text)}
.footer-brand{display:flex;align-items:center;gap:14px}
.footer-mark{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:linear-gradient(135deg,var(--purple),var(--purple2));font-family:"Space Grotesk",sans-serif;font-weight:800;font-size:28px}
.footer-brand strong{font-size:18px}
.footer-brand p{margin:5px 0 0;color:var(--muted);line-height:1.45}
.footer-creator{display:flex;flex-direction:column;padding-left:28px;border-left:1px solid var(--line)}
.footer-creator span{color:var(--muted);font-size:12px}
.footer-creator strong{font-family:"Space Grotesk",sans-serif;font-size:25px;color:#c4b5fd;margin:4px 0}
.footer-creator small{color:var(--muted)}
.footer-meta{display:flex;flex-direction:column;gap:5px;padding-left:28px;border-left:1px solid var(--line)}
.footer-meta span{color:var(--muted);font-size:11px;line-height:1.4}

@media(max-width:780px){
  .site-footer{grid-template-columns:1fr;text-align:center;padding:24px 18px}
  .footer-brand{justify-content:center}
  .footer-creator,.footer-meta{padding-left:0;padding-top:20px;border-left:0;border-top:1px solid var(--line)}
  .card:hover{transform:none}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
  .reveal,.reveal-card{opacity:1;transform:none}
}


/* ===== Kivo Tools v6.1 ===== */

/* Chat dibuat lebih rapat dan proporsional */
.chat-messages{
  gap:9px !important;
  padding:13px 8px !important;
}

.chat-row{
  align-items:flex-end;
}

.bubble{
  width:auto !important;
  min-width:0 !important;
  max-width:74% !important;
  min-height:0 !important;
  height:auto !important;
  padding:9px 11px 5px !important;
  line-height:1.42 !important;
  border-radius:15px !important;
  flex:0 0 auto !important;
}

.chat-row.user .bubble{
  border-bottom-right-radius:4px !important;
}

.chat-row.assistant .bubble{
  border-bottom-left-radius:4px !important;
}

.bubble-text{
  padding-right:0 !important;
  min-height:0 !important;
}

.bubble-meta{
  margin-top:2px !important;
  min-height:10px !important;
  font-size:9px !important;
}

.send-btn{
  flex-basis:44px !important;
  width:44px !important;
  min-width:44px !important;
  height:44px !important;
  font-size:18px !important;
}

.chat-compose textarea{
  min-height:44px !important;
  padding:11px 14px !important;
}

.typing-dots{
  display:inline-flex;
  gap:4px;
  align-items:center;
  min-width:36px;
  padding:3px 1px;
}

.typing-dots i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#c4b5fd;
  animation:typingBounce 1s infinite ease-in-out;
}

.typing-dots i:nth-child(2){animation-delay:.14s}
.typing-dots i:nth-child(3){animation-delay:.28s}

@keyframes typingBounce{
  0%,60%,100%{transform:translateY(0);opacity:.45}
  30%{transform:translateY(-5px);opacity:1}
}

/* Sambutan pembuka */
.welcome-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(4,3,9,.82);
  backdrop-filter:blur(13px);
  opacity:0;
  visibility:hidden;
  transition:.4s ease;
}

.welcome-overlay.welcome-show{
  opacity:1;
  visibility:visible;
}

.welcome-overlay.welcome-hide{
  opacity:0;
  transform:scale(1.03);
}

.welcome-box{
  width:min(520px,100%);
  padding:30px 24px;
  text-align:center;
  border:1px solid rgba(139,92,246,.42);
  border-radius:25px;
  background:
    radial-gradient(circle at top,rgba(139,92,246,.19),transparent 48%),
    linear-gradient(145deg,rgba(25,19,38,.98),rgba(10,8,17,.98));
  box-shadow:0 25px 80px rgba(78,35,145,.34);
  animation:welcomeFloat .7s cubic-bezier(.2,.8,.2,1);
}

.welcome-logo{
  display:grid;
  place-items:center;
  width:68px;
  height:68px;
  margin:0 auto 20px;
  border-radius:21px;
  background:linear-gradient(135deg,var(--purple),var(--purple2));
  color:#fff;
  font-family:"Space Grotesk",sans-serif;
  font-size:34px;
  font-weight:800;
  box-shadow:0 0 32px rgba(139,92,246,.48);
  animation:welcomeLogo 2.2s ease-in-out infinite;
}

.welcome-box p{
  min-height:88px;
  margin:0;
  color:#eee9f7;
  font-size:17px;
  line-height:1.7;
}

.welcome-box p::after{
  content:"";
  display:inline-block;
  width:2px;
  height:1em;
  margin-left:3px;
  vertical-align:-2px;
  background:#a78bfa;
  animation:cursorBlink .75s steps(1) infinite;
}

#welcomeClose{
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  margin-top:18px;
  padding:12px 20px;
  border:0;
  border-radius:13px;
  background:linear-gradient(135deg,var(--purple),var(--purple2));
  color:#fff;
  font-weight:800;
  cursor:pointer;
  transition:.35s ease;
}

#welcomeClose.welcome-button-show{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

@keyframes welcomeFloat{
  from{opacity:0;transform:translateY(25px) scale(.95)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

@keyframes welcomeLogo{
  0%,100%{transform:translateY(0) rotate(0)}
  50%{transform:translateY(-6px) rotate(3deg)}
}

@keyframes cursorBlink{
  50%{opacity:0}
}

@media(max-width:640px){
  .bubble{
    max-width:78% !important;
  }

  .welcome-box{
    padding:26px 19px;
  }

  .welcome-box p{
    font-size:15px;
    min-height:104px;
  }
}

@media(prefers-reduced-motion:reduce){
  .welcome-box,.welcome-logo,.typing-dots i{
    animation:none !important;
  }
}


/* ===== Kivo Tools v7 — identitas & copy baru ===== */
.hero{
  position:relative;
  overflow:hidden;
}

.hero::after{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-70px;
  bottom:-80px;
  border-radius:50%;
  border:1px solid rgba(167,139,250,.14);
  box-shadow:
    0 0 0 25px rgba(139,92,246,.035),
    0 0 0 55px rgba(139,92,246,.02);
  animation:heroOrbit 9s ease-in-out infinite;
  pointer-events:none;
}

.hero-description{
  max-width:720px;
}

.hero-highlight{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:28px;
  margin-top:18px;
  color:#d9cff0;
  font-size:14px;
  font-weight:600;
}

.hero-highlight-dot{
  flex:0 0 8px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#a78bfa;
  box-shadow:0 0 15px rgba(167,139,250,.9);
  animation:highlightPulse 1.8s ease-in-out infinite;
}

#rotatingText{
  display:inline-block;
  transition:opacity .3s ease,transform .3s ease,filter .3s ease;
}

#rotatingText.rotating-out{
  opacity:0;
  transform:translateY(-8px);
  filter:blur(3px);
}

#rotatingText.rotating-in{
  animation:rotatingTextIn .45s ease;
}

.section-subtitle{
  margin:7px 0 0;
  color:var(--muted);
  font-size:14px;
}

.card p{
  line-height:1.6;
}

.footer-creator strong{
  text-transform:none;
  letter-spacing:.01em;
}

@keyframes rotatingTextIn{
  from{opacity:0;transform:translateY(9px);filter:blur(3px)}
  to{opacity:1;transform:translateY(0);filter:blur(0)}
}

@keyframes highlightPulse{
  0%,100%{transform:scale(.82);opacity:.6}
  50%{transform:scale(1.15);opacity:1}
}

@keyframes heroOrbit{
  0%,100%{transform:translate(0,0) rotate(0)}
  50%{transform:translate(-14px,-10px) rotate(12deg)}
}

@media(max-width:640px){
  .hero-highlight{
    align-items:flex-start;
    font-size:13px;
    line-height:1.5;
  }

  .hero::after{
    width:130px;
    height:130px;
    right:-58px;
    bottom:-45px;
  }
}


/* ===== Kivo Tools v8 — AI chat upgrade ===== */
.chat-head{
  gap:12px;
}

.chat-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}

.clear-chat.active{
  color:#fff;
  border-color:rgba(139,92,246,.65);
  background:rgba(124,58,237,.18);
}

.ai-settings-panel{
  margin-top:12px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.025);
  animation:settingsOpen .25s ease;
}

.ai-settings-panel[hidden]{
  display:none !important;
}

.ai-settings-panel textarea{
  min-height:100px;
}

.ai-settings-panel input[type="range"]{
  padding:0;
  accent-color:#8b5cf6;
}

.ai-settings-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.ai-settings-actions button{
  flex:1 1 120px;
}

.chat-messages{
  overflow-x:hidden !important;
}

.chat-row{
  width:100%;
  min-width:0;
}

.bubble{
  width:fit-content !important;
  min-width:0 !important;
  max-width:min(88%,680px) !important;
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
}

.chat-row.user .bubble{
  max-width:min(82%,560px) !important;
}

.bubble-text{
  display:block;
  width:auto;
  min-width:0;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
  white-space:normal !important;
  hyphens:auto;
}

.bubble-text p{
  margin:0 0 9px;
  line-height:1.58;
}

.bubble-text p:last-child{
  margin-bottom:0;
}

.bubble-text ul,
.bubble-text ol{
  margin:7px 0 9px;
  padding-left:22px;
}

.bubble-text li{
  margin:4px 0;
  line-height:1.5;
}

.bubble-text code{
  padding:2px 5px;
  border-radius:5px;
  background:rgba(255,255,255,.08);
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:.9em;
  overflow-wrap:anywhere;
}

.bubble-text pre{
  max-width:100%;
  margin:9px 0;
  padding:11px;
  overflow-x:auto;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:#09070e;
}

.bubble-text pre code{
  padding:0;
  background:none;
  white-space:pre;
  word-break:normal;
}

.md-space{
  height:7px;
}

.bubble-footer{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-top:5px;
}

.message-actions{
  display:flex;
  gap:4px;
  opacity:0;
  transform:translateY(2px);
  transition:.18s ease;
}

.bubble:hover .message-actions,
.bubble:focus-within .message-actions{
  opacity:1;
  transform:translateY(0);
}

.message-actions button{
  padding:3px 6px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:inherit;
  opacity:.66;
  font-size:10px;
  cursor:pointer;
}

.message-actions button:hover{
  opacity:1;
  background:rgba(255,255,255,.08);
}

.chat-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:180px;
  text-align:center;
}

.chat-empty strong{
  color:var(--text);
  font-size:17px;
}

.chat-empty span{
  color:var(--muted);
  font-size:13px;
}

@keyframes settingsOpen{
  from{opacity:0;transform:translateY(-7px)}
  to{opacity:1;transform:translateY(0)}
}

@media(max-width:640px){
  .chat-head{
    align-items:flex-start;
  }

  .chat-head-actions{
    max-width:150px;
  }

  .clear-chat{
    padding:8px 9px;
    font-size:12px;
  }

  .bubble{
    max-width:92% !important;
  }

  .chat-row.user .bubble{
    max-width:86% !important;
  }

  .message-actions{
    opacity:.75;
  }

  .bubble-text{
    font-size:15px;
  }
}


/* ===== Kivo Tools v8.2 — bubble chat compact fix ===== */
.chat-row{
  flex:0 0 auto !important;
  min-height:0 !important;
  height:auto !important;
  align-items:flex-end !important;
}

.chat-row.user{
  justify-content:flex-end !important;
}

.chat-row.assistant{
  justify-content:flex-start !important;
}

.bubble{
  display:inline-flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  align-items:stretch !important;
  flex:0 0 auto !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:78% !important;
  padding:9px 11px 6px !important;
}

.chat-row.user .bubble{
  max-width:72% !important;
}

.bubble-text{
  flex:0 0 auto !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  font-size:14px !important;
  line-height:1.45 !important;
}

.bubble-text p{
  margin:0 0 7px !important;
  padding:0 !important;
  min-height:0 !important;
}

.bubble-text p:last-child{
  margin-bottom:0 !important;
}

.bubble-footer{
  flex:0 0 auto !important;
  min-height:0 !important;
  margin-top:4px !important;
}

.bubble-meta{
  min-height:0 !important;
  line-height:1 !important;
}

.message-actions{
  line-height:1 !important;
}

.message-actions button{
  padding:2px 4px !important;
  font-size:9px !important;
}

@media(max-width:640px){
  .bubble{
    max-width:82% !important;
  }

  .chat-row.user .bubble{
    max-width:76% !important;
  }

  .bubble-text{
    font-size:14px !important;
  }
}


/* ===== Kivo Tools v9 ===== */
.anime-quote-card{
  position:relative;
  padding:22px 18px 18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(124,58,237,.13),rgba(255,255,255,.02));
  font-family:Inter,sans-serif;
}

.anime-quote-card .quote-mark{
  position:absolute;
  top:-8px;
  left:12px;
  color:#a78bfa;
  font:800 70px/1 Georgia,serif;
  opacity:.55;
}

.anime-quote-card p{
  position:relative;
  margin:10px 0 18px;
  font-size:18px;
  line-height:1.65;
  white-space:pre-wrap;
}

.anime-quote-card div{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding-top:12px;
  border-top:1px solid var(--line);
}

.anime-quote-card strong{color:#c4b5fd}
.anime-quote-card span{color:var(--muted)}

.demo-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.photo-source-tabs{
  display:flex;
  gap:8px;
  margin:14px 0 10px;
  padding:5px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface2);
}

.photo-tab{
  flex:1;
  padding:10px 12px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--muted);
  font-weight:800;
  cursor:pointer;
}

.photo-tab.active{
  color:#fff;
  background:linear-gradient(135deg,var(--purple),var(--purple2));
}

.demo-result{
  display:none;
  margin-top:14px;
}

.demo-result.demo-ready{
  display:block;
  animation:resultFade .35s ease;
}

.demo-result canvas{
  width:100%;
  height:auto;
  border:1px solid var(--line);
  border-radius:16px;
  background:#09070e;
  box-shadow:0 16px 40px rgba(0,0,0,.28);
}

@keyframes resultFade{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

@media(max-width:640px){
  .demo-grid{grid-template-columns:1fr}
  .anime-quote-card p{font-size:16px}
}


/* ===== Kivo Tools v9.1 — downloader stabil ===== */
.video-shell{
  position:relative;
  min-height:230px;
  margin-top:12px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:15px;
  background:#050408;
}

.video-poster,
.video-shell .result-video{
  display:block;
  width:100%;
  min-height:230px;
  max-height:430px;
  margin:0;
  object-fit:contain;
  background:#050408;
}

.video-poster{
  position:absolute;
  inset:0;
  height:100%;
  object-fit:cover;
  filter:brightness(.65);
}

.preview-btn{
  position:absolute;
  left:50%;
  top:50%;
  z-index:2;
  transform:translate(-50%,-50%);
  min-width:145px;
  padding:12px 16px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(17,12,28,.88);
  color:#fff;
  font-weight:800;
  backdrop-filter:blur(8px);
  cursor:pointer;
}

.preview-btn:disabled{
  opacity:.72;
  cursor:wait;
}

.download-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:12px;
}

.download-actions .download-btn{
  margin-top:0;
}

.media-hint{
  margin:9px 2px 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.audio-shell{
  margin-top:14px;
}

.audio-shell audio{
  width:100%;
}

@media(max-width:640px){
  .video-shell,
  .video-poster,
  .video-shell .result-video{
    min-height:210px;
  }

  .download-actions{
    grid-template-columns:1fr;
  }
}


/* ===== Kivo Tools v9.2 — Welcome Canvas ===== */
.welcome-box-canvas{
  width:min(720px,100%);
  padding:16px;
}

#welcomeCanvas{
  display:block;
  width:100%;
  height:auto;
  border-radius:20px;
  border:1px solid rgba(167,139,250,.35);
  box-shadow:0 20px 55px rgba(0,0,0,.38);
}

.welcome-caption{
  min-height:56px !important;
  margin-top:15px !important;
  padding:0 8px;
}

.visitor-entry{
  display:flex;
  align-items:center;
  gap:8px;
  max-width:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(-8px);
  padding:0;
  border:1px solid transparent;
  border-radius:999px;
  color:#d8d1e4;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
  transition:.45s ease;
}

.visitor-entry-show{
  max-width:260px;
  opacity:1;
  transform:translateY(0);
  padding:8px 12px;
  border-color:rgba(139,92,246,.28);
  background:rgba(139,92,246,.08);
}

.visitor-entry-online{
  border-color:rgba(52,211,153,.28);
  background:rgba(52,211,153,.07);
}

.visitor-entry-hide{
  opacity:0;
  transform:translateY(-7px);
  pointer-events:none;
}

.visitor-entry-dot{
  flex:0 0 8px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#a78bfa;
  box-shadow:0 0 12px rgba(167,139,250,.9);
  animation:visitorPulse 1s ease-in-out infinite;
}

.visitor-entry-online .visitor-entry-dot{
  background:#34d399;
  box-shadow:0 0 12px rgba(52,211,153,.9);
}

@keyframes visitorPulse{
  0%,100%{transform:scale(.82);opacity:.6}
  50%{transform:scale(1.18);opacity:1}
}

@media(max-width:760px){
  .topbar{
    flex-wrap:wrap;
  }

  .visitor-entry{
    order:3;
  }

  .visitor-entry-show{
    max-width:220px;
  }

  .welcome-box-canvas{
    padding:10px;
  }

  .welcome-caption{
    font-size:14px !important;
    min-height:76px !important;
  }
}


/* ===== Kivo Tools v10 — Anime Center ===== */
.anime-quote-list{
  display:grid;
  gap:12px;
}

.anime-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.anime-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(160deg,rgba(139,92,246,.08),rgba(255,255,255,.02));
  font-family:Inter,sans-serif;
}

.anime-card img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  display:block;
  background:#08060d;
}

.anime-card-body{
  padding:14px;
}

.anime-card h3{
  margin:0 0 9px;
  font-size:17px;
  line-height:1.35;
}

.anime-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.anime-badges span{
  padding:5px 8px;
  border:1px solid rgba(167,139,250,.2);
  border-radius:999px;
  background:rgba(139,92,246,.1);
  color:#d8ccf5;
  font-size:11px;
  font-weight:700;
}

.anime-genres{
  margin:10px 0 0;
  color:#c4b5fd;
  font-size:12px;
  font-weight:700;
}

.anime-synopsis{
  display:-webkit-box;
  overflow:hidden;
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.55;
  -webkit-line-clamp:5;
  -webkit-box-orient:vertical;
}

.anime-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:13px;
}

.anime-links a{
  padding:9px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface2);
  color:#fff;
  text-align:center;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}

.anime-links a:first-child{
  background:linear-gradient(135deg,var(--purple),var(--purple2));
}

@media(max-width:640px){
  .anime-grid{
    grid-template-columns:1fr;
  }

  .anime-links{
    grid-template-columns:1fr;
  }
}


/* ===== Kivo Tools v10.3 — Horizontal Tool Selector ===== */
.tool-source-grid-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
  clip-path:inset(50%) !important;
}

.tool-selector{
  display:flex;
  gap:10px;
  width:100%;
  margin-top:18px;
  padding:5px 2px 12px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.tool-selector::-webkit-scrollbar{
  display:none;
}

.tool-tab{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:48px;
  padding:8px 14px 8px 9px;
  border:1px solid var(--line);
  border-radius:15px;
  background:rgba(255,255,255,.025);
  color:var(--muted);
  cursor:pointer;
  scroll-snap-align:start;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    color .2s ease;
}

.tool-tab span{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:11px;
  background:rgba(139,92,246,.12);
  color:#c4b5fd;
  font-size:12px;
  font-weight:800;
}

.tool-tab strong{
  max-width:170px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
}

.tool-tab.active{
  color:#fff;
  border-color:rgba(139,92,246,.58);
  background:linear-gradient(135deg,rgba(124,58,237,.22),rgba(139,92,246,.08));
  box-shadow:0 8px 24px rgba(86,42,145,.16);
  transform:translateY(-2px);
}

.tool-tab.active span{
  background:linear-gradient(135deg,var(--purple),var(--purple2));
  color:#fff;
}

.tool-detail{
  margin-top:7px;
}

.selected-tool-card{
  position:relative;
  overflow:hidden;
  padding:22px;
  border:1px solid rgba(139,92,246,.28);
  border-radius:22px;
  background:
    radial-gradient(circle at 92% 10%,rgba(139,92,246,.16),transparent 31%),
    linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  box-shadow:0 16px 44px rgba(0,0,0,.18);
  animation:selectedToolIn .32s ease;
}

.selected-tool-card::after{
  content:"";
  position:absolute;
  right:-44px;
  bottom:-68px;
  width:180px;
  height:180px;
  border:1px solid rgba(167,139,250,.12);
  border-radius:50%;
  box-shadow:
    0 0 0 24px rgba(139,92,246,.025),
    0 0 0 52px rgba(139,92,246,.015);
  pointer-events:none;
}

.selected-tool-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:14px;
}

.selected-tool-icon{
  display:grid;
  place-items:center;
  flex:0 0 58px;
  width:58px;
  height:58px;
  border-radius:17px;
  background:linear-gradient(135deg,var(--purple),var(--purple2));
  color:#fff;
  font-size:18px;
  font-weight:800;
  box-shadow:0 12px 28px rgba(124,58,237,.26);
}

.selected-tool-label{
  color:#a78bfa;
  font-size:10px;
  font-weight:800;
  letter-spacing:.15em;
}

.selected-tool-card h3{
  margin:4px 0 0;
  font-size:24px;
  line-height:1.2;
}

.selected-tool-card p{
  position:relative;
  z-index:1;
  max-width:720px;
  margin:17px 0;
  color:var(--muted);
  line-height:1.65;
}

.selected-tool-open{
  position:relative;
  z-index:1;
  width:100%;
  min-height:48px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,var(--purple),var(--purple2));
  color:#fff;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(124,58,237,.24);
}

.selected-tool-open:active{
  transform:scale(.988);
}

.tool-detail-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  padding:32px 18px;
  border:1px dashed var(--line);
  border-radius:18px;
  color:var(--muted);
  text-align:center;
}

.tool-detail-empty strong{
  color:var(--text);
}

@keyframes selectedToolIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

@media(max-width:640px){
  .section-head{
    gap:14px;
  }

  .tool-selector{
    margin-left:-2px;
    padding-right:18px;
  }

  .tool-tab{
    min-height:45px;
    padding:7px 12px 7px 7px;
  }

  .tool-tab span{
    width:32px;
    height:32px;
    flex-basis:32px;
  }

  .tool-tab strong{
    max-width:135px;
    font-size:12px;
  }

  .selected-tool-card{
    padding:18px;
  }

  .selected-tool-icon{
    width:50px;
    height:50px;
    flex-basis:50px;
    border-radius:15px;
  }

  .selected-tool-card h3{
    font-size:21px;
  }

  .selected-tool-card p{
    margin:14px 0;
    font-size:14px;
  }
}

/* KivoPay V11 — Store */
.main-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.main-nav a{color:var(--muted);text-decoration:none;font-weight:700;font-size:12px;padding:9px 12px;border-radius:11px}.main-nav a:hover,.main-nav .admin-link{color:#fff;background:rgba(139,92,246,.1)}
.btn.secondary{background:transparent;border:1px solid rgba(255,255,255,.12);color:#fff;margin-left:8px}
.store-section{padding-top:30px}.store-filters{display:flex;gap:7px;overflow-x:auto}.store-filters button{flex:0 0 auto;border:1px solid var(--line);background:#15111d;color:var(--muted);padding:10px 13px;border-radius:12px;font-weight:700}.store-filters button.active{color:#fff;border-color:rgba(139,92,246,.5);background:rgba(124,58,237,.15)}
.store-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.store-card{overflow:hidden;border:1px solid rgba(139,92,246,.18);border-radius:21px;background:rgba(16,12,23,.92);box-shadow:0 15px 45px rgba(0,0,0,.18)}.store-image-wrap{position:relative;height:190px}.store-image{width:100%;height:100%;object-fit:cover}.store-category{position:absolute;top:12px;left:12px;padding:7px 10px;border-radius:999px;background:rgba(8,5,13,.78);backdrop-filter:blur(8px);font-size:11px;font-weight:800}.store-card-body{padding:17px}.store-card h3{font-size:19px;margin:0 0 8px}.store-card p{color:var(--muted);font-size:13px;line-height:1.55;min-height:61px}.store-meta{display:flex;justify-content:space-between;align-items:center;margin:15px 0}.store-meta strong{font-size:18px;color:#c4b5fd}.store-meta span{font-size:11px;color:var(--muted)}.store-buy{width:100%;border:0;border-radius:13px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;padding:13px;font-weight:800}.store-loading,.store-empty{grid-column:1/-1;padding:35px;border:1px dashed var(--line);border-radius:18px;text-align:center;color:var(--muted)}
.order-check{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.order-lookup-box{display:flex;gap:8px}.order-lookup-box input{flex:1;border:1px solid var(--line);border-radius:14px;background:#15111d;color:#fff;padding:14px}.order-lookup-box button{border:0;border-radius:14px;padding:0 18px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;font-weight:800}.order-lookup-result{grid-column:1/-1;color:var(--muted)}.order-result-card{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px;border:1px solid var(--line);border-radius:15px;background:#110e18}.order-result-card b{margin-left:auto;padding:7px 10px;border-radius:999px;background:rgba(245,158,11,.12);color:#fbbf24;font-size:11px}
.shop-modal{position:fixed;inset:0;z-index:9999;display:none;place-items:center;padding:18px;background:rgba(3,2,6,.75);backdrop-filter:blur(10px)}.shop-modal.open{display:grid}.shop-panel{position:relative;width:min(520px,100%);max-height:90vh;overflow:auto;border:1px solid rgba(139,92,246,.3);border-radius:24px;background:#100c18;padding:23px;box-shadow:0 30px 90px #000}.shop-close{position:absolute;right:15px;top:13px;border:0;background:transparent;color:#aaa2b9;font-size:28px}.checkout-head{display:flex;gap:13px;align-items:center;margin-bottom:20px}.checkout-head img{width:64px;height:64px;object-fit:cover;border-radius:16px}.checkout-head span{font-size:10px;letter-spacing:.13em;color:#a78bfa;font-weight:800}.checkout-head h2{margin:4px 0}.shop-panel label{display:block;margin:12px 0 7px;font-size:12px;font-weight:800;color:#bdb5ca}.shop-panel input,.shop-panel select{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:13px;background:#181321;color:#fff;padding:14px}.checkout-submit{width:100%;margin-top:16px;border:0;border-radius:13px;padding:14px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;font-weight:800}.checkout-note{color:var(--muted);font-size:11px;line-height:1.5}.order-success{text-align:center;padding:20px}.order-success>span{display:grid;place-items:center;width:60px;height:60px;margin:auto;border-radius:50%;background:rgba(34,197,94,.13);color:#86efac;font-size:28px}.order-success strong{display:block;font-size:21px;color:#c4b5fd;margin:12px}.order-success small{color:var(--muted)}
@media(max-width:850px){.store-grid{grid-template-columns:1fr 1fr}.order-check{grid-template-columns:1fr}.order-lookup-result{grid-column:auto}.main-nav{max-width:55%;justify-content:flex-end}.visitor-entry{display:none!important}}
@media(max-width:560px){.topbar{align-items:flex-start}.main-nav{max-width:100%;width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}.main-nav a{flex:0 0 auto}.store-grid{grid-template-columns:1fr}.store-image-wrap{height:180px}.order-lookup-box{flex-direction:column}.order-lookup-box button{min-height:46px}.btn.secondary{margin-left:4px}}

.payment-view{text-align:center}.payment-label{font-size:10px;letter-spacing:.15em;color:#a78bfa;font-weight:800}.payment-view h2{margin:7px 0}.payment-view>p{color:var(--muted);font-size:13px}.qris-box{display:grid;place-items:center;width:260px;min-height:260px;margin:18px auto;padding:14px;border-radius:19px;background:#fff}.qris-box img,.qris-box canvas{max-width:230px!important;width:100%;height:auto!important}.payment-total{display:flex;justify-content:space-between;align-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;background:#171220}.payment-total span{color:var(--muted);font-size:12px}.payment-total strong{color:#c4b5fd;font-size:21px}.invoice-copy{display:flex;justify-content:space-between;align-items:center;margin-top:9px;padding:11px 13px;border-radius:12px;background:#0d0a12;color:var(--muted);font-size:12px}.invoice-copy button,.delivery-box button{border:0;border-radius:9px;background:rgba(139,92,246,.18);color:#ddd6fe;padding:8px 11px;font-weight:800}.payment-status{margin:13px 0;padding:12px;border-radius:12px;font-weight:800;font-size:13px}.payment-status.pending{background:rgba(245,158,11,.12);color:#fbbf24}.payment-status.completed{background:rgba(34,197,94,.12);color:#86efac}.payment-status.processing{background:rgba(59,130,246,.12);color:#93c5fd}.payment-status.cancelled{background:rgba(239,68,68,.12);color:#fca5a5}.delivery-box{margin-top:15px;padding:15px;border:1px solid rgba(34,197,94,.3);border-radius:15px;background:rgba(34,197,94,.06);text-align:left}.delivery-box span{font-size:10px;letter-spacing:.12em;color:#86efac;font-weight:800}.delivery-box pre{white-space:pre-wrap;word-break:break-word;color:#fff;font-family:Inter,sans-serif;line-height:1.6}.delivery-box button{width:100%}


/* =========================================================
   KivoPay V13 — Compact Store Cards
   ========================================================= */
.store-section{padding-top:22px}

.store-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.store-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border-radius:18px;
}

.store-image-wrap{
  height:auto;
  aspect-ratio:16 / 10;
  background:#12101a;
}

.store-image{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.store-category{
  top:9px;
  left:9px;
  padding:6px 9px;
  font-size:10px;
}

.store-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:14px;
}

.store-card h3{
  display:-webkit-box;
  min-height:42px;
  margin:0 0 7px;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  font-size:16px;
  line-height:1.3;
}

.store-card p{
  display:-webkit-box;
  min-height:40px;
  margin:0;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  font-size:12px;
  line-height:1.55;
}

.store-meta{
  gap:8px;
  margin:12px 0;
}

.store-meta strong{font-size:16px}

.store-meta span{
  margin-left:auto;
  white-space:nowrap;
  font-size:10px;
}

.store-buy{
  min-height:41px;
  margin-top:auto;
  padding:10px 11px;
  border-radius:11px;
  font-size:12px;
}

@media(max-width:1050px){
  .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:760px){
  .store-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .store-card{border-radius:15px}
  .store-image-wrap{aspect-ratio:1 / 1}
  .store-card-body{padding:11px}

  .store-card h3{
    min-height:36px;
    margin-bottom:5px;
    font-size:14px;
    line-height:1.28;
  }

  .store-card p{
    min-height:35px;
    -webkit-line-clamp:2;
    font-size:10.5px;
    line-height:1.45;
  }

  .store-meta{
    display:grid;
    grid-template-columns:1fr auto;
    margin:10px 0;
  }

  .store-meta strong{font-size:14px}
  .store-meta span{align-self:center;font-size:9px}

  .store-buy{
    min-height:38px;
    padding:9px 8px;
    font-size:11px;
  }
}

@media(max-width:370px){
  .store-grid{grid-template-columns:1fr}
  .store-image-wrap{aspect-ratio:16 / 9}
}


/* =========================================================
   KivoPay V13.1 — Clean public nav + professional footer
   ========================================================= */

.main-nav .admin-link{
  display:none !important;
}

.site-footer{
  margin-top:72px;
  border-top:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 15% 10%,rgba(124,58,237,.12),transparent 32%),
    linear-gradient(180deg,#0b0811,#07050b);
}

.footer-shell{
  width:min(1180px,calc(100% - 34px));
  margin:auto;
  padding:52px 0 24px;
}

.footer-brand-block{
  padding-bottom:28px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:15px;
  max-width:560px;
  color:#fff;
  text-decoration:none;
}

.footer-logo{
  display:grid;
  place-items:center;
  flex:0 0 58px;
  width:58px;
  height:58px;
  border-radius:17px;
  background:linear-gradient(135deg,var(--purple),var(--purple2));
  color:#fff;
  font-family:"Space Grotesk",sans-serif;
  font-size:25px;
  font-weight:800;
  box-shadow:0 14px 34px rgba(124,58,237,.26);
}

.footer-brand strong{
  display:block;
  margin-bottom:5px;
  font-family:"Space Grotesk",sans-serif;
  font-size:24px;
}

.footer-brand p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}

.footer-columns{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:34px;
  padding:34px 0;
}

.footer-column{
  display:flex;
  flex-direction:column;
  gap:11px;
}

.footer-column h4{
  margin:0 0 4px;
  color:#fff;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.footer-column a,
.footer-column span{
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
  text-decoration:none;
}

.footer-column a:hover{
  color:#c4b5fd;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#8f879d;
  font-size:12px;
}

.footer-bottom p{
  margin:0;
}

.footer-bottom strong{
  color:#c4b5fd;
}

@media(max-width:720px){
  .footer-shell{
    width:min(100% - 28px,1180px);
    padding-top:40px;
  }

  .footer-columns{
    grid-template-columns:1fr 1fr;
    gap:26px 18px;
  }

  .footer-column:last-child{
    grid-column:1 / -1;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}

@media(max-width:430px){
  .footer-columns{
    grid-template-columns:1fr;
  }

  .footer-column:last-child{
    grid-column:auto;
  }

  .footer-brand{
    align-items:flex-start;
  }

  .footer-logo{
    width:50px;
    height:50px;
    flex-basis:50px;
    border-radius:15px;
  }

  .footer-brand strong{
    font-size:21px;
  }
}


/* KivoPay V13.2 — Payment polish */
.payment-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:16px;
}

.payment-actions button{
  min-height:43px;
  border:1px solid rgba(139,92,246,.28);
  border-radius:12px;
  background:rgba(124,58,237,.16);
  color:#ddd6fe;
  font-weight:800;
  cursor:pointer;
}

.payment-actions button:disabled{
  opacity:.65;
  cursor:wait;
}

.payment-actions .payment-cancel{
  border-color:rgba(239,68,68,.22);
  background:rgba(239,68,68,.08);
  color:#fca5a5;
}

@media(max-width:390px){
  .payment-actions{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   KivoPay V13.3 — Rating, delivery receipt, global chat
   ========================================================= */
.product-rating-mini{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:19px;
  margin-top:8px;
}

.stars{
  color:#fbbf24;
  letter-spacing:1px;
  white-space:nowrap;
}

.product-rating-mini .stars{font-size:11px}
.product-rating-mini span:last-child{color:var(--muted);font-size:9.5px}

.delivery-receipt{
  margin-top:18px;
  padding:20px;
  border:1px solid rgba(34,197,94,.28);
  border-radius:20px;
  background:
    radial-gradient(circle at 90% 0,rgba(34,197,94,.12),transparent 34%),
    rgba(10,18,14,.82);
  text-align:left;
}

.delivery-success-icon{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  margin-bottom:13px;
  border-radius:50%;
  background:rgba(34,197,94,.15);
  color:#86efac;
  font-size:25px;
  font-weight:900;
}

.delivery-receipt-head span,
.delivery-rating-box>span{
  color:#86efac;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
}

.delivery-receipt-head h3{margin:5px 0;font-size:22px}
.delivery-receipt-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}

.delivery-order-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:16px 0;
}

.delivery-order-meta>div{
  padding:11px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(0,0,0,.18);
}

.delivery-order-meta span,
.delivery-field span{
  display:block;
  margin-bottom:4px;
  color:var(--muted);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.delivery-order-meta strong{font-size:11px;word-break:break-word}

.delivery-fields{display:grid;gap:8px}

.delivery-field{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:13px;
  background:#0b0d0c;
}

.delivery-field strong{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.45;
  word-break:break-all;
}

.delivery-field button,
.delivery-receipt-actions button,
.delivery-rating-box>button{
  flex:0 0 auto;
  border:1px solid rgba(34,197,94,.22);
  border-radius:10px;
  background:rgba(34,197,94,.1);
  color:#bbf7d0;
  padding:8px 11px;
  font-weight:800;
}

.delivery-receipt-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:10px;
}

.delivery-rating-box{
  margin-top:17px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
}

.rating-input{display:flex;gap:4px;margin:9px 0}

.rating-input button{
  border:0;
  background:transparent;
  color:#81788e;
  padding:0;
  font-size:29px;
}

.rating-input button.active{color:#fbbf24}

.delivery-rating-box textarea{
  width:100%;
  box-sizing:border-box;
  min-height:76px;
  margin-bottom:9px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
  background:#0c0a10;
  color:#fff;
  padding:11px;
  resize:vertical;
  font:inherit;
}

.delivery-rating-box small{
  display:block;
  min-height:18px;
  margin-top:7px;
  color:#a7f3d0;
  font-size:11px;
}

.community-section{padding-top:34px}

.community-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:16px;
}

.community-panel{
  min-width:0;
  padding:20px;
  border:1px solid rgba(139,92,246,.2);
  border-radius:21px;
  background:rgba(16,12,23,.9);
}

.community-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:15px;
}

.community-panel h3{margin:5px 0 0;font-size:22px}
.rating-summary{color:var(--muted);font-size:11px;text-align:right}
.rating-summary .stars{display:block;margin-bottom:3px}

.rating-list{
  display:grid;
  gap:9px;
  max-height:460px;
  overflow:auto;
}

.rating-item,
.chat-message{
  display:grid;
  grid-template-columns:40px 1fr;
  gap:10px;
  padding:12px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;
  background:rgba(255,255,255,.018);
}

.rating-avatar,
.chat-avatar{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(124,58,237,.85),rgba(147,51,234,.55));
  color:#fff;
  font-weight:900;
}

.rating-item-head,
.chat-message-head{
  display:flex;
  justify-content:space-between;
  gap:8px;
}

.rating-item-head strong,
.chat-message-head strong{font-size:12px}
.rating-item-head .stars{font-size:11px}
.rating-item span{color:#a78bfa;font-size:10px}
.rating-item p,
.chat-message p{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.55}

.chat-live{
  display:flex;
  align-items:center;
  gap:6px;
  color:#86efac;
  font-size:11px;
}

.chat-live i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 0 5px rgba(34,197,94,.1);
}

.chat-messages{
  display:grid;
  gap:8px;
  height:330px;
  overflow-y:auto;
  padding-right:3px;
}

.chat-message-head time{color:#81788e;font-size:9px}

.chat-form{
  display:grid;
  gap:8px;
  margin-top:12px;
}

.chat-form input{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
  background:#100c18;
  color:#fff;
  padding:11px;
}

.chat-compose{
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px;
}

.chat-compose button{
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,var(--purple),var(--purple2));
  color:#fff;
  padding:0 16px;
  font-weight:800;
}

.chat-form small{color:#81788e;font-size:9.5px;line-height:1.45}
.community-empty{padding:25px;text-align:center;color:var(--muted);font-size:12px}

@media(max-width:800px){
  .community-grid{grid-template-columns:1fr}
}

@media(max-width:520px){
  .delivery-order-meta{grid-template-columns:1fr}
  .delivery-receipt-actions{grid-template-columns:1fr}
  .delivery-field{align-items:flex-start;flex-direction:column}
  .delivery-field button{width:100%}
  .community-panel{padding:15px}
}

/* ===== KivoPay V14 — Premium landing, support & messenger chat ===== */
.hero-v14{max-width:none;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:54px;align-items:center;min-height:640px;padding:96px 0 76px}
.hero-v14 h1{font-size:clamp(48px,7vw,88px);line-height:.98;margin:20px 0 24px}.hero-v14 h1 span{color:#a78bfa}.hero-v14 .hero-description{max-width:760px}.hero-v14 .hero-row{flex-wrap:wrap}.hero-v14 .btn{font:inherit}.hero-trust{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:22px;color:#a9a1b7;font-size:12px}.hero-trust span{white-space:nowrap}
.hero-visual{position:relative;min-height:420px;display:grid;place-items:center}.hero-visual:before{content:"";position:absolute;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(124,58,237,.36),transparent 68%);filter:blur(8px)}.hero-logo-card{position:relative;z-index:2;width:245px;aspect-ratio:1;border:1px solid rgba(196,181,253,.3);border-radius:34px;background:linear-gradient(145deg,rgba(33,23,52,.94),rgba(10,7,16,.92));box-shadow:0 30px 90px rgba(76,29,149,.42),inset 0 1px rgba(255,255,255,.08);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-3deg)}.hero-logo-card>span{display:grid;place-items:center;width:92px;height:92px;border-radius:27px;background:linear-gradient(135deg,#a78bfa,#6d28d9);font-size:52px;font-weight:900;box-shadow:0 16px 42px rgba(124,58,237,.45)}.hero-logo-card strong{font-family:"Space Grotesk";font-size:28px;margin-top:18px}.hero-logo-card small{color:var(--muted);margin-top:5px}.hero-orbit{position:absolute;border:1px solid rgba(167,139,250,.18);border-radius:50%;animation:kivoOrbit 12s linear infinite}.orbit-one{width:330px;height:330px}.orbit-two{width:390px;height:390px;animation-direction:reverse;animation-duration:17s}.hero-mini-card{position:absolute;z-index:3;display:flex;align-items:center;gap:9px;padding:11px 15px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(14,10,22,.88);backdrop-filter:blur(12px);box-shadow:0 14px 35px rgba(0,0,0,.3);font-size:12px;font-weight:700}.hero-mini-card i{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12)}.hero-mini-top{top:70px;right:0}.hero-mini-bottom{bottom:68px;left:0}.hero-mini-bottom b{font-size:18px}@keyframes kivoOrbit{to{transform:rotate(360deg)}}
.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(139,92,246,.2);border-radius:22px;background:rgba(15,10,23,.72);overflow:hidden}.trust-strip>div{padding:22px;text-align:center;border-right:1px solid rgba(255,255,255,.06)}.trust-strip>div:last-child{border-right:0}.trust-strip strong{display:block;color:#fff;font-family:"Space Grotesk";font-size:20px}.trust-strip span{display:block;margin-top:5px;color:var(--muted);font-size:11px}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.feature-grid article{padding:22px;border:1px solid rgba(139,92,246,.18);border-radius:20px;background:linear-gradient(145deg,rgba(22,16,32,.88),rgba(12,9,18,.84));transition:.25s}.feature-grid article:hover{transform:translateY(-4px);border-color:rgba(167,139,250,.42)}.feature-grid article>span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:rgba(124,58,237,.16);font-size:21px}.feature-grid h3{margin:17px 0 8px}.feature-grid p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}
.support-card{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;padding:34px;border:1px solid rgba(167,139,250,.28);border-radius:25px;background:radial-gradient(circle at 85% 0,rgba(124,58,237,.22),transparent 38%),linear-gradient(135deg,rgba(25,17,40,.95),rgba(10,8,16,.96));box-shadow:0 24px 70px rgba(42,20,77,.24)}.support-card h2{margin:8px 0 12px}.support-card p{max-width:720px;color:var(--muted);line-height:1.7}.support-status{display:flex;align-items:center;gap:8px;margin-top:15px;color:#86efac;font-size:12px}.support-status i{width:8px;height:8px;border-radius:50%;background:#22c55e}.support-actions{display:flex;flex-direction:column;gap:10px;min-width:205px}.support-actions button{border:0;cursor:pointer}
.faq-list{display:grid;gap:10px}.faq-list details{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(16,12,23,.76);padding:0 18px}.faq-list summary{padding:17px 0;font-weight:700;cursor:pointer;list-style:none}.faq-list summary:after{content:"+";float:right;color:#a78bfa;font-size:20px}.faq-list details[open] summary:after{content:"−"}.faq-list p{margin:0;padding:0 0 18px;color:var(--muted);line-height:1.65;font-size:12px}
.chat-panel{padding:0;overflow:hidden}.chat-panel .community-panel-head{padding:18px 19px 14px;margin:0;border-bottom:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.015)}.chat-subtitle{margin:5px 0 0!important;font-size:10px!important}.chat-messages{height:380px;padding:18px 14px;display:flex;flex-direction:column;gap:11px;background:radial-gradient(circle at 50% 0,rgba(124,58,237,.08),transparent 40%)}.chat-message{display:flex;align-items:flex-end;gap:8px;padding:0;border:0;background:none;max-width:82%}.chat-message.other{align-self:flex-start}.chat-message.mine{align-self:flex-end;flex-direction:row-reverse}.chat-avatar{width:31px;height:31px;border-radius:10px;flex:0 0 31px;font-size:12px}.chat-bubble-wrap{padding:10px 12px;border:1px solid rgba(255,255,255,.07);border-radius:15px 15px 15px 4px;background:#17131f;min-width:115px}.chat-message.mine .chat-bubble-wrap{border-radius:15px 15px 4px 15px;background:linear-gradient(135deg,#7c3aed,#9333ea);border-color:transparent}.chat-message-head{align-items:center}.chat-message-head strong{font-size:10px}.chat-message-head time{color:rgba(255,255,255,.52)}.chat-message p{margin-top:5px;color:#eeeaf3;font-size:12px;line-height:1.45;word-break:break-word}.chat-form-v14{margin:0;padding:13px 14px 15px;border-top:1px solid rgba(255,255,255,.06);background:#0e0a15}.chat-identity-row{display:flex;align-items:center;gap:9px}.chat-self-avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);font-weight:900}.chat-identity-row input{padding:9px 11px;background:transparent;border-color:rgba(255,255,255,.07)}.chat-form-v14 .chat-compose{display:flex;padding:0;border:0;gap:8px}.chat-form-v14 .chat-compose input{min-width:0;padding:12px 14px;border-radius:15px}.chat-form-v14 .chat-compose button{display:flex;align-items:center;gap:7px;border:0;border-radius:13px;padding:0 16px;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;font-weight:800;cursor:pointer}.chat-form-v14 .chat-compose button b{font-size:13px}.chat-form-v14 small{color:#756d80;font-size:9px}
.welcome-v14{background:rgba(5,3,9,.84);backdrop-filter:blur(18px)}.welcome-premium-card{position:relative;overflow:hidden;width:min(560px,calc(100vw - 30px));padding:38px;border:1px solid rgba(167,139,250,.28);border-radius:30px;background:linear-gradient(145deg,rgba(25,17,39,.98),rgba(9,7,14,.98));box-shadow:0 40px 120px rgba(0,0,0,.65),0 0 80px rgba(91,33,182,.16);text-align:left}.welcome-ambient{position:absolute;right:-100px;top:-130px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(139,92,246,.35),transparent 67%);pointer-events:none}.welcome-kicker{position:relative;color:#b9a5ff;font-size:10px;letter-spacing:.2em;font-weight:800}.welcome-brand-row{position:relative;display:flex;align-items:center;gap:13px;margin-top:22px}.welcome-logo-v14{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:linear-gradient(135deg,#a78bfa,#6d28d9);font-size:29px;font-weight:900;box-shadow:0 13px 30px rgba(124,58,237,.38)}.welcome-brand-row strong{display:block;font-size:20px}.welcome-brand-row small{display:block;margin-top:3px;color:var(--muted)}.welcome-premium-card h2{position:relative;font-family:"Space Grotesk";font-size:clamp(34px,7vw,54px);line-height:1.02;letter-spacing:-.045em;margin:29px 0 16px}.welcome-premium-card h2 span{color:#a78bfa}.welcome-premium-card .welcome-caption{min-height:54px;margin:0;color:#b9b2c3;font-size:14px;line-height:1.65}.welcome-benefits{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.welcome-benefits span{padding:8px 10px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.025);font-size:10px;color:#d7d1df}.welcome-premium-card #welcomeClose{width:100%;display:flex;justify-content:center;align-items:center;gap:10px;padding:14px;border-radius:14px}.welcome-note{display:block;margin-top:14px;text-align:center;color:#5f5868;font-size:8px;letter-spacing:.15em}
.floating-support{position:fixed;right:20px;bottom:20px;z-index:70;display:flex;align-items:center;gap:10px;padding:10px 15px 10px 10px;border:1px solid rgba(167,139,250,.35);border-radius:18px;background:rgba(18,12,28,.92);color:#fff;box-shadow:0 15px 45px rgba(76,29,149,.38);backdrop-filter:blur(12px);cursor:pointer}.floating-support>span{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.floating-support div{text-align:left}.floating-support strong,.floating-support small{display:block}.floating-support strong{font-size:11px}.floating-support small{margin-top:2px;color:#b7afc2;font-size:9px}.support-popup{position:fixed;inset:0;z-index:90;display:none;place-items:end;padding:20px;background:rgba(3,2,6,.62);backdrop-filter:blur(6px)}.support-popup.open{display:grid}.support-popup-card{position:relative;width:min(360px,100%);padding:24px;border:1px solid rgba(167,139,250,.28);border-radius:22px;background:#110c19;box-shadow:0 30px 90px rgba(0,0,0,.6)}.support-popup-card h3{margin:8px 0}.support-popup-card p{color:var(--muted);font-size:12px;line-height:1.6}.support-popup-card>button:not(.support-popup-close){width:100%;margin-top:9px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:linear-gradient(135deg,#7c3aed,#9333ea);color:#fff;font-weight:800;cursor:pointer}.support-popup-close{position:absolute;right:13px;top:13px;border:0;background:none;color:#aaa;font-size:22px;cursor:pointer}.support-popup-card small{display:block;min-height:15px;margin-top:11px;color:#fca5a5;font-size:9px}
@media(max-width:900px){.hero-v14{grid-template-columns:1fr;min-height:auto}.hero-visual{min-height:360px}.feature-grid{grid-template-columns:repeat(2,1fr)}.support-card{grid-template-columns:1fr}.support-actions{flex-direction:row}.community-grid{grid-template-columns:1fr}}
@media(max-width:640px){.hero-v14{padding:68px 0 45px;gap:20px}.hero-v14 h1{font-size:46px}.hero-visual{min-height:300px}.hero-logo-card{width:190px;border-radius:27px}.hero-logo-card>span{width:72px;height:72px;font-size:40px}.hero-logo-card strong{font-size:23px}.hero-mini-top{top:35px}.hero-mini-bottom{bottom:34px}.orbit-one{width:250px;height:250px}.orbit-two{width:285px;height:285px}.trust-strip{grid-template-columns:repeat(2,1fr)}.trust-strip>div:nth-child(2){border-right:0}.trust-strip>div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.06)}.feature-grid{grid-template-columns:1fr}.support-card{padding:24px}.support-actions{flex-direction:column}.chat-messages{height:350px}.chat-message{max-width:90%}.chat-form-v14 .chat-compose button{width:45px;padding:0;justify-content:center}.chat-form-v14 .chat-compose button span{display:none}.floating-support{right:14px;bottom:14px;padding:9px;border-radius:15px}.floating-support div{display:none}.welcome-premium-card{padding:27px 22px;border-radius:24px}.welcome-benefits{gap:6px}.support-popup{padding:14px}}

/* V14.1 — Community chat ala AI */
.community-grid{grid-template-columns:1fr!important;gap:24px!important}
.community-panel:first-child{max-height:360px;overflow:auto}
.chat-panel{min-height:680px;display:flex;flex-direction:column;padding:0!important;overflow:hidden;background:linear-gradient(180deg,rgba(17,14,28,.98),rgba(11,9,20,.98))!important}
.chat-panel .community-panel-head{padding:26px 28px 22px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.015)}
.chat-panel .community-panel-head h3{font-size:clamp(28px,5vw,38px);margin:0 0 4px}
.chat-subtitle{font-size:15px!important;color:#aaa3b8!important}
.chat-messages{height:auto!important;min-height:430px;max-height:560px;flex:1;padding:28px!important;background:radial-gradient(circle at 50% 15%,rgba(124,58,237,.08),transparent 35%)}
.chat-form-v14{padding:18px 24px 24px!important;border-top:1px solid rgba(255,255,255,.08);background:rgba(10,8,18,.95);position:sticky;bottom:0}
.chat-identity-row{margin-bottom:12px!important}
.chat-compose{display:grid!important;grid-template-columns:1fr auto!important;gap:12px!important;align-items:center!important}
.chat-compose input{height:58px!important;border-radius:999px!important;padding:0 22px!important;font-size:16px!important;background:rgba(255,255,255,.035)!important}
.chat-compose button{width:58px!important;height:58px!important;min-width:58px!important;border-radius:18px!important;font-size:0!important;position:relative}
.chat-compose button::after{content:'➤';font-size:25px;color:#fff;display:block;transform:translateX(1px)}
.chat-message{max-width:82%;margin-bottom:18px!important}
.chat-message.mine{margin-left:auto}
.chat-bubble-wrap{padding:13px 16px!important;border-radius:20px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.08)}
.chat-message.mine .chat-bubble-wrap{background:linear-gradient(135deg,#8b5cf6,#6d28d9)!important;border-color:transparent}
.chat-message-head{gap:12px!important}
.chat-message p{font-size:15px!important;line-height:1.55!important}
.chat-welcome-state{min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#aaa3b8}
.chat-welcome-logo{width:72px;height:72px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#a78bfa,#6d28d9);color:#fff;font-weight:900;font-size:34px;box-shadow:0 18px 50px rgba(124,58,237,.35);margin-bottom:20px}
.chat-welcome-state h4{color:#fff;font-size:22px;margin:0 0 10px}.chat-welcome-state p{max-width:420px;line-height:1.7}
.community-empty{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;min-height:180px}.community-empty small{opacity:.7;max-width:520px}.community-empty button{border:0;border-radius:12px;padding:10px 16px;background:#7c3aed;color:white;font-weight:700}
@media(max-width:640px){.chat-panel{min-height:620px}.chat-panel .community-panel-head{padding:22px 20px 18px}.chat-messages{min-height:390px;max-height:470px;padding:18px!important}.chat-form-v14{padding:14px 16px 18px!important}.chat-compose input{height:52px!important}.chat-compose button{width:52px!important;height:52px!important;min-width:52px!important}.chat-message{max-width:92%}}
\n\n/* V14.5 — Smart delivery parser */\n.delivery-value {\n  display: block;\n  overflow-wrap: anywhere;\n  word-break: break-word;\n  white-space: pre-wrap;\n}\n.delivery-link {\n  color: inherit;\n  font-weight: 750;\n  text-decoration: underline;\n  text-decoration-color: rgba(167, 111, 255, .55);\n  text-underline-offset: 3px;\n}\n.delivery-field > div { min-width: 0; }\n
/* V16.5 — User dashboard */
.user-dashboard{width:min(1180px,calc(100% - 32px));margin:0 auto 26px;padding:25px;border:1px solid rgba(139,92,246,.2);border-radius:26px;background:linear-gradient(145deg,rgba(124,58,237,.11),rgba(15,11,22,.92) 42%);box-shadow:0 24px 80px rgba(0,0,0,.22)}
.user-dashboard-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.user-dashboard-head h2{margin:6px 0 7px;font:700 clamp(24px,4vw,36px)/1.14 "Space Grotesk"}.user-dashboard-head p{margin:0;color:var(--muted);max-width:680px;line-height:1.65}.user-dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.user-dash-card{appearance:none;text-align:left;color:var(--text);font:inherit;text-decoration:none;cursor:pointer;display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(17,13,25,.82);transition:.22s}.user-dash-card:hover{transform:translateY(-3px);border-color:rgba(139,92,246,.42);background:rgba(25,18,36,.95)}.user-dash-primary{background:linear-gradient(135deg,rgba(124,58,237,.3),rgba(17,13,25,.9));border-color:rgba(139,92,246,.35)}.dash-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(139,92,246,.13);font-size:19px}.user-dash-card div{min-width:0;display:grid;gap:3px}.user-dash-card small{color:#a78bfa;font-size:9px;font-weight:800;letter-spacing:.12em}.user-dash-card strong{font-size:13px}.user-dash-card p{margin:0;color:#8e8799;font-size:10px;line-height:1.4}.user-dash-card>b{font-size:19px;color:#a78bfa}.user-dashboard-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:16px;overflow:hidden;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(255,255,255,.07)}.user-dashboard-metrics>div{padding:13px 16px;background:#100c18;display:flex;align-items:center;justify-content:space-between;gap:10px}.user-dashboard-metrics span{color:#8f879d;font-size:10px}.user-dashboard-metrics strong{font:700 17px "Space Grotesk"}
@media(max-width:950px){.user-dashboard-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.user-dashboard{width:min(100% - 18px,1180px);padding:17px;border-radius:21px}.user-dashboard-head{flex-direction:column}.user-dashboard-grid{grid-template-columns:1fr}.user-dashboard-metrics{grid-template-columns:1fr 1fr}.user-dashboard-metrics>div{padding:12px}.user-dash-card{padding:14px}}

/* =========================================================
   KivoPay V16.5.2 — Premium Product Catalog & Detail
   ========================================================= */
.store-card{
  position:relative;
  border-color:rgba(139,92,246,.22);
  background:linear-gradient(180deg,rgba(22,17,31,.98),rgba(13,10,20,.98));
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.store-card:hover{
  transform:translateY(-5px);
  border-color:rgba(167,139,250,.5);
  box-shadow:0 22px 55px rgba(0,0,0,.34),0 0 0 1px rgba(139,92,246,.08) inset;
}
.store-image-wrap::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:45%;
  background:linear-gradient(transparent,rgba(9,6,14,.8));
  pointer-events:none;
}
.store-image{transition:transform .45s ease,filter .3s ease}
.store-card:hover .store-image{transform:scale(1.045);filter:saturate(1.08)}
.store-category{z-index:1;border:1px solid rgba(255,255,255,.08)}
.store-card-body{position:relative}
.store-card h3{color:#f7f3ff;letter-spacing:-.01em}
.store-card p{color:#9d94aa}
.store-meta strong{font-size:17px;color:#d8c9ff}
.store-buy{position:relative;overflow:hidden;box-shadow:0 10px 25px rgba(124,58,237,.22)}
.store-buy::after{content:"→";margin-left:8px;transition:transform .2s ease}
.store-buy:hover::after{display:inline-block;transform:translateX(3px)}

.product-detail-view{display:grid;gap:0;margin:-23px}
.product-detail-cover{position:relative;min-height:260px;overflow:hidden;border-radius:24px 24px 0 0;background:#17111f}
.product-detail-cover img{width:100%;height:100%;min-height:260px;max-height:360px;object-fit:cover;display:block}
.product-detail-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(10,7,14,.92))}
.product-detail-cover>span{position:absolute;left:20px;bottom:18px;z-index:1;padding:8px 12px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(10,7,14,.7);backdrop-filter:blur(10px);font-size:11px;font-weight:800}
.product-detail-content{padding:25px 23px 23px}
.product-detail-kicker{font-size:10px;letter-spacing:.16em;color:#a78bfa;font-weight:900}
.product-detail-content h2{margin:7px 0 8px;font-size:27px;line-height:1.15;letter-spacing:-.025em}
.product-detail-rating{display:flex;align-items:center;gap:8px;color:#fbbf24;font-size:12px}
.product-detail-rating>span:last-child{color:var(--muted)}
.product-detail-price{display:flex;align-items:center;gap:12px;margin:20px 0;padding:15px 16px;border:1px solid rgba(139,92,246,.18);border-radius:16px;background:rgba(139,92,246,.07)}
.product-detail-price small{display:block;color:var(--muted);font-size:10px}
.product-detail-price strong{font-size:22px;color:#d8c9ff}
.product-detail-price span{margin-left:auto;padding:7px 10px;border-radius:999px;background:rgba(34,197,94,.1);color:#86efac;font-size:10px;font-weight:800}
.product-description-box{padding:18px;border:1px solid rgba(255,255,255,.07);border-radius:17px;background:rgba(255,255,255,.025)}
.product-description-box h3{margin:0 0 11px;font-size:14px}
.product-description-text{max-height:280px;overflow:auto;padding-right:5px;color:#c8c0d2;font-size:13px;line-height:1.75;white-space:normal;overflow-wrap:anywhere}
.product-description-text::-webkit-scrollbar{width:5px}.product-description-text::-webkit-scrollbar-thumb{background:rgba(139,92,246,.35);border-radius:999px}
.product-detail-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}
.product-detail-benefits span{padding:10px 7px;border-radius:12px;background:#17121f;color:#bdb5ca;text-align:center;font-size:10px}
.product-detail-buy{margin-top:4px;font-size:14px}
.checkout-back{margin:0 0 16px;border:0;background:transparent;color:#a78bfa;font-weight:800;font-size:12px;padding:0}

@media(max-width:560px){
  .shop-modal{padding:10px;align-items:end}
  .shop-panel{width:100%;max-height:94vh;border-radius:22px 22px 0 0;padding:20px}
  .product-detail-view{margin:-20px}
  .product-detail-cover{min-height:220px;border-radius:22px 22px 0 0}
  .product-detail-cover img{min-height:220px;max-height:270px}
  .product-detail-content{padding:21px 18px 20px}
  .product-detail-content h2{font-size:23px}
  .product-detail-price{padding:13px 14px}
  .product-detail-price strong{font-size:19px}
  .product-detail-benefits{grid-template-columns:1fr}
  .product-detail-benefits span{text-align:left;padding:10px 12px}
  .product-description-text{max-height:220px}
}


/* =========================================================
   KivoPay V16.5.3 — Category Catalog & Product Detail V2
   ========================================================= */
#storeGrid{display:grid;gap:34px}
.catalog-category{display:grid;gap:16px}
.catalog-category[hidden]{display:none!important}
.catalog-category-head{display:grid;grid-template-columns:50px 1fr auto;gap:14px;align-items:center;padding:17px 18px;border:1px solid rgba(139,92,246,.18);border-radius:19px;background:linear-gradient(135deg,rgba(139,92,246,.1),rgba(255,255,255,.025))}
.catalog-category-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;background:rgba(139,92,246,.14);font-size:24px}
.catalog-category-head span{font-size:9px;letter-spacing:.16em;color:#a78bfa;font-weight:900}.catalog-category-head h3{margin:3px 0 2px;font-size:20px}.catalog-category-head p{margin:0;color:var(--muted);font-size:12px}.catalog-category-head>b{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.04);color:#bdb5ca;font-size:10px}
.catalog-category-grid{margin:0}
.product-detail-v2{background:#0d0913}
.product-detail-hero{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr);gap:22px;padding:22px;background:radial-gradient(circle at 20% 0,rgba(124,58,237,.18),transparent 45%)}
.product-detail-v2 .product-detail-cover{min-height:220px;border-radius:18px}.product-detail-v2 .product-detail-cover img{min-height:220px;height:100%;max-height:300px}.product-detail-v2 .product-detail-cover>span{left:14px;bottom:14px}
.product-detail-summary{display:flex;flex-direction:column;justify-content:center;min-width:0}.product-detail-summary h2{margin:8px 0 10px;font-size:clamp(25px,4vw,36px);line-height:1.08}.product-detail-summary .product-detail-price{margin:18px 0 0}.product-detail-summary .product-detail-price>div{display:grid;gap:2px}.product-detail-summary .product-detail-price strong{font-size:24px}
.product-detail-v2 .product-detail-content{padding:0 22px 22px;display:grid;gap:14px}
.product-info-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.product-info-strip>span{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center;padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:#15101c}.product-info-strip b{grid-row:1/3;font-size:19px}.product-info-strip small{color:#8f879d;font-size:9px}.product-info-strip strong{font-size:11px}
.product-description-v2,.product-package-preview{padding:18px;border:1px solid rgba(255,255,255,.075);border-radius:17px;background:rgba(255,255,255,.025)}
.product-section-title{display:flex;align-items:center;gap:11px;margin-bottom:13px}.product-section-title>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:rgba(139,92,246,.15);color:#bda5ff;font-size:10px;font-weight:900}.product-section-title small{color:#8f879d;font-size:8px;letter-spacing:.13em}.product-section-title h3{margin:2px 0 0;font-size:14px}
.product-description-v2 .product-description-text{max-height:320px;padding:0 4px 0 0;font-size:13px;line-height:1.85;white-space:pre-wrap}
.product-package-list{display:grid;gap:7px}.product-package-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:11px;background:#17121f}.product-package-list span{font-size:11px;color:#c9c1d3}.product-package-list strong{font-size:11px;color:#d9caff}.more-packages{display:block;margin-top:9px;color:#91889d;font-size:9px}
.product-detail-action{position:sticky;bottom:-1px;z-index:3;display:grid;grid-template-columns:auto minmax(180px,1fr);gap:14px;align-items:center;padding:13px 14px;border:1px solid rgba(139,92,246,.23);border-radius:16px;background:rgba(13,9,19,.94);backdrop-filter:blur(16px);box-shadow:0 -14px 40px rgba(0,0,0,.3)}.product-detail-action>div{display:grid}.product-detail-action small{color:#8f879d;font-size:9px}.product-detail-action>div strong{font-size:17px;color:#d9caff}.product-detail-action .product-detail-buy{margin:0}.product-detail-buy span{margin-left:7px}
@media(max-width:700px){.catalog-category-head{grid-template-columns:44px 1fr}.catalog-category-icon{width:44px;height:44px}.catalog-category-head>b{display:none}.catalog-category-head p{font-size:10px}.product-detail-hero{grid-template-columns:1fr;padding:18px;gap:15px}.product-detail-v2 .product-detail-cover{min-height:190px}.product-detail-v2 .product-detail-cover img{min-height:190px;max-height:235px}.product-detail-summary h2{font-size:25px}.product-detail-v2 .product-detail-content{padding:0 18px 18px}.product-info-strip{grid-template-columns:1fr 1fr 1fr}.product-info-strip>span{display:flex;flex-direction:column;text-align:center;gap:2px;padding:10px 5px}.product-info-strip b{font-size:17px}.product-detail-action{grid-template-columns:1fr}.product-detail-action>div{display:none}.product-description-v2 .product-description-text{max-height:280px}}

/* =========================================================
   KivoPay V16.5.4 — Catalog Width Hotfix
   Outer catalog must stack category sections vertically.
   Only each category's inner grid may use product columns.
   ========================================================= */
#storeGrid.store-grid{
  display:flex;
  flex-direction:column;
  width:100%;
  gap:34px;
}

#storeGrid > .catalog-category{
  width:100%;
  min-width:0;
}

#storeGrid .catalog-category-grid{
  display:grid;
  width:100%;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

@media(max-width:1050px){
  #storeGrid .catalog-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:760px){
  #storeGrid.store-grid{gap:28px}
  #storeGrid .catalog-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
}

@media(max-width:370px){
  #storeGrid .catalog-category-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V16.5.5 — Compact feature cards
   Keeps the same content, but removes the tall stacked look.
   ========================================================= */
.why-section .section-head{margin-bottom:18px}
.feature-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.feature-grid-compact article{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:start;gap:14px;min-height:150px;padding:18px;border-radius:20px;overflow:hidden}
.feature-grid-compact article::after{content:"";position:absolute;right:-38px;bottom:-48px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(124,58,237,.18),transparent 68%);pointer-events:none}
.feature-grid-compact .feature-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(145deg,rgba(124,58,237,.28),rgba(76,29,149,.14));box-shadow:inset 0 1px 0 rgba(255,255,255,.06);font-size:24px}
.feature-grid-compact .feature-copy{min-width:0}
.feature-grid-compact h3{margin:2px 0 7px;font-size:17px;line-height:1.2}
.feature-grid-compact p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;margin:0;color:var(--muted);font-size:11px;line-height:1.55}
.feature-grid-compact small{display:inline-flex;margin-top:12px;padding:5px 8px;border:1px solid rgba(167,139,250,.16);border-radius:999px;background:rgba(124,58,237,.10);color:#c4b5fd;font-size:8px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
@media(max-width:640px){
  .why-section{padding-top:42px;padding-bottom:42px}
  .why-section .section-head h2{font-size:30px}
  .why-section .section-subtitle{font-size:12px;line-height:1.55}
  .feature-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .feature-grid-compact article{display:flex;flex-direction:column;gap:10px;min-height:190px;padding:14px;border-radius:18px}
  .feature-grid-compact .feature-icon{width:46px;height:46px;border-radius:14px;font-size:21px}
  .feature-grid-compact h3{font-size:14px;margin:0 0 6px}
  .feature-grid-compact p{font-size:10px;line-height:1.5;-webkit-line-clamp:4}
  .feature-grid-compact small{margin-top:10px;font-size:7px;padding:4px 7px}
}
@media(max-width:360px){
  .feature-grid-compact{grid-template-columns:1fr}
  .feature-grid-compact article{display:grid;grid-template-columns:48px minmax(0,1fr);min-height:auto}
}

/* V16.6 Stage 1 — Top Up Robux */
.robux-section{position:relative}.robux-head{align-items:flex-end}.robux-service-status{padding:9px 13px;border:1px solid rgba(255,255,255,.1);border-radius:999px;color:#aaa;background:rgba(255,255,255,.04);font-size:.78rem}.robux-service-status.is-open{color:#8fffc0;border-color:rgba(85,255,160,.25)}.robux-closed{padding:16px;border:1px solid rgba(255,174,66,.25);background:rgba(255,174,66,.08);border-radius:16px;margin-bottom:18px}.robux-layout{display:grid;grid-template-columns:minmax(250px,.75fr) minmax(0,1.6fr);gap:18px}.robux-method-panel,.robux-main-panel{background:linear-gradient(145deg,rgba(25,16,36,.92),rgba(10,7,16,.95));border:1px solid rgba(181,91,255,.17);border-radius:24px;padding:20px;box-shadow:0 20px 50px rgba(0,0,0,.22)}.robux-step{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(151,68,255,.14);color:#c993ff;font-weight:800;font-size:.78rem}.robux-method-panel h3,.robux-stage-head h3{margin:10px 0 16px}.robux-method-list{display:grid;gap:10px}.robux-method-card{width:100%;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;text-align:left;padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:#fff}.robux-method-card>span{font-size:1.35rem}.robux-method-card strong,.robux-method-card small{display:block}.robux-method-card small{color:#aaa;margin-top:3px;line-height:1.35}.robux-method-card.active{border-color:#9750ff;background:linear-gradient(135deg,rgba(151,80,255,.18),rgba(151,80,255,.05));box-shadow:0 0 0 1px rgba(151,80,255,.12)}.robux-stage-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.robux-stage-head>div{display:flex;align-items:center;gap:10px}.robux-stage-head h3{margin:0}.robux-stage-head small{color:#aaa;text-align:right}.robux-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.robux-package-card{min-height:122px;padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);color:#fff;text-align:left;display:flex;flex-direction:column;justify-content:center}.robux-package-card span{font-weight:800;font-size:1.12rem}.robux-package-card strong{font-size:1.02rem;color:#c993ff;margin:7px 0}.robux-package-card small{color:#999}.robux-package-card.active{border-color:#a65cff;background:linear-gradient(145deg,rgba(166,92,255,.2),rgba(255,255,255,.03));transform:translateY(-2px)}.robux-order-form{margin-top:22px;padding-top:22px;border-top:1px solid rgba(255,255,255,.08)}.robux-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 12px}.robux-order-form label{display:grid;gap:7px;color:#ddd;font-size:.86rem}.robux-order-form input,.robux-order-form textarea{width:100%;border:1px solid rgba(255,255,255,.09);background:#0d0913;color:#fff;border-radius:13px;padding:13px}.robux-summary{display:flex;justify-content:space-between;gap:12px;margin:14px 0;padding:14px;border-radius:14px;background:rgba(151,80,255,.09);border:1px solid rgba(151,80,255,.14)}#robuxContinueBtn{width:100%;padding:14px;border:0;border-radius:14px;background:linear-gradient(135deg,#8b36ff,#c153ff);color:#fff;font-weight:800}.robux-stage-note{display:block;color:#8f8898;line-height:1.5;margin-top:10px}.robux-empty,.robux-loading{grid-column:1/-1;padding:24px;text-align:center;color:#938c9d;border:1px dashed rgba(255,255,255,.1);border-radius:16px}
@media(max-width:760px){.robux-layout{grid-template-columns:1fr}.robux-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.robux-form-grid{grid-template-columns:1fr}.robux-head{align-items:flex-start}.robux-service-status{margin-top:8px}.robux-method-panel,.robux-main-panel{padding:15px;border-radius:19px}}


/* V16.6.1 — Robux mobile horizontal layout */
@media (max-width:760px){
  .robux-layout{display:block}
  .robux-method-panel,.robux-main-panel{width:100%;margin-bottom:16px}
  .robux-method-list{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:2px 2px 10px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .robux-method-list::-webkit-scrollbar,.robux-package-grid::-webkit-scrollbar{display:none}
  .robux-method-card{
    flex:0 0 82%;
    min-width:245px;
    min-height:104px;
    scroll-snap-align:start;
  }
  .robux-stage-head{align-items:flex-start}
  .robux-stage-head small{max-width:48%;font-size:.75rem;line-height:1.35}
  .robux-package-grid{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:2px 2px 10px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
  .robux-package-card{
    flex:0 0 46%;
    min-width:150px;
    min-height:132px;
    scroll-snap-align:start;
  }
}
@media (max-width:390px){
  .robux-method-card{flex-basis:88%;min-width:235px}
  .robux-package-card{flex-basis:48%;min-width:145px}
}

/* V16.6.2 Robux Stage 2 */
.robux-backup-wrap{grid-column:1/-1;display:block}.robux-backup-wrap>span{display:block;margin-bottom:8px}.robux-backup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.robux-payment-modal{position:fixed;inset:0;z-index:9999;background:rgba(3,2,10,.82);backdrop-filter:blur(10px);display:none;align-items:center;justify-content:center;padding:18px}.robux-payment-modal.open{display:flex}.robux-payment-card{position:relative;width:min(560px,100%);max-height:92vh;overflow:auto;background:linear-gradient(155deg,#171020,#0c0912);border:1px solid rgba(170,84,255,.35);border-radius:26px;padding:26px;box-shadow:0 24px 80px rgba(85,0,180,.35)}.robux-payment-close{position:absolute;right:15px;top:12px;border:0;background:transparent;color:#fff;font-size:30px}.robux-pay-detail{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;margin:18px 0;padding:16px;border-radius:16px;background:rgba(255,255,255,.035)}.robux-pay-detail strong{text-align:right}.robux-payment-card .qris-box{margin:18px auto}.robux-history-card{padding:20px;border:1px solid rgba(170,84,255,.25);border-radius:20px;background:rgba(15,10,24,.85)}.robux-history-card h3{margin:10px 0 2px}.robux-history-card dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 0}.robux-history-card dt{color:var(--muted)}.robux-history-card dd{text-align:right;font-weight:700}.robux-history-status{display:inline-flex;padding:7px 11px;border-radius:999px;background:#2c2038}.robux-history-status.paid,.robux-history-status.processing{color:#ffd36a}.robux-history-status.completed{color:#73f0a8}.robux-history-status.cancelled,.robux-history-status.failed{color:#ff8b9b}.robux-admin-note{margin-top:14px;padding:12px;border-radius:12px;background:rgba(149,70,255,.1)}
@media(max-width:640px){.robux-backup-grid{grid-template-columns:1fr}.robux-payment-card{padding:22px 16px}.robux-pay-detail{font-size:.9rem}}


/* V16.6.4 — Dedicated Robux page & separated admin categories */
.robux-page-main{padding-top:18px}.robux-page-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}.robux-page-hero h1{font:700 clamp(2.3rem,7vw,4.6rem)/1.02 "Space Grotesk",sans-serif;margin:.35rem 0}.robux-page-hero p{color:var(--muted);max-width:660px}.robux-layout-page{align-items:start}.robux-stage-title{display:flex;align-items:center;gap:14px;margin-bottom:18px}.robux-stage-title h3{margin:0}.robux-stage-title small{color:var(--muted)}
.robux-backup-fieldset{border:0;padding:0;margin:0;grid-column:1/-1}.robux-backup-fieldset legend{margin-bottom:10px}.robux-backup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.robux-backup-grid input{width:100%}.robux-order-check{margin-top:28px}
.robux-admin-tabs{display:flex;gap:10px;overflow-x:auto;margin:20px 0;padding-bottom:4px}.robux-admin-tabs button{white-space:nowrap;border:1px solid rgba(168,85,247,.25);background:rgba(255,255,255,.03);color:var(--muted);border-radius:14px;padding:12px 18px;font-weight:800}.robux-admin-tabs button.active{color:#fff;border-color:#9b4dff;background:linear-gradient(135deg,rgba(124,58,237,.35),rgba(168,85,247,.16));box-shadow:0 0 22px rgba(124,58,237,.16)}
@media(max-width:760px){.robux-page-hero{align-items:flex-start;flex-direction:column}.robux-page-main{padding-top:4px}.robux-backup-grid{grid-template-columns:1fr}.robux-layout-page{display:block}.robux-layout-page .robux-method-panel,.robux-layout-page .robux-main-panel{width:100%}.robux-page .main-nav{overflow-x:auto}.robux-page .main-nav a{white-space:nowrap}}


/* V16.6.7 — Separate community chat page */
.community-chat-link{display:inline-flex;align-items:center;gap:.65rem;padding:.82rem 1.05rem;border:1px solid rgba(168,85,247,.35);border-radius:14px;color:#e9d5ff;background:rgba(109,40,217,.1);font-weight:700;text-decoration:none;white-space:nowrap}.community-chat-link:hover{transform:translateY(-2px);border-color:rgba(192,132,252,.7);background:rgba(126,34,206,.18)}
.community-grid-reviews-only{grid-template-columns:minmax(0,1fr)!important}
.chat-page-body{min-height:100vh}.chat-page-main{width:min(980px,calc(100% - 32px));margin:0 auto;padding:128px 0 48px}.chat-page-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px;padding:0 4px}.chat-page-hero h1{margin:.35rem 0 .55rem;font-family:"Space Grotesk",sans-serif;font-size:clamp(2rem,6vw,3.35rem);line-height:1}.chat-page-hero p{max-width:670px;margin:0;color:var(--muted);line-height:1.7}.chat-page-panel{padding:0;overflow:hidden;min-height:calc(100vh - 270px);display:flex;flex-direction:column}.chat-page-panel-head{padding:22px 24px;border-bottom:1px solid rgba(255,255,255,.08)}.chat-page-messages{height:auto;min-height:430px;max-height:none;flex:1;padding:22px 24px}.chat-page-form{position:sticky;bottom:0;padding:18px 22px 22px;background:linear-gradient(180deg,rgba(9,6,17,.82),rgba(9,6,17,.98));backdrop-filter:blur(18px);border-top:1px solid rgba(255,255,255,.08)}
.main-nav a.active{color:#c084fc}.main-nav a.active:after{transform:scaleX(1)}
@media(max-width:720px){.chat-page-main{width:calc(100% - 24px);padding-top:114px}.chat-page-hero{align-items:flex-start}.chat-page-hero p{font-size:.92rem}.chat-page-panel{min-height:calc(100vh - 225px);border-radius:22px}.chat-page-panel-head{padding:18px}.chat-page-messages{min-height:420px;padding:16px 14px}.chat-page-form{padding:14px}.community-chat-link{width:100%;justify-content:center}.community-section .section-head{align-items:stretch}}

/* V16.6.10 — Robux package cards use a wrapped product grid on mobile */
@media (max-width:760px){
  .robux-package-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    overflow:visible;
    padding:2px 0 10px;
    scroll-snap-type:none;
  }
  .robux-package-card{
    min-width:0;
    width:100%;
    min-height:132px;
    flex:none;
    scroll-snap-align:none;
  }
}
@media (max-width:360px){
  .robux-package-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .robux-package-card{padding:13px;min-height:124px}
  .robux-package-card span{font-size:1rem}
  .robux-package-card strong{font-size:.94rem}
}

/* ===== V16.7 ROBUX PAYMENT & HISTORY FLOW ===== */
.robux-flow-page{min-height:100vh;background:#09070d;color:#f7f3ff}.robux-flow-main{position:relative;z-index:2;max-width:1060px;margin:0 auto;padding:118px 20px 70px}.flow-loading,.flow-error,.flow-empty{padding:48px 24px;text-align:center;border:1px solid rgba(153,86,255,.24);background:rgba(18,13,27,.82);border-radius:24px}.flow-error a,.flow-empty a{display:inline-flex;margin-top:16px;padding:11px 18px;border-radius:12px;background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;text-decoration:none;font-weight:800}.flow-card{background:linear-gradient(145deg,rgba(22,16,32,.97),rgba(12,9,18,.96));border:1px solid rgba(161,96,255,.25);border-radius:28px;padding:26px;box-shadow:0 30px 90px rgba(0,0,0,.35)}.flow-card-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.flow-card-head h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(28px,5vw,44px);margin:6px 0}.flow-card-head p{margin:0;color:#a99eb8}.flow-status{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}.flow-status.pending{color:#ffd166;background:rgba(255,209,102,.1);border-color:rgba(255,209,102,.28)}.flow-status.paid,.flow-status.processing{color:#c9a7ff;background:rgba(139,92,246,.13);border-color:rgba(139,92,246,.32)}.flow-status.completed{color:#6ee7b7;background:rgba(16,185,129,.12);border-color:rgba(16,185,129,.3)}.flow-status.cancelled,.flow-status.failed{color:#fca5a5;background:rgba(239,68,68,.11);border-color:rgba(239,68,68,.27)}.payment-flow-grid{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(320px,1.15fr);gap:24px}.payment-qris-panel,.payment-info-panel{border:1px solid rgba(153,86,255,.18);background:rgba(255,255,255,.025);border-radius:22px;padding:20px}.qris-box.large{min-height:286px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:18px;padding:14px;margin-bottom:14px}.qris-box.large img,.qris-box.large canvas{max-width:260px;width:100%;height:auto}.secondary-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(153,86,255,.3);background:rgba(132,75,255,.1);color:#f7f3ff;padding:11px 16px;border-radius:12px;text-decoration:none;font-weight:800;cursor:pointer}.secondary-btn.full{width:100%;box-sizing:border-box}.flow-detail-list{display:grid;grid-template-columns:145px 1fr;gap:13px 18px;margin:0}.flow-detail-list dt{color:#9387a4;font-size:13px}.flow-detail-list dd{margin:0;font-weight:750;word-break:break-word}.copy-mini{margin-left:8px;padding:4px 8px;border:0;border-radius:8px;background:rgba(139,92,246,.18);color:#d8c4ff;cursor:pointer}.payment-grand-total{font-size:22px;color:#d7b7ff}.payment-live-status{margin:20px 0 12px;padding:14px;border-radius:14px;text-align:center;font-weight:850;background:rgba(255,209,102,.09);color:#ffd166;border:1px solid rgba(255,209,102,.22)}.payment-live-status.paid,.payment-live-status.processing,.payment-live-status.completed{background:rgba(16,185,129,.1);color:#6ee7b7;border-color:rgba(16,185,129,.28)}.payment-live-status.cancelled,.payment-live-status.failed{background:rgba(239,68,68,.1);color:#fca5a5;border-color:rgba(239,68,68,.24)}.payment-expire{font-size:12px;color:#8f849e}.payment-success-redirect{margin-top:22px;display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:18px;border-radius:18px;background:linear-gradient(135deg,rgba(16,185,129,.14),rgba(139,92,246,.13));border:1px solid rgba(110,231,183,.28)}.payment-success-redirect[hidden]{display:none}.payment-success-redirect .success-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#10b981;color:#07130f;font-size:25px;font-weight:900}.payment-success-redirect strong{font-size:18px}.payment-success-redirect p{margin:5px 0 0;color:#bdb2c8}.payment-success-redirect a{padding:10px 14px;border-radius:11px;background:#fff;color:#27123e;text-decoration:none;font-weight:900}.robux-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.robux-timeline>div{display:flex;gap:11px;align-items:center;padding:15px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07)}.robux-timeline i{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:50%;font-style:normal;background:rgba(255,255,255,.08);color:#91869d;font-weight:900}.robux-timeline strong,.robux-timeline small{display:block}.robux-timeline small{color:#91869d;margin-top:3px}.robux-timeline .done{border-color:rgba(16,185,129,.24);background:rgba(16,185,129,.07)}.robux-timeline .done i{background:#10b981;color:#06120e}.robux-timeline .active{border-color:rgba(139,92,246,.3);background:rgba(139,92,246,.08)}.robux-timeline .active i{background:#8b5cf6;color:#fff}.robux-timeline .failed{border-color:rgba(239,68,68,.25)}.robux-timeline .failed i{background:#ef4444;color:white}.order-detail-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:20px}.order-detail-grid>dl,.order-note-box{padding:20px;border-radius:18px;border:1px solid rgba(153,86,255,.17);background:rgba(255,255,255,.025)}.order-note-box strong{font-size:15px}.order-note-box p{min-height:76px;color:#b6aabc;line-height:1.6}.history-page-head{margin-bottom:24px}.history-page-head h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(34px,6vw,56px);margin:6px 0}.history-page-head p{color:#9f94aa}.history-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.history-toolbar strong,.history-toolbar small{display:block}.history-toolbar small{color:#91869d;margin-top:4px}.history-toolbar a{padding:10px 14px;border-radius:11px;background:linear-gradient(135deg,#7c3aed,#a855f7);color:white;text-decoration:none;font-weight:800}.robux-history-list{display:grid;gap:12px}.robux-history-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-radius:18px;background:rgba(21,15,30,.9);border:1px solid rgba(153,86,255,.17);color:#fff;text-decoration:none;transition:.2s}.robux-history-item:hover{transform:translateY(-2px);border-color:rgba(168,85,247,.45)}.robux-history-item h3{margin:9px 0 4px}.robux-history-item>div:last-child{text-align:right}.robux-history-item>div:last-child strong,.robux-history-item>div:last-child small{display:block}.robux-history-item>div:last-child small{color:#978ba2;margin:5px 0}.robux-history-item b{color:#c6a6ff}.robux-history-promo{display:grid;grid-template-columns:1fr minmax(280px,420px);gap:24px;align-items:center}.primary-link-card{display:flex;align-items:center;gap:14px;padding:18px;border-radius:18px;background:linear-gradient(135deg,rgba(124,58,237,.17),rgba(168,85,247,.08));border:1px solid rgba(168,85,247,.25);color:#fff;text-decoration:none}.primary-link-card>span{font-size:28px}.primary-link-card div{flex:1}.primary-link-card strong,.primary-link-card small{display:block}.primary-link-card small{margin-top:4px;color:#ac9fb8}
@media(max-width:760px){.robux-flow-main{padding:92px 14px 44px}.flow-card{padding:17px;border-radius:21px}.flow-card-head{display:block}.flow-status{margin-top:12px}.payment-flow-grid,.order-detail-grid,.robux-history-promo{grid-template-columns:1fr}.payment-qris-panel,.payment-info-panel{padding:14px}.flow-detail-list{grid-template-columns:115px 1fr;gap:11px}.robux-timeline{grid-template-columns:1fr}.payment-success-redirect{grid-template-columns:auto 1fr}.payment-success-redirect a{grid-column:1/-1;text-align:center}.robux-history-item{align-items:flex-start}.robux-history-item>div:last-child{min-width:105px}.history-toolbar{align-items:flex-start}}
/* KivoPay V17.1 unified theme, notification center & PWA controls */
:root[data-theme="light"]{--bg:#f4f5fb;--panel:#fff;--text:#151720;--muted:#697080;--line:#e2e5ed;--soft:#eef1f7}
body.kivo-light{background:#f4f5fb!important;color:#151720!important}
body.kivo-light .topbar,body.kivo-light .user-dashboard,body.kivo-light .section,body.kivo-light .trust-strip,body.kivo-light .site-footer,body.kivo-light .flow-card,body.kivo-light .history-card{color:#151720}
body.kivo-light .topbar{background:rgba(255,255,255,.88)!important;border-color:#e5e7ef!important}
body.kivo-light .user-dashboard,body.kivo-light .user-dash-card,body.kivo-light .admin-panel,body.kivo-light .stat-card,body.kivo-light .flow-card,body.kivo-light .history-card{background:#fff!important;border-color:#e5e7ef!important;box-shadow:0 14px 44px rgba(44,49,70,.08)!important}
body.kivo-light p,body.kivo-light small,body.kivo-light .muted{color:#707687!important}
.kivo-control-host{position:fixed;z-index:9997;right:18px;top:18px;display:flex;align-items:center;gap:9px}
body.admin-body .kivo-control-host{top:20px;right:24px}
.kivo-theme-switch{display:flex;padding:4px;border:1px solid rgba(150,155,175,.24);border-radius:16px;background:rgba(20,15,29,.86);backdrop-filter:blur(18px);box-shadow:0 10px 30px rgba(0,0,0,.18)}
.kivo-theme-switch button{min-width:58px;height:42px;border:0;border-radius:12px;background:transparent;color:#adb1bf;display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;font:inherit}
.kivo-theme-switch button span{font-size:18px}.kivo-theme-switch button small{font-size:11px;color:inherit}.kivo-theme-switch button.active{background:#fff;color:#111522;box-shadow:0 4px 14px rgba(0,0,0,.15)}
:root[data-theme="light"] .kivo-theme-switch{background:#fff;border-color:#e4e7ef}:root[data-theme="light"] .kivo-theme-switch button.active{background:#e9efff;color:#1760d6}
.kivo-notif-trigger,.kivo-install-trigger{height:50px;border:1px solid rgba(150,155,175,.24);border-radius:15px;background:rgba(20,15,29,.86);color:#fff;backdrop-filter:blur(18px);box-shadow:0 10px 30px rgba(0,0,0,.18);cursor:pointer}.kivo-notif-trigger{width:50px;font-size:24px;position:relative}.kivo-install-trigger{padding:0 16px;font-weight:700}:root[data-theme="light"] .kivo-notif-trigger,:root[data-theme="light"] .kivo-install-trigger{background:#fff;color:#151720;border-color:#e4e7ef}
.kivo-notif-trigger b{position:absolute;right:-4px;top:-5px;min-width:19px;height:19px;padding:0 4px;border-radius:10px;background:#1463db;color:#fff;font-size:11px;line-height:19px}
.kivo-notif-overlay{position:fixed;inset:0;z-index:10000;background:rgba(5,6,12,.58);backdrop-filter:blur(8px);display:none;padding:20px;align-items:flex-start;justify-content:flex-end}.kivo-notif-overlay.open{display:flex}.kivo-notif-panel{width:min(520px,100%);max-height:calc(100vh - 40px);overflow:auto;margin-top:62px;border-radius:28px;background:#fff;color:#171a22;box-shadow:0 30px 90px rgba(0,0,0,.28);padding:24px}.kivo-notif-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:18px;border-bottom:1px solid #e4e6ec}.kivo-notif-head>div{display:flex;align-items:center;gap:13px}.kivo-notif-head h2{margin:0;font-size:25px}.kivo-bell{color:#1565d8;font-size:30px}.kivo-notif-head>button{border:0;background:#f0f2f6;width:38px;height:38px;border-radius:12px;font-size:25px;cursor:pointer}.kivo-notif-browser{padding:20px 0;border-bottom:1px solid #e4e6ec}.kivo-notif-state{display:flex;justify-content:space-between;align-items:center;color:#727887}.kivo-notif-state span{display:flex;align-items:center;gap:10px}.kivo-notif-state i{width:12px;height:12px;border-radius:50%;background:#aeb4c0}.kivo-notif-state i[data-state="active"]{background:#59dc22}.kivo-notif-state i[data-state="blocked"]{background:#e75353}.kivo-notif-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:19px}.kivo-notif-actions button{height:54px;border-radius:8px;border:0;font:inherit;font-size:17px;cursor:pointer}.kivo-notif-actions .secondary{background:#e9edf2;color:#171a22}.kivo-notif-actions .primary{background:#1261d7;color:#fff}.kivo-notif-browser p{margin:14px 0 0;font-size:13px;color:#7a8090}.kivo-notif-list-head{display:flex;justify-content:space-between;align-items:center;padding:20px 0 10px}.kivo-notif-list-head button{border:0;background:transparent;color:#1763d5;cursor:pointer}.kivo-notif-list{display:grid;gap:8px}.kivo-notif-item{display:flex;text-align:left;gap:12px;width:100%;padding:13px;border:0;border-radius:14px;background:#f6f7fa;color:#171a22;cursor:pointer}.kivo-notif-item.unread{background:#edf4ff}.kivo-notif-item>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e1e6ef;font-weight:800}.kivo-notif-item .type-success{background:#dcf8d4;color:#2c8b16}.kivo-notif-item .type-warning{background:#fff0d1;color:#b86e00}.kivo-notif-item strong{display:block}.kivo-notif-item p{margin:3px 0;color:#636a79;font-size:13px}.kivo-notif-item small{color:#969cab}.kivo-notif-empty{text-align:center;padding:28px;color:#858b98}
@media(max-width:760px){.kivo-control-host{top:10px;right:10px}.kivo-theme-switch button{min-width:44px}.kivo-theme-switch button small{display:none}.kivo-install-trigger{display:none!important}.kivo-notif-overlay{padding:10px}.kivo-notif-panel{margin-top:55px;padding:18px;border-radius:22px}.topbar{padding-right:125px!important}.kivo-notif-actions{grid-template-columns:1fr}}

/* V18 — Auto delivery stock states */
.store-buy:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.25)}
.checkout-auto-note{display:block;margin-top:10px;text-align:center;opacity:.72;line-height:1.5}

/* V19 — dedicated checkout page for APK Premium & Sewa Bot */
.payment-delivery-result{margin-top:24px}.payment-delivery-result .delivery-receipt-actions a{min-height:42px;box-sizing:border-box}.payment-qris-panel .secondary-btn.full{margin-top:12px}
.store-game-link{display:inline-flex;align-items:center;justify-content:center;padding:.72rem 1rem;border-radius:999px;background:linear-gradient(135deg,#7857ff,#a84dff);color:#fff;text-decoration:none;font-weight:700}.admin-game-nav-link{display:inline-flex;align-items:center;padding:.75rem 1rem;border-radius:12px;text-decoration:none;color:inherit;background:rgba(124,92,255,.12)}

/* ===== KivoPay Premium Home v18 ===== */
[data-kivo-icon] svg{width:1em;height:1em;display:block}.hero-premium{min-height:auto;padding-top:72px;padding-bottom:42px;grid-template-columns:minmax(0,1.12fr) minmax(310px,.88fr);gap:46px}.hero-premium h1{font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.055em}.hero-premium h1 span{background:linear-gradient(100deg,#fff 0%,#c4b5fd 44%,#8b5cf6 100%);-webkit-background-clip:text;color:transparent}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:10px}.icon-button [data-kivo-icon]{font-size:20px}.hero-trust i{display:inline-flex;font-size:15px;color:#bda6ff}.hero-mini-bottom b{display:grid;place-items:center;font-size:20px;color:#d8ccff}.hero-logo-card{animation:premiumFloat 5s ease-in-out infinite}.hero-orbit{animation:premiumSpin 18s linear infinite}.orbit-two{animation-direction:reverse;animation-duration:24s}
.quick-access{width:min(1180px,90vw);margin:0 auto 30px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick-card{position:relative;display:flex;align-items:center;gap:13px;padding:17px 16px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(145deg,rgba(31,24,48,.92),rgba(13,10,21,.92));color:var(--text);text-decoration:none;overflow:hidden;transition:.28s ease;animation:premiumReveal .55s both;animation-delay:var(--delay)}.quick-card:before{content:"";position:absolute;inset:-1px;background:linear-gradient(110deg,transparent 25%,rgba(167,139,250,.18),transparent 75%);transform:translateX(-110%);transition:.55s}.quick-card:hover:before,.quick-card:active:before{transform:translateX(110%)}.quick-card:hover{transform:translateY(-4px);border-color:rgba(167,139,250,.38);box-shadow:0 16px 36px rgba(76,29,149,.2)}.quick-card>span{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:rgba(139,92,246,.14);color:#c4b5fd;font-size:22px}.quick-card div{flex:1;min-width:0}.quick-card small{display:block;color:#8f839f;font-size:10px;font-weight:800;letter-spacing:.16em}.quick-card strong{display:block;margin-top:4px;font-size:15px}.quick-card>i{font-size:17px;color:#a78bfa}
.promo-showcase{width:min(1180px,90vw);margin:0 auto 54px;position:relative;min-height:250px;border:1px solid rgba(167,139,250,.2);border-radius:28px;overflow:hidden;background:radial-gradient(circle at 80% 30%,rgba(124,58,237,.32),transparent 33%),linear-gradient(125deg,#161022,#0b0811 60%)}.promo-showcase:after{content:"";position:absolute;width:340px;height:340px;border:1px solid rgba(167,139,250,.16);border-radius:50%;right:-90px;top:-150px;box-shadow:0 0 80px rgba(124,58,237,.18)}.promo-slide{position:absolute;inset:0;padding:38px 42px;opacity:0;transform:translateX(24px);pointer-events:none;transition:.55s ease;z-index:1}.promo-slide.active{opacity:1;transform:none;pointer-events:auto}.promo-label{font-size:11px;letter-spacing:.2em;font-weight:800;color:#bda8ff}.promo-slide h2{max-width:650px;font-size:clamp(30px,4.2vw,52px);line-height:1.04;letter-spacing:-.04em;margin:14px 0 12px}.promo-slide p{max-width:590px;color:#aea5b7;line-height:1.7;margin:0 0 20px}.promo-slide a{display:inline-flex;align-items:center;gap:8px;color:#ddd4ff;font-weight:800;text-decoration:none}.promo-dots{position:absolute;left:42px;bottom:22px;display:flex;gap:7px;z-index:3}.promo-dots button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.25);transition:.25s}.promo-dots button.active{width:28px;background:#9b6cff}
.user-dashboard{margin-top:0}.user-dash-card .dash-icon,.feature-icon{display:grid;place-items:center}.user-dash-card .dash-icon svg,.feature-icon svg{width:24px;height:24px}.store-game-link{display:inline-flex!important;align-items:center;gap:8px}.store-game-link span{font-size:18px}.store-section{position:relative}.store-grid>*{animation:premiumReveal .55s both;animation-delay:var(--delay)}.store-grid article{transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease}.store-grid article:hover{transform:translateY(-6px);border-color:rgba(167,139,250,.38);box-shadow:0 22px 55px rgba(0,0,0,.28)}.floating-support>span{display:grid;place-items:center}.floating-support>span svg{width:22px;height:22px}.welcome-benefits span{display:inline-flex;align-items:center;gap:6px}.welcome-benefits i{display:inline-flex;color:#c4b5fd}.welcome-benefits svg{width:15px;height:15px}
@keyframes premiumFloat{50%{transform:translateY(-10px) rotate(.6deg)}}@keyframes premiumSpin{to{transform:rotate(360deg)}}@keyframes premiumReveal{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:900px){.hero-premium{grid-template-columns:1fr}.hero-visual{min-height:360px}.quick-access{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.hero-premium{padding-top:46px;padding-bottom:28px}.hero-premium h1{font-size:43px}.hero-row{display:grid;grid-template-columns:1fr}.hero-row .btn{width:100%}.hero-trust{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hero-visual{min-height:300px}.quick-access{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:22px}.quick-card{padding:14px 12px;border-radius:16px}.quick-card>span{width:38px;height:38px;font-size:19px}.quick-card>i{display:none}.quick-card strong{font-size:13px}.promo-showcase{min-height:310px;border-radius:22px;margin-bottom:34px}.promo-slide{padding:30px 25px}.promo-slide h2{font-size:35px}.promo-dots{left:25px}.user-dashboard-head{align-items:flex-start}.store-filters{display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px}.store-filters>*{flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){.hero-logo-card,.hero-orbit,.quick-card,.store-grid>*{animation:none!important}.promo-slide{transition:none}}


/* ===== KivoPay V20 — Immersive Community Chat & Premium Support ===== */
.chat-page-main-v2{width:100%;max-width:none;margin:0;padding:106px 0 0;min-height:100vh}
.chat-page-shell{width:min(1180px,100%);margin:0 auto;min-height:calc(100vh - 106px);display:flex;flex-direction:column;background:radial-gradient(circle at 18% 0,rgba(124,58,237,.13),transparent 32%)}
.chat-page-hero-v2{margin:0;padding:34px clamp(22px,5vw,54px) 27px;align-items:center;border-bottom:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(20,14,31,.78),rgba(10,7,16,.4));position:relative;overflow:hidden}
.chat-page-hero-v2:after{content:"";position:absolute;width:280px;height:280px;right:-100px;top:-170px;border-radius:50%;background:radial-gradient(circle,rgba(139,92,246,.26),transparent 67%);pointer-events:none}
.chat-back-link{display:inline-flex;align-items:center;gap:8px;color:#c5b7d8;text-decoration:none;font-size:13px;font-weight:750;margin-right:8px;padding:10px 13px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.025);transition:.25s}
.chat-back-link:hover{color:#fff;border-color:rgba(167,139,250,.42);transform:translateX(-2px)}
.chat-back-link svg,.chat-title-wrap svg,.chat-safety svg,.chat-compose-v2 svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.chat-back-link svg{width:18px;height:18px}
.chat-title-wrap{display:flex;align-items:center;gap:17px;flex:1;position:relative;z-index:1}
.chat-page-icon{width:58px;height:58px;display:grid;place-items:center;flex:0 0 58px;border-radius:19px;color:#eee8ff;background:linear-gradient(145deg,#986cff,#6d28d9);box-shadow:0 14px 42px rgba(124,58,237,.32),inset 0 1px rgba(255,255,255,.25)}
.chat-page-icon svg{width:27px;height:27px}
.chat-page-hero-v2 h1{margin:6px 0 5px;font-size:clamp(27px,4vw,42px);letter-spacing:-.04em}
.chat-page-hero-v2 p{font-size:14px;line-height:1.6;max-width:650px}
.chat-live-v2{position:relative;z-index:2;flex:0 0 auto;padding:10px 14px;border:1px solid rgba(74,222,128,.22);background:rgba(20,83,45,.18);color:#a7f3d0;border-radius:999px;font-weight:750}
.chat-live-v2 i{box-shadow:0 0 0 0 rgba(34,197,94,.45);animation:chatOnlinePulse 1.9s infinite}
.chat-page-panel-v2{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;min-height:0;flex:1}
.chat-page-panel-head-v2{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px clamp(22px,5vw,54px)!important;background:rgba(12,8,19,.72)!important}
.chat-page-panel-head-v2 h2{margin:6px 0 2px;font-size:22px}
.chat-safety{display:flex;align-items:center;gap:8px;color:#bdb2ca;font-size:11px;font-weight:700;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}
.chat-safety svg{width:17px;height:17px;color:#a78bfa}
.chat-page-messages{padding:30px clamp(22px,5vw,54px)!important;min-height:420px;background:radial-gradient(circle at 50% 0,rgba(124,58,237,.08),transparent 34%),linear-gradient(180deg,rgba(11,8,18,.65),rgba(7,5,12,.88))!important}
.chat-page-form{padding:17px clamp(18px,5vw,48px) 20px!important;background:rgba(9,6,15,.92)!important;box-shadow:0 -18px 48px rgba(0,0,0,.24)}
.chat-identity-row{max-width:520px;margin-bottom:10px!important}
.chat-self-avatar{box-shadow:0 8px 22px rgba(124,58,237,.24)}
.chat-identity-row input{height:42px!important;border-radius:13px!important;background:rgba(255,255,255,.025)!important}
.chat-compose-v2{grid-template-columns:minmax(0,1fr) auto!important;gap:11px!important}
.chat-input-wrap{height:58px;display:flex;align-items:center;gap:11px;padding:0 18px;border:1px solid rgba(167,139,250,.16);border-radius:18px;background:linear-gradient(145deg,rgba(25,19,36,.96),rgba(14,10,22,.96));transition:.25s;box-shadow:inset 0 1px rgba(255,255,255,.035)}
.chat-input-wrap:focus-within{border-color:rgba(167,139,250,.62);box-shadow:0 0 0 4px rgba(124,58,237,.10),0 13px 34px rgba(0,0,0,.18)}
.chat-input-wrap>svg{width:21px;height:21px;flex:0 0 21px;color:#8f7da5}
.chat-input-wrap input{height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:15px!important}
.chat-send-v2{width:auto!important;min-width:116px!important;height:58px!important;border-radius:18px!important;padding:0 21px!important;display:flex!important;justify-content:center!important;gap:10px!important;font-size:14px!important;background:linear-gradient(110deg,#8155ff,#a43cff,#8155ff)!important;background-size:200% 100%!important;box-shadow:0 12px 30px rgba(124,58,237,.34);animation:sendGradient 3.8s linear infinite;transition:.22s!important}
.chat-send-v2:hover{transform:translateY(-2px);box-shadow:0 17px 40px rgba(124,58,237,.42)}
.chat-send-v2:active{transform:scale(.97)}
.chat-send-v2 svg{width:20px;height:20px}
.chat-send-v2:after{display:none!important}
.chat-form-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:9px;color:#706779;font-size:9px}
.chat-form-foot small{font-size:9px!important}.chat-form-foot span{white-space:nowrap}
.chat-welcome-state{min-height:350px}.chat-welcome-logo{animation:premiumFloat 4s ease-in-out infinite;box-shadow:0 22px 64px rgba(124,58,237,.4)}
.chat-message{animation:chatMessageIn .32s ease both}
.chat-bubble-wrap{box-shadow:0 10px 26px rgba(0,0,0,.14)}

.floating-support-v2{right:18px;bottom:18px;min-width:250px;padding:10px 12px 10px 10px;border-radius:20px;border-color:rgba(167,139,250,.34);background:linear-gradient(145deg,rgba(27,19,41,.96),rgba(12,8,20,.96));box-shadow:0 18px 56px rgba(76,29,149,.34),inset 0 1px rgba(255,255,255,.07);transition:.27s;overflow:visible}
.floating-support-v2:before{content:"";position:absolute;inset:-1px;border-radius:21px;background:linear-gradient(115deg,transparent 20%,rgba(196,181,253,.23),transparent 72%);transform:translateX(-110%);animation:supportShine 4.5s ease-in-out infinite;pointer-events:none}
.floating-support-v2:hover{transform:translateY(-5px);border-color:rgba(196,181,253,.58);box-shadow:0 24px 66px rgba(76,29,149,.44)}
.floating-support-v2 .support-icon-ring{position:relative;width:48px;height:48px;flex:0 0 48px;border-radius:16px;background:linear-gradient(145deg,#9c6cff,#6d28d9);box-shadow:0 9px 26px rgba(124,58,237,.42)}
.floating-support-v2 .support-icon-ring:after{content:"";position:absolute;inset:-6px;border:1px solid rgba(167,139,250,.33);border-radius:21px;animation:supportRing 2.2s ease-out infinite}
.floating-support-v2 .support-icon-ring i{display:grid;place-items:center;width:100%;height:100%}
.floating-support-v2 .support-icon-ring svg{width:23px;height:23px}
.floating-support-v2 div{position:relative;z-index:1;flex:1}.floating-support-v2 div small{color:#a892c6;font-size:8px;letter-spacing:.14em;font-weight:850}.floating-support-v2 div strong{font-size:12px;margin-top:3px}.floating-support-v2 div em{display:block;margin-top:2px;color:#8ee6aa;font-size:9px;font-style:normal}
.floating-support-v2>b{display:grid;place-items:center;width:30px;height:30px;color:#c4b5fd}.floating-support-v2>b svg{width:17px;height:17px}

@keyframes chatOnlinePulse{70%{box-shadow:0 0 0 8px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
@keyframes sendGradient{to{background-position:-200% 0}}
@keyframes chatMessageIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@keyframes supportRing{0%{opacity:.75;transform:scale(.78)}75%,100%{opacity:0;transform:scale(1.22)}}
@keyframes supportShine{0%,55%{transform:translateX(-115%)}85%,100%{transform:translateX(115%)}}

@media(max-width:760px){
 .chat-page-main-v2{padding-top:102px}.chat-page-shell{min-height:calc(100vh - 102px)}
 .chat-page-hero-v2{display:grid;grid-template-columns:auto 1fr;gap:14px;padding:20px 16px 18px}
 .chat-back-link{grid-column:1/-1;width:max-content;margin:0;padding:8px 11px}.chat-title-wrap{gap:12px}.chat-page-icon{width:48px;height:48px;flex-basis:48px;border-radius:15px}.chat-page-icon svg{width:23px;height:23px}
 .chat-page-hero-v2 h1{font-size:26px}.chat-page-hero-v2 p{font-size:12px}.chat-live-v2{grid-column:1/-1;width:max-content;padding:8px 11px;font-size:10px}
 .chat-page-panel-head-v2{padding:16px!important}.chat-page-panel-head-v2 h2{font-size:19px}.chat-safety{display:none}
 .chat-page-messages{padding:18px 13px!important;min-height:390px}
 .chat-page-form{padding:12px 12px 15px!important}.chat-identity-row{max-width:none}.chat-compose-v2{gap:8px!important}.chat-input-wrap{height:54px;padding:0 14px;border-radius:16px}.chat-send-v2{width:54px!important;min-width:54px!important;height:54px!important;padding:0!important;border-radius:16px!important}.chat-send-v2 span{display:none}.chat-send-v2 svg{width:21px;height:21px}.chat-form-foot span{display:none}
 .floating-support-v2{right:13px;bottom:13px;min-width:0;width:60px;height:60px;padding:6px;border-radius:20px}.floating-support-v2 div,.floating-support-v2>b{display:none}.floating-support-v2 .support-icon-ring{width:48px;height:48px;flex-basis:48px;border-radius:15px}
}
@media(prefers-reduced-motion:reduce){.chat-live-v2 i,.chat-welcome-logo,.chat-message,.floating-support-v2:before,.floating-support-v2 .support-icon-ring:after,.chat-send-v2{animation:none!important}}


/* KivoPay Customer Service Team v18.1 */
.floating-cs-agent{position:fixed;right:18px;bottom:92px;z-index:72;display:flex;align-items:center;gap:11px;min-width:272px;padding:10px 12px 10px 9px;border:1px solid rgba(167,139,250,.38);border-radius:22px;background:linear-gradient(145deg,rgba(29,19,45,.97),rgba(10,7,17,.97));color:#fff;box-shadow:0 20px 65px rgba(76,29,149,.42),inset 0 1px rgba(255,255,255,.08);backdrop-filter:blur(18px);cursor:pointer;overflow:hidden;transition:.28s}
.floating-cs-agent:before{content:"";position:absolute;inset:-2px;background:linear-gradient(105deg,transparent 25%,rgba(216,180,254,.2),transparent 70%);transform:translateX(-120%);animation:csAgentShine 4s ease-in-out infinite}.floating-cs-agent:hover{transform:translateY(-5px);border-color:rgba(216,180,254,.65)}
.cs-agent-avatar{position:relative;z-index:1;display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;border-radius:18px;background:linear-gradient(145deg,#a678ff,#6d28d9);box-shadow:0 12px 32px rgba(124,58,237,.45)}.cs-agent-avatar:after{content:"";position:absolute;inset:-6px;border:1px solid rgba(167,139,250,.38);border-radius:23px;animation:csAgentPulse 2.3s ease-out infinite}.cs-agent-avatar svg{width:37px;height:37px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.cs-agent-copy{position:relative;z-index:1;display:block;flex:1;text-align:left}.cs-agent-copy small,.cs-agent-copy strong,.cs-agent-copy em{display:block}.cs-agent-copy small{font-size:8px;letter-spacing:.14em;color:#bca7dc;font-weight:850}.cs-agent-copy strong{margin-top:3px;font-size:12px}.cs-agent-copy em{display:flex;align-items:center;gap:6px;margin-top:4px;color:#b7afc2;font-size:9px;font-style:normal}.cs-agent-arrow{position:relative;z-index:1;display:grid;place-items:center;width:28px;height:28px}.cs-agent-arrow svg{width:17px}
.cs-dot{display:inline-block;width:8px;height:8px;border-radius:50%;box-shadow:0 0 0 4px rgba(148,163,184,.08)}.cs-dot.online{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12),0 0 14px rgba(34,197,94,.9);animation:csDotOnline 1.8s ease-in-out infinite}.cs-dot.offline{background:#64748b}
.support-drawer{place-items:stretch end;padding:0;background:rgba(3,2,8,.58)}.support-drawer.open{display:grid}.support-team-card{width:min(430px,100%);height:100%;border-radius:28px 0 0 28px;padding:30px 24px;overflow:auto;animation:csDrawerIn .32s ease both}.support-team-head{display:flex;gap:14px;align-items:center;margin:18px 0 24px}.support-team-head h3{margin:5px 0 6px;font-size:25px}.support-team-head p{margin:0}.support-team-avatar{display:grid;place-items:center;width:60px;height:60px;flex:0 0 60px;border-radius:20px;background:linear-gradient(145deg,#9f72ff,#6d28d9)}.support-team-avatar svg{width:41px;height:41px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.support-agent-list{display:grid;gap:12px}.support-agent-card{padding:15px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:rgba(255,255,255,.035)}.support-agent-card.is-online{border-color:rgba(34,197,94,.2);background:linear-gradient(135deg,rgba(34,197,94,.07),rgba(124,58,237,.07))}.support-agent-person{display:flex;align-items:center;gap:12px}.support-agent-person>span{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:rgba(139,92,246,.16)}.support-agent-person svg{width:31px;height:31px;fill:none;stroke:#c4b5fd;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.support-agent-person div{flex:1}.support-agent-person small,.support-agent-person strong,.support-agent-person em{display:block}.support-agent-person small{font-size:8px;letter-spacing:.12em;color:#9989b2}.support-agent-person strong{margin-top:3px;font-size:14px}.support-agent-person em{display:flex;align-items:center;gap:7px;margin-top:5px;font-size:10px;font-style:normal;color:#aaa}.support-agent-card>button{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:13px;padding:12px 14px;border:0;border-radius:13px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;font-weight:800;cursor:pointer}.support-agent-card>button:disabled{background:rgba(255,255,255,.05);color:#777;cursor:not-allowed}.support-agent-card>button b{width:18px}.support-hours-note{margin:18px 0 0;padding:13px 14px;border:1px solid rgba(167,139,250,.13);border-radius:14px;background:rgba(139,92,246,.06);color:#a99fb7;font-size:10px;line-height:1.6}.support-agent-skeleton{height:112px;border-radius:20px;background:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.08),rgba(255,255,255,.03));background-size:200% 100%;animation:skeletonMove 1.4s infinite}
@keyframes csAgentShine{0%,50%{transform:translateX(-120%)}75%,100%{transform:translateX(120%)}}@keyframes csAgentPulse{0%{transform:scale(.9);opacity:.7}100%{transform:scale(1.25);opacity:0}}@keyframes csDotOnline{50%{opacity:.55;transform:scale(.82)}}@keyframes csDrawerIn{from{transform:translateX(100%);opacity:.4}to{transform:none;opacity:1}}@keyframes skeletonMove{to{background-position:-200% 0}}
@media(max-width:640px){.floating-cs-agent{right:12px;bottom:80px;min-width:0;width:66px;height:66px;padding:6px;border-radius:22px}.floating-cs-agent .cs-agent-copy,.floating-cs-agent .cs-agent-arrow{display:none}.cs-agent-avatar{width:54px;height:54px;flex-basis:54px}.support-team-card{border-radius:24px 24px 0 0;width:100%;height:auto;max-height:88vh;align-self:end}.support-drawer{place-items:end stretch}}

/* Customer Service direct-contact refinement v18.2 */
.support-agent-card{transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.support-agent-card.is-online{box-shadow:0 14px 34px rgba(34,197,94,.07)}
.support-agent-card.is-online:hover{transform:translateY(-3px);border-color:rgba(34,197,94,.38)}
.support-agent-card>button{min-height:48px;font-size:12px;letter-spacing:.01em;box-shadow:0 10px 26px rgba(109,40,217,.25)}
.support-agent-card.is-online>button:before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 12px rgba(74,222,128,.9)}
@media(max-width:640px){
  .support-team-card{padding:22px 16px 20px}
  .support-agent-card{padding:16px}
  .support-agent-card>button{min-height:52px;font-size:13px}
}
/* Support ticket fallback */
.support-ticket-fallback{margin-top:18px;padding:17px;border:1px solid rgba(167,139,250,.24);border-radius:18px;background:linear-gradient(135deg,rgba(124,58,237,.12),rgba(255,255,255,.025))}.support-ticket-fallback[hidden]{display:none}.support-ticket-fallback small,.support-ticket-fallback strong,.support-ticket-fallback p{display:block}.support-ticket-fallback small{color:#b9a2ff;font-size:8px;letter-spacing:.16em;font-weight:850}.support-ticket-fallback strong{margin-top:7px;font-size:15px}.support-ticket-fallback p{margin:7px 0 12px}.support-ticket-fallback a{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-radius:13px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;text-decoration:none;font-size:12px;font-weight:850}
\n.account-entry{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border:1px solid #37254d;border-radius:15px;color:#fff;text-decoration:none;background:#140d20;font-weight:750;white-space:nowrap}.account-entry span{width:20px;height:20px}.account-entry.signed-in{border-color:#7544bd;background:linear-gradient(135deg,#2a1744,#160d23)}@media(max-width:760px){.account-entry{position:absolute;right:20px;top:84px;z-index:5;padding:9px 12px}.account-entry b{font-size:13px}}
/* Account entry: tampil sebagai tombol normal di header, bukan username melayang */
.account-entry{
  position:static!important;
  right:auto!important;
  top:auto!important;
  min-height:44px;
  padding:10px 15px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,rgba(124,58,237,.2),rgba(76,29,149,.12))!important;
  border:1px solid rgba(167,139,250,.34)!important;
  box-shadow:0 10px 30px rgba(72,31,124,.18);
}
.account-entry:hover{transform:translateY(-1px);border-color:rgba(196,181,253,.62)!important}
.account-entry.signed-in{background:linear-gradient(135deg,#6d3be8,#8b3ff0)!important;border-color:transparent!important}
@media(max-width:760px){
  .topbar{padding-right:16px!important}
  .account-entry{align-self:flex-end;margin-top:-56px;margin-right:0;padding:9px 12px!important}
  .account-entry b{font-size:13px!important}
}


/* =========================================================
   KivoPay APK Premium checkout + completed detail fix
   Isolated patch — does not alter auth/admin/database flows.
   ========================================================= */

/* The bottom navbar previously used z-index 10000 while the product modal
   used 9999, causing the checkout action to be covered. */
.shop-modal{
  z-index:20050;
}

.shop-modal.open ~ .kivo-bottom-nav,
body:has(.shop-modal.open) .kivo-bottom-nav{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(-50%) translateY(120%);
}

.kivo-bottom-nav{
  transition:opacity .22s ease,visibility .22s ease,transform .28s ease;
}

/* Keep the checkout action comfortably inside the scrollable modal. */
.product-detail-action{
  bottom:0;
}

.shop-panel{
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}

/* Completed-order premium presentation */
.delivery-receipt.delivery-receipt-premium{
  position:relative;
  overflow:hidden;
  padding:24px;
  border:1px solid rgba(134,239,172,.2);
  border-radius:24px;
  background:
    radial-gradient(circle at 88% 0,rgba(34,197,94,.14),transparent 34%),
    linear-gradient(155deg,rgba(20,15,29,.98),rgba(10,8,15,.98));
  box-shadow:0 24px 70px rgba(0,0,0,.32);
}

.delivery-receipt-premium::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,#22c55e,#86efac,#8b5cf6);
}

.delivery-completed-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}

.delivery-completed-top .delivery-success-icon{
  flex:0 0 54px;
  width:54px;
  height:54px;
  margin:0;
  display:grid;
  place-items:center;
  border-radius:17px;
  background:linear-gradient(145deg,rgba(34,197,94,.22),rgba(34,197,94,.08));
  border:1px solid rgba(134,239,172,.28);
  color:#86efac;
  font-size:27px;
  box-shadow:0 12px 30px rgba(34,197,94,.12);
}

.delivery-completed-top .delivery-receipt-head{
  min-width:0;
}

.delivery-completed-top .delivery-receipt-head span{
  color:#86efac;
}

.delivery-completed-top .delivery-receipt-head h3{
  margin:5px 0 4px;
}

.delivery-completed-status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-left:auto;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(34,197,94,.1);
  border:1px solid rgba(134,239,172,.2);
  color:#86efac;
  white-space:nowrap;
  font-size:10px;
  font-weight:900;
}

.delivery-completed-status::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 0 5px rgba(34,197,94,.1);
}

.delivery-order-meta.delivery-order-meta-premium{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0 0 16px;
}

.delivery-order-meta-premium>div{
  min-width:0;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:15px;
  background:rgba(255,255,255,.025);
}

.delivery-order-meta-premium span{
  display:block;
  margin-bottom:5px;
  color:#8f879d;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.11em;
}

.delivery-order-meta-premium strong{
  display:block;
  overflow-wrap:anywhere;
  color:#f5f1fa;
  font-size:12px;
}

.delivery-order-meta-premium .delivery-total strong{
  color:#d8c9ff;
  font-size:17px;
}

.delivery-data-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:18px 0 10px;
}

.delivery-data-title div span{
  display:block;
  color:#a78bfa;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}

.delivery-data-title div strong{
  display:block;
  margin-top:4px;
  font-size:15px;
}

.delivery-data-title>span{
  padding:7px 9px;
  border:1px solid rgba(167,139,250,.16);
  border-radius:10px;
  background:rgba(139,92,246,.07);
  color:#bca7f8;
  font-size:9px;
  font-weight:800;
}

.delivery-security-note{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:14px 0 0;
  padding:12px 13px;
  border:1px solid rgba(251,191,36,.14);
  border-radius:14px;
  background:rgba(251,191,36,.055);
  color:#c8bd9f;
  font-size:10px;
  line-height:1.55;
}

.delivery-security-note b{
  color:#facc15;
  font-size:15px;
}

.delivery-empty-information{
  padding:18px;
  border:1px dashed rgba(167,139,250,.2);
  border-radius:15px;
  color:#aaa2b9;
  text-align:center;
  line-height:1.6;
}

@media(max-width:700px){
  .shop-modal{
    padding:0;
  }

  .shop-panel{
    max-height:100dvh;
    border-radius:22px 22px 0 0;
    padding-bottom:max(26px,env(safe-area-inset-bottom));
  }

  .product-detail-v2 .product-detail-content{
    padding-bottom:max(26px,env(safe-area-inset-bottom));
  }

  .product-detail-action{
    bottom:0;
    padding-bottom:max(13px,env(safe-area-inset-bottom));
  }

  .delivery-receipt.delivery-receipt-premium{
    padding:19px 16px;
    border-radius:20px;
  }

  .delivery-completed-top{
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .delivery-completed-status{
    margin-left:68px;
    margin-top:-8px;
  }

  .delivery-order-meta.delivery-order-meta-premium{
    grid-template-columns:1fr;
  }
}


/* KivoPay Live Order Notification */
.kivo-live-orders{position:relative;overflow:hidden}.kivo-live-orders::before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(124,58,237,.1);filter:blur(70px);right:-90px;top:-100px;pointer-events:none}.kivo-live-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:22px}.kivo-live-head small{display:block;color:#a98aeb;font-size:10px;font-weight:900;letter-spacing:.16em}.kivo-live-head h2{margin:7px 0 0}.kivo-live-head p{max-width:470px;margin:0;color:#aaa1b5;line-height:1.6}.kivo-live-indicator{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;padding:10px 13px;border:1px solid rgba(134,239,172,.15);border-radius:999px;background:rgba(34,197,94,.06);color:#99e9b2;font-size:11px;font-weight:800}.kivo-live-indicator i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.09);animation:kivoLivePulse 1.8s infinite}.kivo-live-order-list{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kivo-live-order-card{display:flex;align-items:center;gap:13px;min-width:0;padding:16px;border:1px solid rgba(255,255,255,.075);border-radius:18px;background:linear-gradient(145deg,rgba(23,16,32,.94),rgba(12,9,18,.94));box-shadow:0 14px 36px rgba(0,0,0,.16);transition:transform .2s ease,border-color .2s ease}.kivo-live-order-card:hover{transform:translateY(-2px);border-color:rgba(154,92,255,.25)}.kivo-live-avatar{flex:0 0 43px;width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#8e4df5,#5e21c5);color:#fff;font-weight:900;box-shadow:0 9px 24px rgba(109,40,217,.2)}.kivo-live-order-main{min-width:0;flex:1}.kivo-live-order-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.kivo-live-order-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.kivo-live-order-main p{margin:5px 0 7px;color:#b3aabb;font-size:12px}.kivo-live-order-main p b{color:#f1ebfa}.kivo-live-order-meta{display:flex;align-items:center;gap:6px;min-width:0;color:#81798c;font-size:9px}.kivo-live-order-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kivo-live-order-meta i{font-style:normal;color:#554c61}.kivo-live-status{flex:0 0 auto;padding:5px 7px;border-radius:999px;font-size:8px;font-weight:900}.kivo-live-status.pending{background:rgba(251,191,36,.08);color:#f1cf72}.kivo-live-status.paid,.kivo-live-status.processing{background:rgba(96,165,250,.08);color:#90bdf7}.kivo-live-status.completed{background:rgba(34,197,94,.08);color:#85df9d}.kivo-live-empty{grid-column:1/-1;text-align:center;padding:34px;border:1px dashed rgba(167,139,250,.16);border-radius:20px;color:#898191}.kivo-live-empty span{display:block;font-size:24px;color:#a98aeb}.kivo-live-empty strong{display:block;margin:9px 0 5px;color:#ddd5e8}.kivo-live-empty p{margin:0;font-size:12px}.kivo-order-toast{position:fixed;z-index:30050;left:22px;bottom:104px;width:min(390px,calc(100vw - 30px));display:flex;align-items:center;gap:13px;padding:15px 44px 15px 15px;border:1px solid rgba(134,239,172,.2);border-radius:19px;background:linear-gradient(145deg,rgba(20,15,28,.985),rgba(9,7,14,.985));box-shadow:0 25px 70px rgba(0,0,0,.48);opacity:0;visibility:hidden;transform:translateY(22px) scale(.97);transition:.32s ease;pointer-events:none}.kivo-order-toast.show{opacity:1;visibility:visible;transform:none;pointer-events:auto}.kivo-order-toast-icon{flex:0 0 45px;width:45px;height:45px;display:grid;place-items:center;border-radius:15px;background:rgba(34,197,94,.1);border:1px solid rgba(134,239,172,.2);color:#86efac;font-size:21px;font-weight:900}.kivo-order-toast div{min-width:0}.kivo-order-toast small{display:block;color:#86efac;font-size:8px;font-weight:900;letter-spacing:.13em}.kivo-order-toast strong{display:block;margin:4px 0;color:#f5f0fa;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kivo-order-toast p{margin:0;color:#9e95aa;font-size:9px;line-height:1.45}.kivo-order-toast button{position:absolute;right:9px;top:8px;width:28px;height:28px;border:0;border-radius:9px;background:transparent;color:#8d8498;font-size:18px;cursor:pointer}@keyframes kivoLivePulse{50%{opacity:.55;box-shadow:0 0 0 9px rgba(34,197,94,0)}}@media(max-width:700px){.kivo-live-head{align-items:flex-start;flex-direction:column}.kivo-live-order-list{grid-template-columns:1fr}.kivo-live-head p{font-size:12px}.kivo-order-toast{left:15px;bottom:102px}.kivo-live-order-card{padding:14px}.kivo-live-status{max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* ===== V38 COMPACT DASHBOARD PATCH =====
   Visual-only: compact hero, non-sticky header, raised CS button.
   Bottom navigation Home / All Produk / Profil remains unchanged.
*/
.topbar{
  position:relative!important;
  top:auto!important;
}

@media(max-width:640px){
  .hero.hero-premium{
    min-height:0!important;
    padding:28px 20px 22px!important;
    margin-top:14px!important;
    border-radius:22px!important;
    gap:0!important;
  }
  .hero-premium .hero-copy{min-width:0!important}
  .hero-premium h1{
    margin:12px 0 14px!important;
    font-size:clamp(34px,10.5vw,44px)!important;
    line-height:1.02!important;
  }
  .hero-premium .hero-description{
    margin:0!important;
    font-size:14px!important;
    line-height:1.55!important;
  }
  .hero-premium .hero-row{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
    margin-top:18px!important;
  }
  .hero-premium .hero-row .btn{
    width:100%!important;
    min-height:45px!important;
    padding:11px 10px!important;
    font-size:12px!important;
    border-radius:13px!important;
  }
  .hero-premium .hero-row .icon-button [data-kivo-icon]{font-size:16px!important}
  .hero-premium .hero-trust{display:none!important}
  .hero-premium .hero-visual{display:none!important}

  .floating-cs-agent{
    right:14px!important;
    bottom:104px!important;
    width:60px!important;
    height:60px!important;
    min-width:0!important;
    border-radius:20px!important;
  }
  .floating-cs-agent .cs-agent-avatar{
    width:48px!important;
    height:48px!important;
    flex-basis:48px!important;
    border-radius:16px!important;
  }
  .floating-cs-agent .cs-agent-avatar svg{width:32px!important;height:32px!important}
}

/* =========================================================
   KivoPay V40 — Header-integrated controls + complete themes
   Visual/UI only. No API, auth, payment, or order logic changes.
   ========================================================= */

/* Controls now live inside the normal header flow and never float while scrolling. */
.topbar{
  position:relative!important;
  top:auto!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:14px!important;
  padding:14px clamp(16px,4vw,56px)!important;
}
.topbar .brand{grid-column:1;grid-row:1}
.topbar .visitor-entry{grid-column:2;grid-row:1;justify-self:start}
.topbar .account-entry{grid-column:4;grid-row:1}
.topbar .main-nav{grid-column:1/-1;grid-row:2;width:100%;margin:0!important}
.topbar .kivo-control-host{
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  grid-column:3;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-self:end;
  gap:8px;
}
.kivo-theme-switch{
  padding:3px!important;
  border-radius:15px!important;
  box-shadow:none!important;
}
.kivo-theme-switch button{
  min-width:43px!important;
  width:43px;
  height:42px!important;
  padding:0!important;
}
.kivo-theme-switch button small{display:none!important}
.kivo-notif-trigger{
  width:48px!important;
  height:48px!important;
  border-radius:15px!important;
  box-shadow:none!important;
}

/* A more compact, established top-up platform rhythm. */
main{padding-top:18px!important}
.hero.hero-premium{box-shadow:0 18px 60px rgba(0,0,0,.20)!important}
.kp-command-center,.kp-platform-grid,.home-search-section,.v31-section{scroll-margin-top:18px}
.kp-platform-item,.popular-card,.deal-card,.user-dash-card{
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease!important;
}
.kp-platform-item:active,.popular-card:active,.deal-card:active,.user-dash-card:active{transform:scale(.985)!important}

/* COMPLETE LIGHT THEME — all visible homepage surfaces */
:root[data-theme="light"]{
  --bg:#f4f7fb!important;
  --panel:#ffffff!important;
  --text:#101828!important;
  --muted:#667085!important;
  --line:#dfe5ee!important;
  --soft:#edf2f8!important;
  color-scheme:light;
}
:root[data-theme="light"] body,
body.kivo-light{
  background:
    radial-gradient(circle at 8% 5%,rgba(59,130,246,.10),transparent 28%),
    radial-gradient(circle at 92% 18%,rgba(20,184,166,.08),transparent 25%),
    #f4f7fb!important;
  color:#101828!important;
}
:root[data-theme="light"] .glow,
:root[data-theme="light"] .particles{opacity:.18!important}
:root[data-theme="light"] .topbar{
  background:rgba(255,255,255,.94)!important;
  border-color:#e2e8f0!important;
  box-shadow:0 10px 34px rgba(15,23,42,.07)!important;
}
:root[data-theme="light"] .brand,
:root[data-theme="light"] .main-nav a,
:root[data-theme="light"] .account-entry{color:#172033!important}
:root[data-theme="light"] .main-nav a::after{background:linear-gradient(90deg,#4f7cff,#16c7bd)!important}
:root[data-theme="light"] .kivo-theme-switch,
:root[data-theme="light"] .kivo-notif-trigger{
  background:#f8fafc!important;
  color:#344054!important;
  border-color:#dce3ed!important;
}
:root[data-theme="light"] .kivo-theme-switch button{color:#667085!important}
:root[data-theme="light"] .kivo-theme-switch button.active{
  background:#fff!important;
  color:#175cd3!important;
  box-shadow:0 3px 10px rgba(15,23,42,.10)!important;
}
:root[data-theme="light"] .hero,
:root[data-theme="light"] .kp-dashboard-card,
:root[data-theme="light"] .kp-platform-item,
:root[data-theme="light"] .home-search-card,
:root[data-theme="light"] .flash-main,
:root[data-theme="light"] .deal-card,
:root[data-theme="light"] .popular-card,
:root[data-theme="light"] .quick-card,
:root[data-theme="light"] .promo-showcase,
:root[data-theme="light"] .user-dashboard,
:root[data-theme="light"] .user-dash-card,
:root[data-theme="light"] .section,
:root[data-theme="light"] .kivo-live-order-card,
:root[data-theme="light"] .trust-strip,
:root[data-theme="light"] .flow-card,
:root[data-theme="light"] .history-card,
:root[data-theme="light"] .site-footer{
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,250,253,.98))!important;
  color:#101828!important;
  border-color:#dfe6ef!important;
  box-shadow:0 14px 40px rgba(15,23,42,.07)!important;
}
:root[data-theme="light"] .hero::before,
:root[data-theme="light"] .flash-main::before{opacity:.25!important}
:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] h3,
:root[data-theme="light"] h4,
:root[data-theme="light"] strong,
:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .kp-dashboard-card strong,
:root[data-theme="light"] .kp-platform-item strong,
:root[data-theme="light"] .popular-card strong,
:root[data-theme="light"] .deal-card strong,
:root[data-theme="light"] .user-dash-card strong{color:#101828!important}
:root[data-theme="light"] p,
:root[data-theme="light"] small,
:root[data-theme="light"] .hero-description,
:root[data-theme="light"] .kp-platform-item span,
:root[data-theme="light"] .popular-card span,
:root[data-theme="light"] .deal-card span,
:root[data-theme="light"] .home-search-heading p,
:root[data-theme="light"] .user-dash-card p,
:root[data-theme="light"] .kivo-live-head p{color:#667085!important}
:root[data-theme="light"] .badge,
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .v31-section-head small,
:root[data-theme="light"] .kp-card-head small,
:root[data-theme="light"] .kp-platform-item small,
:root[data-theme="light"] .popular-card small{color:#1570a6!important}
:root[data-theme="light"] .hero h1 span{
  background:linear-gradient(90deg,#356df3,#0891b2,#0f9f8f)!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
}
:root[data-theme="light"] .btn.secondary,
:root[data-theme="light"] .kp-actions a,
:root[data-theme="light"] .search-suggestions button,
:root[data-theme="light"] .dashboard-status,
:root[data-theme="light"] .kp-live-pill,
:root[data-theme="light"] .flash-badge{
  background:#f8fafc!important;
  color:#344054!important;
  border-color:#dce3ed!important;
}
:root[data-theme="light"] .home-search-box,
:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea{
  background:#fff!important;
  color:#101828!important;
  border-color:#cfd8e5!important;
}
:root[data-theme="light"] input::placeholder,
:root[data-theme="light"] textarea::placeholder{color:#98a2b3!important}
:root[data-theme="light"] .kp-balance,
:root[data-theme="light"] .kp-stat,
:root[data-theme="light"] .user-dashboard-metrics>div{
  background:#f8fafc!important;
  border-color:#e2e8f0!important;
}
:root[data-theme="light"] .bottom-nav{
  background:rgba(255,255,255,.96)!important;
  border-color:#dfe5ee!important;
  box-shadow:0 -12px 36px rgba(15,23,42,.10)!important;
}
:root[data-theme="light"] .bottom-nav a{color:#667085!important}
:root[data-theme="light"] .bottom-nav a.active{
  color:#175cd3!important;
  background:linear-gradient(135deg,rgba(79,124,255,.13),rgba(22,199,189,.10))!important;
  border-color:rgba(79,124,255,.18)!important;
}
:root[data-theme="light"] .floating-cs-agent,
:root[data-theme="light"] .support-popup-card,
:root[data-theme="light"] .kivo-notif-panel{
  background:#fff!important;
  color:#101828!important;
  border-color:#dfe5ee!important;
}
:root[data-theme="light"] .support-popup-card p,
:root[data-theme="light"] .kivo-notif-panel p{color:#667085!important}

@media(max-width:760px){
  .topbar{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    padding:12px 14px 10px!important;
  }
  .topbar .brand{grid-column:1;grid-row:1}
  .topbar .visitor-entry,.topbar .account-entry{display:none!important}
  .topbar .kivo-control-host{grid-column:2;grid-row:1}
  .topbar .main-nav{
    grid-column:1/-1;grid-row:2;
    padding:0 2px 4px!important;
    overflow-x:auto!important;
    scrollbar-width:none;
  }
  .topbar .main-nav::-webkit-scrollbar{display:none}
  .kivo-theme-switch button{width:38px!important;min-width:38px!important;height:38px!important}
  .kivo-notif-trigger{width:42px!important;height:42px!important}
  main{padding-top:12px!important}
  .hero.hero-premium{margin-top:8px!important}
  .floating-cs-agent{bottom:112px!important}
}

/* ===== KivoPay V41 — compact commerce experience ===== */
:root{--v41-card:rgba(12,18,34,.78);--v41-line:rgba(148,163,184,.14);--v41-soft:#9ba7bd}
.v31-section,.section,.user-dashboard,.promo-showcase,.kivo-live-orders{margin-block:38px!important}
.v31-section-head{align-items:end;gap:18px;margin-bottom:18px!important}.v31-section-head h2,.section-head h2{font-size:clamp(25px,5vw,42px)!important;line-height:1.08!important}.v31-section-head p,.section-subtitle{max-width:560px!important;line-height:1.65!important}
.flash-main{min-height:0!important;padding:28px!important}.flash-main h3{font-size:clamp(28px,6vw,45px)!important;max-width:620px!important}.flash-main p{max-width:560px!important}.countdown{margin:24px 0 20px!important}.countdown span{min-width:68px!important;padding:12px!important}
.flash-side{gap:12px!important}.deal-card{min-height:150px!important;padding:20px!important}
.popular-grid{gap:14px!important}.popular-card{min-height:220px!important;padding:22px!important}.popular-card strong{font-size:20px!important}.popular-card span:not(.popular-icon){line-height:1.55!important}
.home-catalog-links{gap:14px!important}.catalog-link{min-height:210px!important;padding:22px!important}.catalog-link strong{font-size:20px!important}.all-products-cta{max-width:430px!important;margin:24px auto 0!important}
.user-dashboard{padding:26px!important}.user-dashboard-grid{gap:12px!important}.user-dash-card{min-height:125px!important;padding:18px!important}.user-dashboard-metrics{margin-top:14px!important}
.site-footer{padding:28px 18px calc(120px + env(safe-area-inset-bottom))!important}.footer-shell{max-width:1120px!important;padding:34px!important;border-radius:28px!important;background:linear-gradient(145deg,rgba(12,10,20,.96),rgba(8,11,20,.96))!important}.footer-brand-block{padding-bottom:24px!important}.footer-columns{grid-template-columns:1.2fr 1fr 1.4fr!important;gap:28px!important}.footer-column{align-items:flex-start!important;text-align:left!important}.footer-bottom{display:flex!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important}.footer-credit strong{color:#c4b5fd!important}

/* Category/product pages */
.category-store-page .hub-shell{max-width:1180px!important;padding-top:24px!important}.category-store-page .category-store-hero{min-height:0!important;padding:24px!important;gap:20px!important;border-radius:24px!important;background:linear-gradient(135deg,rgba(124,58,237,.13),rgba(20,184,166,.06))!important}.category-store-page .category-store-hero i{width:74px!important;height:74px!important;font-size:38px!important;border-radius:20px!important}.category-store-page .category-store-hero h1{font-size:clamp(30px,7vw,48px)!important;margin:5px 0!important}.category-store-page .category-store-hero p{font-size:16px!important;max-width:600px!important}.category-store-page .store-section{margin-top:32px!important}.category-store-page .section-head{margin-bottom:16px!important}.category-store-page .store-grid{gap:14px!important}.category-store-page .product-card{border-radius:20px!important;overflow:hidden!important}
.product-hub-page .hub-header{min-height:78px!important;padding:14px clamp(18px,4vw,44px)!important}.hub-profile{padding:11px 16px!important;border-radius:13px!important}

/* History page */
.order-history-page{min-height:100vh;background:radial-gradient(circle at 80% 10%,rgba(124,58,237,.18),transparent 34%),#070b14;color:#f8fafc;font-family:Inter,sans-serif;padding-bottom:120px}.history-header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,5vw,70px);border-bottom:1px solid var(--v41-line);background:rgba(7,11,20,.82);backdrop-filter:blur(18px)}.history-header .brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-weight:800;font-size:21px}.history-header .mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#8b5cf6,#22d3ee);box-shadow:0 10px 30px rgba(124,58,237,.28)}.history-back{color:#d8ccff;text-decoration:none;border:1px solid rgba(167,139,250,.25);padding:10px 16px;border-radius:12px}.history-shell{max-width:980px;margin:auto;padding:clamp(30px,6vw,70px) clamp(18px,4vw,34px)}.history-hero{padding:clamp(24px,5vw,46px);border:1px solid var(--v41-line);border-radius:28px;background:linear-gradient(145deg,rgba(17,24,39,.9),rgba(15,23,42,.68));box-shadow:0 28px 80px rgba(0,0,0,.25)}.history-hero h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(36px,8vw,62px);line-height:1.02;margin:12px 0 16px;letter-spacing:-.04em}.history-hero p{color:var(--v41-soft);line-height:1.7;max-width:680px}.history-search{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:26px}.history-search input{min-width:0;padding:16px 18px;border:1px solid var(--v41-line);border-radius:14px;background:#090d18;color:#fff;font:inherit}.history-search button,.history-toolbar button{border:0;border-radius:14px;padding:0 22px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;font-weight:800}.history-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:36px 0 16px}.history-toolbar h2{margin:5px 0 0;font-size:30px}.history-toolbar small,.history-card small{letter-spacing:.14em;color:#a78bfa;font-weight:800}.history-toolbar button{padding:11px 16px}.history-message{color:var(--v41-soft);padding:10px 2px}.history-message a{color:#c4b5fd}.order-history-list{display:grid;gap:14px}.history-card{padding:22px;border:1px solid var(--v41-line);border-radius:22px;background:var(--v41-card)}.history-card-top{display:flex;justify-content:space-between;gap:16px}.history-card h3{margin:7px 0 0;font-size:21px}.history-status{height:max-content;padding:8px 11px;border-radius:999px;font-size:11px;font-weight:800;background:rgba(245,158,11,.12);color:#fbbf24}.history-status.completed{background:rgba(34,197,94,.12);color:#86efac}.history-status.processing{background:rgba(59,130,246,.13);color:#93c5fd}.history-status.failed,.history-status.cancelled{background:rgba(239,68,68,.12);color:#fca5a5}.history-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.history-meta span{padding:13px;border-radius:14px;background:rgba(255,255,255,.035);color:#d2d8e4}.history-meta b{display:block;color:#7f8ba2;font-size:11px;margin-bottom:5px}.history-actions{display:flex;gap:10px}.history-actions a,.history-actions button{border:1px solid var(--v41-line);border-radius:12px;padding:11px 14px;color:#fff;background:rgba(124,58,237,.12);font-weight:700;text-decoration:none}.history-delivery{margin-top:16px;padding:16px;border-radius:15px;background:rgba(34,197,94,.07);border:1px solid rgba(34,197,94,.18)}.history-delivery pre{white-space:pre-wrap;color:#d7fbe3;font-family:Inter,sans-serif;line-height:1.6}

@media(max-width:700px){.v31-section,.section,.user-dashboard,.promo-showcase,.kivo-live-orders{margin-block:28px!important}.flash-layout{grid-template-columns:1fr!important}.flash-main{padding:22px!important;border-radius:22px!important}.flash-main h3{font-size:30px!important}.flash-side{grid-template-columns:1fr 1fr!important}.deal-card{min-height:132px!important;padding:16px!important}.popular-grid,.home-catalog-links{grid-template-columns:1fr 1fr!important}.popular-card,.catalog-link{min-height:178px!important;padding:17px!important}.popular-card strong,.catalog-link strong{font-size:17px!important}.popular-card span:not(.popular-icon),.catalog-link small{font-size:12px!important}.footer-shell{padding:26px 22px!important}.footer-columns{grid-template-columns:1fr 1fr!important}.footer-column:last-child{grid-column:1/-1}.category-store-page .category-store-hero{padding:20px!important;align-items:flex-start!important}.category-store-page .category-store-hero i{width:62px!important;height:62px!important;font-size:31px!important}.history-search{grid-template-columns:1fr}.history-search button{min-height:50px}.history-meta{grid-template-columns:1fr}.history-actions{flex-wrap:wrap}.history-card-top{align-items:flex-start}.history-status{white-space:nowrap}.history-hero h1{font-size:39px}}


/* V42 — kategori terpisah & riwayat APK Premium */
.hub-header-actions{display:flex;align-items:center;gap:10px}.hub-history-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid rgba(157,116,255,.32);border-radius:15px;background:rgba(124,58,237,.12);color:#e9ddff;font-weight:800;text-decoration:none;white-space:nowrap}.hub-history-btn:hover{background:rgba(124,58,237,.22)}
.category-store-page[data-store-category] .catalog-category-grid{display:grid}.category-store-page[data-store-category] #storeGrid>.store-grid{margin-top:0}.apk-history-page .history-hero{margin-bottom:20px}.apk-history-page .history-search-panel{margin-top:0}
@media(max-width:700px){.hub-header{gap:10px}.hub-header-actions{gap:7px}.hub-history-btn{min-height:40px;padding:0 12px;font-size:12px;border-radius:13px}.hub-profile{padding-inline:11px;font-size:0}.hub-profile::after{content:'Kembali';font-size:12px}.category-store-page .category-store-hero{padding:24px 20px}.category-store-page .category-store-hero i{width:68px;height:68px;font-size:34px}.category-store-page .category-store-hero h1{font-size:clamp(28px,8vw,38px)}.category-store-page .section-head h2{font-size:clamp(34px,10vw,48px)}}

/* ===== KivoPay V43 — APK Premium history search panel fix ===== */
.apk-history-page .history-search-panel{
  margin-top:18px;
  padding:18px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(15,23,42,.88),rgba(9,13,24,.82));
  box-shadow:0 18px 50px rgba(0,0,0,.2);
}
.apk-history-page .history-search-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:stretch;
}
.apk-history-page .history-search-form input{
  width:100%;
  min-width:0;
  height:52px;
  padding:0 17px;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:15px!important;
  background:rgba(5,8,16,.78)!important;
  color:#f8fafc!important;
  font:inherit;
  font-size:14px;
  outline:none;
  box-sizing:border-box;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.apk-history-page .history-search-form input::placeholder{color:#6f7a90!important}
.apk-history-page .history-search-form input:focus{
  border-color:rgba(139,92,246,.72)!important;
  box-shadow:0 0 0 4px rgba(124,58,237,.13)!important;
  background:rgba(8,12,22,.96)!important;
}
.apk-history-page .history-search-form button{
  min-width:145px;
  height:52px;
  padding:0 20px;
  border:0;
  border-radius:15px;
  background:linear-gradient(135deg,#8b5cf6,#6d28d9);
  color:#fff;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(109,40,217,.25);
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.apk-history-page .history-search-form button:active{transform:scale(.98)}
.apk-history-page .history-toolbar{
  margin:14px 0 0;
  padding-top:14px;
  border-top:1px solid rgba(148,163,184,.11);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.apk-history-page .history-toolbar p{
  margin:0;
  color:#9ba7bd;
  font-size:14px;
  line-height:1.55;
}
.apk-history-page .history-toolbar button{
  flex:0 0 auto;
  min-height:40px;
  padding:0 15px;
  border:1px solid rgba(167,139,250,.23);
  border-radius:12px;
  background:rgba(124,58,237,.12);
  color:#e9ddff;
  font:inherit;
  font-size:13px;
  font-weight:800;
}
@media(max-width:700px){
  .apk-history-page .history-search-panel{
    margin-top:14px;
    padding:14px;
    border-radius:18px;
  }
  .apk-history-page .history-search-form{
    grid-template-columns:1fr;
    gap:9px;
  }
  .apk-history-page .history-search-form input,
  .apk-history-page .history-search-form button{
    width:100%;
    min-width:0;
    height:50px;
  }
  .apk-history-page .history-toolbar{
    align-items:flex-start;
  }
  .apk-history-page .history-toolbar p{
    font-size:13px;
    padding-top:7px;
  }
  .apk-history-page .history-toolbar button{
    min-height:38px;
    padding:0 13px;
    white-space:nowrap;
  }
}

/* ===== V44 — Premium QRIS payment experience ===== */
.qris-creator-loading{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;overflow:hidden;position:relative;background:radial-gradient(circle at 50% 15%,rgba(139,92,246,.18),transparent 38%),linear-gradient(145deg,rgba(22,16,32,.96),rgba(9,7,14,.98))}
.qris-creator-loading:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(124,58,237,.12);filter:blur(54px);animation:qrisGlow 2.4s ease-in-out infinite}
.qris-creator-loading strong{position:relative;font-size:clamp(18px,4vw,24px);font-weight:850}.qris-creator-loading p{position:relative;margin:0;color:#9f94aa;text-align:center}.loading-dots{display:inline-flex;width:24px;justify-content:flex-start}.loading-dots b{animation:dotWave 1.25s infinite;opacity:.2}.loading-dots b:nth-child(2){animation-delay:.18s}.loading-dots b:nth-child(3){animation-delay:.36s}
.qris-loader-orbit{position:relative;width:92px;height:92px;margin-bottom:10px;display:grid;place-items:center;border-radius:26px;background:linear-gradient(145deg,#8b5cf6,#5b21b6);box-shadow:0 18px 55px rgba(124,58,237,.42),inset 0 1px rgba(255,255,255,.28);animation:loaderFloat 2.2s ease-in-out infinite}.qris-loader-orbit span{font-size:26px;font-weight:900;color:#fff}.qris-loader-orbit i{position:absolute;inset:-10px;border:1px solid rgba(196,181,253,.25);border-radius:32px;animation:orbitRing 2s linear infinite}.qris-loader-orbit i:nth-child(2){inset:-19px;animation-duration:2.8s;animation-direction:reverse}.qris-loader-orbit i:nth-child(3){inset:-29px;animation-duration:3.6s}
.payment-flow-card,.game-payment-card{animation:paymentCardIn .55s cubic-bezier(.2,.8,.2,1) both}.payment-flow-card{position:relative;overflow:hidden}.payment-flow-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 5%,rgba(139,92,246,.13),transparent 31%),radial-gradient(circle at 92% 38%,rgba(34,211,238,.08),transparent 27%)}
.payment-flow-card>*{position:relative}.payment-qris-panel{position:relative;overflow:hidden;background:linear-gradient(160deg,rgba(255,255,255,.045),rgba(255,255,255,.018));box-shadow:inset 0 1px rgba(255,255,255,.05)}.payment-qris-panel:after{content:"SCAN & PAY";display:block;margin:10px auto 0;text-align:center;font-size:10px;letter-spacing:.22em;color:#897d98;font-weight:800}
.qris-box.large{position:relative;overflow:hidden;border:8px solid #fff;box-shadow:0 22px 55px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.25)}.qris-box.large:after{content:"";position:absolute;left:8%;right:8%;height:3px;top:8%;border-radius:99px;background:linear-gradient(90deg,transparent,#8b5cf6,#22d3ee,transparent);box-shadow:0 0 16px #8b5cf6;animation:qrisScan 2.6s ease-in-out infinite;pointer-events:none}
.payment-info-panel{background:linear-gradient(145deg,rgba(255,255,255,.038),rgba(255,255,255,.018));box-shadow:inset 0 1px rgba(255,255,255,.05)}.payment-live-status.pending,.flow-status.pending{animation:statusPulse 1.8s ease-in-out infinite}.payment-grand-total{text-shadow:0 0 25px rgba(168,85,247,.24)}
.premium-order-detail .secondary-btn+.secondary-btn{margin-top:10px}.premium-detail-list{align-content:start}
@keyframes dotWave{0%,60%,100%{opacity:.2;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}@keyframes loaderFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-8px) rotate(2deg)}}@keyframes orbitRing{to{transform:rotate(360deg)}}@keyframes qrisGlow{0%,100%{transform:scale(.85);opacity:.55}50%{transform:scale(1.18);opacity:1}}@keyframes qrisScan{0%,100%{top:8%;opacity:.3}50%{top:88%;opacity:1}}@keyframes paymentCardIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}@keyframes statusPulse{0%,100%{box-shadow:0 0 0 0 rgba(245,158,11,0)}50%{box-shadow:0 0 0 8px rgba(245,158,11,.06)}}
@media(max-width:760px){.qris-creator-loading{min-height:320px}.qris-box.large{min-height:250px;border-width:7px}.qris-box.large img,.qris-box.large canvas{max-width:225px!important}.payment-flow-card .flow-card-head{text-align:center}.payment-flow-card .flow-status{margin-left:auto;margin-right:auto}.payment-flow-grid{gap:14px}.payment-qris-panel,.payment-info-panel{border-radius:19px}.payment-info-panel .flow-detail-list{grid-template-columns:105px 1fr}.premium-order-detail .order-detail-grid{gap:14px}}

/* ===== V46 — Static QRIS for maximum scanner compatibility ===== */
.qris-box,
.qris-box.large,
.qris-box img,
.qris-box canvas,
.qris-box.large img,
.qris-box.large canvas {
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

/* Remove the animated scan line that passes over the QR code. */
.qris-box.large::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

/* Keep the QR area completely still and clean. */
.qris-box.large {
  overflow: visible !important;
  background: #fff !important;
  isolation: isolate;
}

.qris-box.large img,
.qris-box.large canvas {
  position: relative;
  z-index: 2;
  display: block;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* ===== V47 — Responsive QRIS: never crop on small phones ===== */
.payment-flow-grid,
.payment-qris-panel,
.payment-qris-panel > *,
.payment-view,
.game-payment-card,
.robux-payment-card {
  min-width: 0 !important;
}

.payment-qris-panel {
  overflow: visible !important;
}

.qris-box,
.qris-box.large {
  box-sizing: border-box !important;
  width: min(100%, 320px) !important;
  max-width: 320px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: clamp(10px, 3vw, 16px) !important;
  border: 0 !important;
  border-radius: clamp(14px, 4vw, 20px) !important;
  background: #fff !important;
  overflow: visible !important;
}

.qris-box img,
.qris-box canvas,
.qris-box.large img,
.qris-box.large canvas {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: visible !important;
}

@media (max-width: 420px) {
  .payment-qris-panel {
    padding: 12px !important;
  }

  .qris-box,
  .qris-box.large {
    width: min(100%, 286px) !important;
    max-width: 286px !important;
    padding: 10px !important;
  }
}

@media (max-width: 350px) {
  .payment-qris-panel {
    padding: 9px !important;
  }

  .qris-box,
  .qris-box.large {
    width: 100% !important;
    max-width: 260px !important;
    padding: 8px !important;
    border-radius: 14px !important;
  }
}

/* ===== V48 — QRIS intrinsic-size fix (no stretching / no cropping) ===== */
.payment-qris-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  overflow: visible !important;
}

.qris-box,
.qris-box.large {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(320px, calc(100vw - 72px)) !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 12px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 18px !important;
  overflow: visible !important;
}

.qris-box img,
.qris-box.large img,
.qris-box canvas,
.qris-box.large canvas {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

@media (max-width: 380px) {
  .qris-box,
  .qris-box.large {
    width: min(286px, calc(100vw - 54px)) !important;
    padding: 10px !important;
  }
}

/* ===== V49 — QRIS safe quiet-zone fix =====
   Keep a clean white margin around every side of the QR so small screens,
   screenshots and scanner previews never make the code look cropped. */
.qris-box,
.qris-box.large {
  box-sizing: border-box !important;
  width: min(330px, calc(100vw - 64px)) !important;
  max-width: 100% !important;
  padding: clamp(18px, 5vw, 24px) !important;
  border-radius: 16px !important;
  background: #fff !important;
  overflow: visible !important;
}

.qris-box img,
.qris-box.large img,
.qris-box canvas,
.qris-box.large canvas {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 282px !important;
  max-height: none !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  clip-path: none !important;
}

@media (max-width: 390px) {
  .qris-box,
  .qris-box.large {
    width: min(300px, calc(100vw - 48px)) !important;
    padding: 18px !important;
  }

  .qris-box img,
  .qris-box.large img,
  .qris-box canvas,
  .qris-box.large canvas {
    max-width: 254px !important;
  }
}

@media (max-width: 340px) {
  .qris-box,
  .qris-box.large {
    width: calc(100vw - 36px) !important;
    padding: 16px !important;
  }
}

/* V50 — QRIS modal and payment copy polish */
.qris-reveal-panel{
  min-height:320px;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;
  padding:34px 26px!important;
  overflow:hidden;
  position:relative;
}
.qris-reveal-panel::before{
  content:"";
  position:absolute;
  width:220px;height:220px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(126,75,255,.18),transparent 67%);
  pointer-events:none;
}
.qris-reveal-panel>*{position:relative;z-index:1}
.qris-reveal-icon{
  width:72px;height:72px;border-radius:22px;
  display:grid;place-items:center;
  font-size:38px;line-height:1;
  color:#fff;
  background:linear-gradient(145deg,#8b5cf6,#5b21b6);
  box-shadow:0 18px 42px rgba(111,55,255,.35),inset 0 1px rgba(255,255,255,.25);
}
.qris-reveal-kicker{font-size:12px;font-weight:800;letter-spacing:.18em;color:#bca7ff}
.qris-reveal-panel h2{font-size:clamp(24px,5vw,32px);margin:0;color:var(--text,#fff)}
.qris-reveal-panel p{max-width:440px;margin:0;color:var(--muted,#aaa);line-height:1.65}
.qris-reveal-panel small{color:var(--muted,#8f879e);line-height:1.5}
.qris-reveal-panel .primary-btn{max-width:360px;margin-top:8px;min-height:56px;font-size:17px}

.qris-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:16px;opacity:0;visibility:hidden;transition:.2s ease}
.qris-modal.show{opacity:1;visibility:visible}
.qris-modal.closing{opacity:0}
.qris-modal-backdrop{position:absolute;inset:0;background:rgba(3,1,10,.78);backdrop-filter:blur(9px)}
.qris-modal-card{
  width:min(560px,100%);max-height:calc(100dvh - 24px);overflow:auto;
  position:relative;border-radius:26px;
  background:linear-gradient(180deg,#171121 0%,#0e0a15 100%);
  border:1px solid rgba(182,144,255,.24);
  box-shadow:0 30px 100px rgba(0,0,0,.6);
  transform:translateY(18px) scale(.97);transition:.22s ease;
}
.qris-modal.show .qris-modal-card{transform:none}
.qris-modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:20px 22px;background:rgba(18,12,27,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.08)}
.qris-modal-head span{display:block;font-size:11px;font-weight:800;letter-spacing:.18em;color:#b99bff;margin-bottom:3px}
.qris-modal-head h2{margin:0;font-size:24px;color:#fff}
.qris-modal-close{width:42px;height:42px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.05);color:#fff;font-size:27px;line-height:1;cursor:pointer}
.qris-modal-body{padding:24px}
.qris-modal-lead{text-align:center;color:#b7afc2;line-height:1.55;margin:0 auto 18px;max-width:420px}
.qris-modal-code{
  width:min(360px,100%);aspect-ratio:1/1;margin:0 auto;
  box-sizing:border-box;padding:20px;background:#fff;border-radius:18px;
  display:grid;place-items:center;overflow:visible!important;
  box-shadow:0 18px 48px rgba(0,0,0,.34);
  transition:.2s ease;
}
.qris-modal-code img,.qris-modal-code canvas{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important;filter:none!important;border-radius:0!important}
.qris-modal-code.zoomed{width:min(460px,100%)}
.qris-modal-tools{display:flex;justify-content:center;gap:10px;margin:16px 0 22px}
.qris-modal-tools button{border:1px solid rgba(167,126,255,.3);background:rgba(120,69,220,.13);color:#d4c2ff;border-radius:12px;padding:11px 16px;font-weight:700;cursor:pointer}
.qris-modal-total{text-align:center;padding:18px;border-radius:18px;background:linear-gradient(135deg,rgba(125,66,255,.17),rgba(53,211,193,.09));border:1px solid rgba(171,130,255,.2)}
.qris-modal-total span,.qris-modal-total small{display:block;color:#aaa1b5}
.qris-modal-total strong{display:block;font-size:34px;color:#d3b7ff;margin:5px 0}
.qris-modal-info{margin-top:18px;padding:18px;border-radius:18px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);color:#b8b0c2}
.qris-modal-info>strong{color:#fff}
.qris-modal-info ul{padding-left:20px;margin:11px 0 0;line-height:1.75}
.qris-modal-foot{padding:0 24px 24px}
.qris-modal-foot button{width:100%;min-height:52px;border:0;border-radius:15px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;font-weight:800;font-size:16px;cursor:pointer}
body:has(.qris-modal.show){overflow:hidden}

html[data-theme="light"] .qris-modal-backdrop,body.light-mode .qris-modal-backdrop{background:rgba(24,18,36,.54)}
html[data-theme="light"] .qris-modal-card,body.light-mode .qris-modal-card{background:linear-gradient(180deg,#fff,#f7f4fb);border-color:#e5daf6}
html[data-theme="light"] .qris-modal-head,body.light-mode .qris-modal-head{background:rgba(255,255,255,.94);border-color:#eee7f6}
html[data-theme="light"] .qris-modal-head h2,html[data-theme="light"] .qris-modal-close,body.light-mode .qris-modal-head h2,body.light-mode .qris-modal-close{color:#251b32}
html[data-theme="light"] .qris-modal-close,body.light-mode .qris-modal-close{background:#f4eff9;border-color:#e4daef}
html[data-theme="light"] .qris-modal-lead,html[data-theme="light"] .qris-modal-total span,html[data-theme="light"] .qris-modal-total small,html[data-theme="light"] .qris-modal-info,body.light-mode .qris-modal-lead,body.light-mode .qris-modal-total span,body.light-mode .qris-modal-total small,body.light-mode .qris-modal-info{color:#6c6374}
html[data-theme="light"] .qris-modal-info,body.light-mode .qris-modal-info{background:#faf8fc;border-color:#e9e2ef}
html[data-theme="light"] .qris-modal-info>strong,body.light-mode .qris-modal-info>strong{color:#2d2335}

@media(max-width:560px){
  .qris-modal{padding:8px}
  .qris-modal-card{border-radius:22px;max-height:calc(100dvh - 16px)}
  .qris-modal-head{padding:16px}
  .qris-modal-body{padding:18px 16px}
  .qris-modal-code{width:min(310px,100%);padding:16px;border-radius:15px}
  .qris-modal-tools{display:grid;grid-template-columns:1fr 1fr}
  .qris-modal-tools button{padding:11px 8px}
  .qris-modal-total strong{font-size:29px}
  .qris-modal-foot{padding:0 16px 16px}
  .qris-reveal-panel{min-height:270px;padding:28px 20px!important}
}


/* ===== V51 — payment summary and QRIS button polish ===== */
.payment-summary-head{
  margin-bottom:16px;
  padding-bottom:15px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.payment-summary-head>span{
  display:block;
  margin-bottom:5px;
  color:#b99bff;
  font-size:11px;
  font-weight:850;
  letter-spacing:.16em;
}
.payment-summary-head h3{
  margin:0;
  color:var(--text,#fff);
  font-size:22px;
  line-height:1.2;
}
.payment-summary-head p{
  margin:7px 0 0;
  color:var(--muted,#aaa1b5);
  font-size:14px;
  line-height:1.5;
}
.payment-detail-list{
  display:flex!important;
  flex-direction:column;
  gap:0!important;
  margin:0!important;
}
.payment-detail-row{
  display:grid;
  grid-template-columns:minmax(112px,.8fr) minmax(0,1.35fr);
  align-items:center;
  gap:18px;
  min-height:64px;
  padding:13px 2px;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.payment-detail-row:last-child{border-bottom:0}
.payment-detail-row dt,
.payment-detail-row dd{
  margin:0!important;
  min-width:0;
}
.payment-detail-row dt{
  color:#948ca0!important;
  font-size:14px;
  font-weight:650;
}
.payment-detail-row dd{
  color:#f6f2fb!important;
  font-size:16px;
  font-weight:750;
  line-height:1.42;
  text-align:right;
  overflow-wrap:anywhere;
}
.payment-detail-row.invoice-row dd{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
}
.invoice-value{
  min-width:0;
  font-size:15px;
  letter-spacing:.015em;
  overflow-wrap:anywhere;
}
.payment-detail-row.total-row{
  margin-top:8px;
  padding:18px 16px;
  border:1px solid rgba(170,124,255,.2);
  border-radius:17px;
  background:linear-gradient(135deg,rgba(126,71,255,.13),rgba(47,211,192,.07));
}
.payment-detail-row.total-row dt{
  color:#c8bdd6!important;
  font-weight:750;
}
.payment-detail-row.total-row dd.payment-grand-total{
  color:#d2b4ff!important;
  font-size:clamp(25px,6vw,34px)!important;
  line-height:1.05;
}
.copy-mini{
  flex:0 0 auto;
  min-width:64px;
  min-height:36px;
  padding:7px 11px!important;
  border:1px solid rgba(184,145,255,.28)!important;
  border-radius:11px!important;
  background:rgba(126,73,211,.18)!important;
  color:#d6c4ff!important;
  font-size:13px!important;
  font-weight:800!important;
}
.qris-open-btn{
  display:grid!important;
  grid-template-columns:42px 1fr 24px;
  align-items:center;
  gap:13px;
  width:100%;
  max-width:380px!important;
  min-height:66px!important;
  padding:10px 16px!important;
  border:1px solid rgba(255,255,255,.17)!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#955dff 0%,#7834e9 52%,#5f24c9 100%)!important;
  color:#fff!important;
  text-align:left!important;
  box-shadow:0 16px 34px rgba(112,50,225,.34),inset 0 1px 0 rgba(255,255,255,.22)!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
.qris-open-btn:hover,
.qris-open-btn:focus-visible{
  transform:translateY(-2px);
  filter:brightness(1.06);
  box-shadow:0 20px 42px rgba(112,50,225,.42),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
.qris-open-btn:active{transform:scale(.985)}
.qris-open-btn-icon{
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:13px;
  background:rgba(255,255,255,.16);
  font-size:23px;
  box-shadow:inset 0 1px rgba(255,255,255,.2);
}
.qris-open-btn>span:nth-child(2){display:flex;flex-direction:column;gap:1px;min-width:0}
.qris-open-btn b{font-size:16px;line-height:1.25}
.qris-open-btn small{color:rgba(255,255,255,.76)!important;font-size:12px;line-height:1.3}
.qris-open-btn i{font-style:normal;font-size:22px;text-align:right;transition:transform .18s ease}
.qris-open-btn:hover i{transform:translateX(3px)}

html[data-theme="light"] .payment-summary-head,
body.light-mode .payment-summary-head{border-color:#e9e1f0}
html[data-theme="light"] .payment-summary-head h3,
body.light-mode .payment-summary-head h3{color:#281f31}
html[data-theme="light"] .payment-summary-head p,
body.light-mode .payment-summary-head p{color:#756c7d}
html[data-theme="light"] .payment-detail-row,
body.light-mode .payment-detail-row{border-color:#ebe4f0}
html[data-theme="light"] .payment-detail-row dt,
body.light-mode .payment-detail-row dt{color:#746b7c!important}
html[data-theme="light"] .payment-detail-row dd,
body.light-mode .payment-detail-row dd{color:#2e2536!important}
html[data-theme="light"] .payment-detail-row.total-row,
body.light-mode .payment-detail-row.total-row{background:linear-gradient(135deg,#f3ecff,#eefcf9);border-color:#dfd2f4}
html[data-theme="light"] .copy-mini,
body.light-mode .copy-mini{background:#f0e8fb!important;color:#674298!important;border-color:#ddcff0!important}

@media(max-width:560px){
  .payment-info-panel{padding:20px 18px!important}
  .payment-detail-row{grid-template-columns:1fr;gap:6px;min-height:0;padding:14px 0}
  .payment-detail-row dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em}
  .payment-detail-row dd{text-align:left;font-size:16px}
  .payment-detail-row.invoice-row dd{justify-content:space-between;align-items:flex-start}
  .payment-detail-row.total-row{grid-template-columns:1fr auto;align-items:end;gap:12px;padding:16px}
  .payment-detail-row.total-row dt{text-transform:none;letter-spacing:0;font-size:14px}
  .payment-detail-row.total-row dd{text-align:right}
  .qris-open-btn{grid-template-columns:40px 1fr 22px;min-height:64px!important;padding:10px 14px!important}
}

/* =========================================================
   KivoPay V61 — Comfortable chat composer & message replies
   ========================================================= */
.chat-composer-stack{min-width:0;display:grid;gap:9px}
.chat-input-wrap{height:auto!important;min-height:58px;align-items:flex-end!important;padding:10px 16px!important}
.chat-input-wrap>svg{margin-bottom:8px}
.chat-input-wrap textarea{
  width:100%;min-width:0;min-height:36px;max-height:156px;resize:none;overflow-y:auto;
  border:0!important;outline:0!important;background:transparent!important;color:#f7f3ff!important;
  padding:7px 0!important;font:500 15px/1.5 Inter,sans-serif!important;box-shadow:none!important;
  white-space:pre-wrap;overflow-wrap:anywhere
}
.chat-input-wrap textarea::placeholder{color:#83788f}
.chat-reply-preview{
  display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;
  border-left:3px solid #9b6cff;border-radius:12px;background:rgba(139,92,246,.1);
  border-top:1px solid rgba(167,139,250,.12);border-right:1px solid rgba(167,139,250,.12);border-bottom:1px solid rgba(167,139,250,.12)
}
.chat-reply-preview[hidden]{display:none}
.chat-reply-preview>div{min-width:0;display:grid;gap:2px}.chat-reply-preview small{color:#a78bfa;font-size:9px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.chat-reply-preview strong{font-size:12px;color:#fff}.chat-reply-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9f96aa;font-size:11px}
.chat-reply-preview button{width:32px;height:32px;flex:0 0 32px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.04);color:#cfc6da;font-size:20px;cursor:pointer}
.chat-quoted-reply{display:grid;gap:3px;margin:7px 0 9px;padding:8px 10px;border-left:3px solid rgba(167,139,250,.75);border-radius:9px;background:rgba(255,255,255,.045)}
.chat-message.mine .chat-quoted-reply{background:rgba(15,8,28,.22);border-left-color:#e4d7ff}
.chat-quoted-reply strong{font-size:10px;color:#c4b5fd}.chat-quoted-reply span{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#aaa1b5;font-size:10px}
.chat-message.mine .chat-quoted-reply strong,.chat-message.mine .chat-quoted-reply span{color:#f0eaff}
.chat-reply-btn{display:inline-flex;margin-top:9px;padding:5px 9px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.035);color:#a89db4;font-size:9px;font-weight:800;cursor:pointer;transition:.2s}
.chat-reply-btn:hover{color:#fff;border-color:rgba(167,139,250,.45);background:rgba(139,92,246,.12)}
.chat-message.mine .chat-reply-btn{color:rgba(255,255,255,.82);border-color:rgba(255,255,255,.18)}
.chat-send-v2.is-sending{opacity:.68;pointer-events:none}
.chat-send-v2.is-sending svg{animation:chatSendPulse .8s ease-in-out infinite alternate}
@keyframes chatSendPulse{to{transform:translateX(4px);opacity:.55}}
@media(max-width:760px){
  .chat-page-form{padding:12px 12px max(15px,env(safe-area-inset-bottom))!important}
  .chat-compose-v2{align-items:end!important}
  .chat-input-wrap{min-height:56px;padding:8px 13px!important;border-radius:17px!important}
  .chat-input-wrap textarea{font-size:15px!important;max-height:138px}
  .chat-send-v2{align-self:end}
  .chat-form-foot{margin-top:7px}.chat-form-foot small{max-width:76%}
  .chat-message{max-width:94%}.chat-bubble-wrap{min-width:150px}
}
.wallet-payment-options,.wallet-checkout-box{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 16px}.wallet-payment-options label,.wallet-checkout-box label{display:flex;align-items:center;gap:9px;padding:13px;border:1px solid rgba(160,125,255,.2);border-radius:15px;background:rgba(255,255,255,.035);cursor:pointer}.wallet-payment-options span,.wallet-checkout-box label{min-width:0}.wallet-payment-options b,.wallet-checkout-box b{display:block;font-size:13px}.wallet-payment-options small,.wallet-checkout-box small{display:block;opacity:.65;font-size:11px;line-height:1.35}.wallet-checkout-box>span{grid-column:1/-1;font-weight:700}.wallet-payment-options input,.wallet-checkout-box input{accent-color:#8b5cf6}@media(max-width:420px){.wallet-payment-options,.wallet-checkout-box{grid-template-columns:1fr}}

/* ===== KivoPay CS popup user cleanup V4 ===== */
body.support-open{overflow:hidden!important;touch-action:none}
body.support-open .kivo-bottom-nav,
body.support-open .bottom-nav,
body.support-open #bottomNav,
body.support-open [data-bottom-nav],
body.support-open .floating-cs-agent,
body.support-open .floating-support,
body.support-open .floating-support-v2{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.support-popup.support-drawer{z-index:99999!important}
.support-team-card{padding-bottom:max(28px,env(safe-area-inset-bottom))!important}
.support-agent-list{padding-bottom:4px}
.support-channel-section{
  display:grid;gap:14px;margin-top:4px;padding:18px;
  border:1px solid rgba(167,139,250,.18);border-radius:20px;
  background:linear-gradient(145deg,rgba(19,13,30,.96),rgba(11,8,18,.96));
  overflow:hidden;
}
.support-channel-title{display:grid;gap:5px;min-width:0}
.support-channel-title small{color:#b99aff;font-size:9px;font-weight:900;letter-spacing:.15em}
.support-channel-title strong{color:#fff;font-size:18px;line-height:1.25;overflow-wrap:anywhere}
.support-channel-list{display:grid;gap:10px}
.support-channel-card{
  appearance:none!important;-webkit-appearance:none!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;
  width:100%!important;min-width:0!important;min-height:54px!important;margin:0!important;padding:13px 14px!important;
  border:1px solid rgba(167,139,250,.22)!important;border-radius:15px!important;
  background:linear-gradient(135deg,rgba(139,92,246,.16),rgba(255,255,255,.035))!important;
  color:#fff!important;text-align:left!important;font:inherit!important;box-shadow:none!important;cursor:pointer!important;
}
.support-channel-card span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:850;color:#f8f5ff}
.support-channel-card b{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:6px 10px;border-radius:999px;background:rgba(139,92,246,.18);color:#c4b5fd;font-size:9px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.support-channel-card:active{transform:scale(.985)}
@media(max-width:640px){
  .support-popup.support-drawer{padding:0!important}
  .support-team-card{max-height:94dvh!important;padding:22px 16px max(24px,env(safe-area-inset-bottom))!important}
  .support-channel-section{padding:16px;margin-top:2px}
  .support-channel-card{min-height:56px!important}
}
