/* KOPKEN Playful R20.13 — dialog himbauan 1 tombol + floating bantuan mini di bawah.
   Tidak mengubah harga, keranjang, tombol order, atau status outlet. */

.broy-support-notice {position:fixed;inset:0;z-index:15000;display:none;align-items:center;justify-content:center;padding:18px;font-family:'Excon',system-ui,sans-serif}
.broy-support-notice.is-open {display:flex}
.broy-support-notice__overlay {position:absolute;inset:0;background:rgba(16,15,23,.65);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.broy-support-notice__card {
  position:relative;width:min(395px,100%);max-height:calc(100dvh - 40px);overflow:auto;
  border:1.5px solid #282226;border-radius:25px 25px 25px 10px;
  background:#fffaf7;color:#282226;box-shadow:6px 8px 0 #282226,0 22px 60px rgba(0,0,0,.19);
  padding:25px 22px 21px;animation:broySupportPop .24s cubic-bezier(.2,.8,.2,1) both;
}
.broy-support-notice__close{position:absolute;right:14px;top:13px;width:30px;height:30px;display:grid;place-items:center;border:1px solid #e5dada;border-radius:10px;background:#fff;color:#594e51;font-size:24px;cursor:pointer;line-height:1}
.broy-support-notice__top{display:flex;align-items:center;gap:8px;margin-bottom:13px;padding-right:20px}
.broy-support-notice__icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border:1.5px solid #282226;border-radius:13px 13px 13px 5px;background:#FFD12A;color:#282226;font-size:23px;font-weight:900;transform:rotate(-6deg)}
.broy-support-notice__tag{display:inline-flex;align-items:center;padding:5px 9px;background:#ffe9ec;border-radius:999px;color:#a92333;font-size:10px;line-height:1.3;font-weight:900;letter-spacing:.06em}
.broy-support-notice__card h2{font-size:21px;line-height:1.24;letter-spacing:-.025em;margin:0 12px 10px 0;font-weight:900;color:#282226}
.broy-support-notice__card p{font-size:13px;line-height:1.65;margin:0 0 13px;color:#63575a}
.broy-support-notice__card p strong{color:#a92333;font-weight:850}
.broy-support-notice__hint{border-radius:12px;background:#fff1d2;padding:9px 11px;display:flex;gap:7px;align-items:center;font-size:11px;line-height:1.45;color:#79510c;font-weight:650}
.broy-support-notice__hint span{font-size:17px;color:#c17c00;line-height:1}
.broy-support-notice__actions{display:grid;gap:8px;margin-top:17px}
.broy-support-notice__continue{display:flex;align-items:center;justify-content:center;min-height:43px;border-radius:13px;padding:9px 12px;font-family:inherit;font-size:13px;font-weight:850;text-align:center;text-decoration:none!important;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.broy-support-notice__continue{border:1.5px solid #282226;background:#d72f3c;color:#fff;box-shadow:2px 3px 0 #282226}
.broy-support-notice__continue:hover{transform:translateY(-2px)}
.broy-support-notice__continue:active{transform:translateY(1px)}
.broy-support-notice__close:focus-visible,.broy-support-notice__continue:focus-visible,.broy-help-fab:focus-visible{outline:3px solid #FFD12A;outline-offset:3px}
@keyframes broySupportPop{from{opacity:0;transform:translateY(15px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}

/* Maskot tetap digunakan dengan ukuran mini, diposisikan di pojok kanan paling bawah. */
.broy-help-fab{
  position:fixed;bottom:calc(12px + env(safe-area-inset-bottom,0px));
  right:max(12px,calc((100vw - 430px) / 2 + 12px));z-index:1250;
  display:flex;align-items:center;gap:5px;min-height:49px;max-width:170px;
  padding:3px 9px 3px 3px;border:1.5px solid #282226;
  border-radius:15px 15px 15px 7px;background:#FFF9F7;
  box-shadow:3px 4px 0 #282226,0 11px 26px rgba(40,34,38,.16);
  color:#282226!important;text-decoration:none!important;
  font-family:'Excon',system-ui,sans-serif;font-size:inherit;
  transition:transform .22s ease,box-shadow .22s ease;isolation:isolate;
}
.broy-help-fab:hover{transform:translateY(-4px);box-shadow:4px 7px 0 #282226,0 14px 32px rgba(40,34,38,.18)}
.broy-help-fab:active{transform:translateY(1px)}
.broy-help-fab__mascot{position:relative;display:block;flex:none;width:42px;height:42px;animation:broyHelpFloat 3.7s ease-in-out infinite;transform-origin:55% 80%}
.broy-help-fab__mascot img{display:block;position:relative;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 0 rgba(40,34,38,.15))}
.broy-help-fab__orbit{position:absolute;z-index:-1;left:9px;top:9px;width:33px;height:33px;border:1.6px solid #DE3743;border-radius:50%;opacity:.6;animation:broyHelpRing 3.7s ease-out infinite}
.broy-help-fab__label{display:flex;flex-direction:column;min-width:0;gap:1px}
.broy-help-fab__label strong{font-size:10.5px;line-height:1.18;font-weight:850;white-space:nowrap;color:#282226}
.broy-help-fab__label small{font-size:9.5px;line-height:1.2;font-weight:800;color:#B92232}
.broy-help-fab__label small span{font-size:12px}
.broy-help-fab__status{position:absolute;right:7px;top:7px;width:7px;height:7px;border-radius:50%;background:#FFD12A;border:1px solid #fff;box-shadow:0 0 0 2px rgba(255,209,42,.22)}
/* Status kecil adalah dekorasi, bukan indikator admin sedang online. */
body.is-cart .broy-help-fab,body.is-detail .broy-help-fab,body.has-cart-items .broy-help-fab,
body[data-store-closed="true"] .broy-help-fab,
html.outlet-detail-open .broy-help-fab,html.broy-support-notice-open .broy-help-fab {display:none!important}
@keyframes broyHelpFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(4deg)}}
@keyframes broyHelpRing{0%{transform:scale(.7);opacity:.48}45%{transform:scale(1.5);opacity:0}100%{transform:scale(1.5);opacity:0}}

html.dark body .broy-support-notice__card{background:#1a1b20;color:#fff;border-color:#4e4850;box-shadow:5px 7px 0 #08090b,0 22px 60px rgba(0,0,0,.4)}
html.dark body .broy-support-notice__card h2{color:#fbfaff}
html.dark body .broy-support-notice__card p{color:#c8c5cf}
html.dark body .broy-support-notice__card p strong{color:#ff969e}
html.dark body .broy-support-notice__tag{background:#3e252f;color:#ffadb4}
html.dark body .broy-support-notice__close{background:#2c2e35;border-color:#4a4750;color:#eee}
html.dark body .broy-support-notice__hint{background:#352c1c;color:#f5d48b}
html.dark body .broy-help-fab{background:#1B1B1F!important;color:#FBFAFF!important;border-color:rgba(255,255,255,.2)!important;box-shadow:3px 4px 0 #070708!important}
html.dark body .broy-help-fab__label strong{color:#FBFAFF!important}
html.dark body .broy-help-fab__label small{color:#FF818A!important}

@media(max-width:420px){
  .broy-help-fab{right:11px;bottom:calc(10px + env(safe-area-inset-bottom,0px));min-height:46px;max-width:150px;padding:3px 8px 3px 3px;gap:4px;border-radius:14px 14px 14px 7px}
  .broy-help-fab__mascot{width:39px;height:39px}
  .broy-help-fab__orbit{left:8px;top:8px;width:30px;height:30px}
  .broy-help-fab__label strong{font-size:10px}
  .broy-help-fab__label small{font-size:9px}
  .broy-support-notice__card{padding:23px 18px 19px;border-radius:21px 21px 21px 9px}
  .broy-support-notice__card h2{font-size:19px}
}
@media(max-height:520px){.broy-support-notice__card{max-height:calc(100dvh - 20px);padding-top:16px;padding-bottom:16px}}
@media(prefers-reduced-motion:reduce){.broy-help-fab__mascot,.broy-help-fab__orbit,.broy-support-notice__card{animation:none!important}.broy-help-fab,.broy-support-notice__continue{transition:none!important}}
