/* Scoped quick menu – never target existing site selectors. */
.tqm-root{--tqm-bg:#071632;--tqm-primary:#103e89;--tqm-accent:#f6c755;--tqm-offset:14px;--tqm-bottom-d:22px;--tqm-bottom-m:90px;--tqm-panel-width:390px;font-family:inherit}
.tqm-root *{box-sizing:border-box}
.tqm-root .tqm-trigger{position:fixed;left:var(--tqm-offset);bottom:var(--tqm-bottom-d);display:flex;align-items:center;gap:6px;padding:9px 13px;border:2px solid var(--tqm-accent);border-radius:24px;background:linear-gradient(135deg,var(--tqm-primary),var(--tqm-bg));color:var(--tqm-accent);box-shadow:0 2px 13px rgba(0,0,0,.45),0 0 9px rgba(246,199,85,.3);font-size:12px;line-height:1;font-weight:900;letter-spacing:.5px;cursor:pointer;z-index:2147482000;max-width:150px}
.tqm-root.tqm-side-right .tqm-trigger{left:auto;right:var(--tqm-offset)}
.tqm-root.tqm-style-blue .tqm-trigger{border-color:#5da9ff;color:#fff;box-shadow:0 0 10px #276dff88}
.tqm-root .tqm-hamburger{display:flex;width:14px;flex-direction:column;gap:3px}
.tqm-root .tqm-hamburger i{display:block;height:2px;width:100%;background:currentColor;border-radius:2px}
.tqm-root .tqm-overlay[hidden]{display:none!important}
.tqm-root .tqm-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;isolation:isolate}
.tqm-root .tqm-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:rgba(0,4,18,.77);cursor:default;z-index:-1}
.tqm-root .tqm-panel{width:min(var(--tqm-panel-width),calc(100vw - 28px));max-height:min(690px,calc(100dvh - 55px));display:flex;flex-direction:column;overflow:hidden;position:relative;border:1px solid var(--tqm-accent);border-radius:18px;background:linear-gradient(165deg,var(--tqm-primary) 0%,var(--tqm-bg) 60%,#040e21 100%);color:#f7f9ff;box-shadow:0 14px 60px #000b,0 0 22px rgba(245,203,80,.23);outline:none}
.tqm-root .tqm-panel:before{content:"";height:3px;flex-shrink:0;background:linear-gradient(90deg,transparent,var(--tqm-accent),transparent)}
.tqm-root .tqm-header{padding:19px 18px 13px;display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.tqm-root .tqm-overline{display:block;font-size:10px;font-weight:800;letter-spacing:1.8px;color:var(--tqm-accent)}
.tqm-root .tqm-header h2{font-size:23px;line-height:1.18;margin:6px 0;color:#fff;font-weight:900;text-shadow:0 1px 7px #0006}
.tqm-root .tqm-header p{font-size:12px;line-height:1.5;color:#b9c7e5;margin:4px 0 0}
.tqm-root .tqm-x{font-size:26px;line-height:1;border:1px solid #536b98;border-radius:10px;color:#fff;background:#0c2855;padding:3px 9px;cursor:pointer}
.tqm-root .tqm-list{min-height:35px;overflow-y:auto;overscroll-behavior:contain;padding:3px 14px 6px;display:flex;flex-direction:column;gap:9px;scrollbar-color:var(--tqm-accent) transparent;scrollbar-width:thin}
.tqm-root .tqm-item{display:flex;align-items:center;gap:12px;min-height:72px;width:100%;text-decoration:none!important;padding:9px;border:1px solid #5475b15e;background:linear-gradient(95deg,rgba(21,73,162,.6),rgba(13,28,63,.84));border-radius:12px;color:#fff;transition:background .15s,border-color .15s,transform .15s}
.tqm-root a.tqm-item:hover{background:linear-gradient(95deg,rgba(39,100,203,.78),rgba(26,48,91,.95));border-color:var(--tqm-accent);transform:translateY(-1px)}
.tqm-root .tqm-item-icon{display:grid;place-items:center;flex:none;width:53px;height:53px;border-radius:11px;background:radial-gradient(circle at 48% 23%,#1a5aaa,var(--tqm-bg));border:1px solid #9fb9f6;box-shadow:inset 0 0 10px #3479d477,0 0 6px #1758aa55}
.tqm-root .tqm-item-icon img{width:44px;height:44px;object-fit:contain;display:block}
.tqm-root .tqm-item-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.tqm-root .tqm-item-text strong{font-size:13px;line-height:1.2;color:var(--tqm-accent);font-weight:850;overflow-wrap:anywhere}
.tqm-root .tqm-item-text small{font-size:11px;color:#e0e9ff;line-height:1.35;overflow-wrap:anywhere}
.tqm-root .tqm-item-text em{font-size:10px;color:#98a9cc;font-style:normal}
.tqm-root .tqm-chevron{font-size:26px;color:var(--tqm-accent);padding-right:4px}
.tqm-root .tqm-item-disabled{opacity:.6}
.tqm-root .tqm-empty{padding:20px;text-align:center;color:#b3c9e8}
.tqm-root .tqm-footer{display:flex;justify-content:center;padding:13px 14px 15px}
.tqm-root .tqm-footer button{border:1px solid var(--tqm-accent);border-radius:20px;background:#081833;color:var(--tqm-accent);font-size:12px;font-weight:800;cursor:pointer;padding:9px 20px}
.tqm-root :is(button,a):focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:767px){.tqm-root .tqm-trigger{bottom:var(--tqm-bottom-m);padding:8px 11px;font-size:12px}.tqm-root .tqm-panel{max-height:calc(100dvh - 120px);border-radius:15px}.tqm-root .tqm-header{padding:14px 14px 10px}.tqm-root .tqm-list{gap:7px;padding:2px 11px 5px}.tqm-root .tqm-item{min-height:63px;padding:7px}.tqm-root .tqm-item-icon{width:48px;height:48px}.tqm-root .tqm-item-icon img{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){.tqm-root *{transition:none!important}}

/* V2.2: tambahan hanya untuk mode slide, popup versi lama tetap tersedia. */
.tqm-root.tqm-mode-slide-left .tqm-overlay,
.tqm-root.tqm-mode-slide-right .tqm-overlay{padding:0;align-items:stretch}
.tqm-root.tqm-mode-slide-left .tqm-overlay{justify-content:flex-start}
.tqm-root.tqm-mode-slide-right .tqm-overlay{justify-content:flex-end}
.tqm-root.tqm-mode-slide-left .tqm-panel,
.tqm-root.tqm-mode-slide-right .tqm-panel{
  width:min(var(--tqm-panel-width),calc(100vw - 34px));
  height:100dvh;max-height:100dvh;min-height:0;border-radius:0;
  padding-bottom:env(safe-area-inset-bottom,0px);
}
.tqm-root.tqm-mode-slide-left .tqm-panel{border-left:0;border-radius:0 17px 17px 0}
.tqm-root.tqm-mode-slide-right .tqm-panel{border-right:0;border-radius:17px 0 0 17px}
.tqm-root.tqm-mode-slide-left .tqm-overlay:not(.tqm-closing) .tqm-panel{animation:tqm-slide-enter-left var(--tqm-slide-duration,300ms) cubic-bezier(.22,.83,.29,1) both}
.tqm-root.tqm-mode-slide-right .tqm-overlay:not(.tqm-closing) .tqm-panel{animation:tqm-slide-enter-right var(--tqm-slide-duration,300ms) cubic-bezier(.22,.83,.29,1) both}
.tqm-root.tqm-mode-slide-left .tqm-overlay.tqm-closing .tqm-panel{animation:tqm-slide-exit-left var(--tqm-slide-duration,300ms) ease-in both}
.tqm-root.tqm-mode-slide-right .tqm-overlay.tqm-closing .tqm-panel{animation:tqm-slide-exit-right var(--tqm-slide-duration,300ms) ease-in both}
.tqm-root.tqm-mode-popup .tqm-overlay:not(.tqm-closing) .tqm-panel{animation:tqm-popup-enter 220ms ease-out both}
.tqm-root.tqm-mode-popup .tqm-overlay.tqm-closing .tqm-panel{animation:tqm-popup-exit 180ms ease-in both}
.tqm-root .tqm-overlay.tqm-closing .tqm-backdrop{animation:tqm-dim-exit 180ms ease-in both}
.tqm-root.tqm-mode-slide-left .tqm-list,.tqm-root.tqm-mode-slide-right .tqm-list{flex:1;min-height:0}
@keyframes tqm-slide-enter-left{from{transform:translateX(-102%)}to{transform:translateX(0)}}
@keyframes tqm-slide-enter-right{from{transform:translateX(102%)}to{transform:translateX(0)}}
@keyframes tqm-slide-exit-left{from{transform:translateX(0)}to{transform:translateX(-102%)}}
@keyframes tqm-slide-exit-right{from{transform:translateX(0)}to{transform:translateX(102%)}}
@keyframes tqm-popup-enter{from{opacity:0;transform:scale(.96) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes tqm-popup-exit{to{opacity:0;transform:scale(.97) translateY(8px)}}
@keyframes tqm-dim-exit{to{opacity:0}}
@media(max-width:767px){
  .tqm-root.tqm-mode-slide-left .tqm-panel,
  .tqm-root.tqm-mode-slide-right .tqm-panel{max-height:100dvh;width:min(var(--tqm-panel-width),calc(100vw - 26px));border-radius:0 14px 14px 0}
  .tqm-root.tqm-mode-slide-right .tqm-panel{border-radius:14px 0 0 14px}
}
@media(prefers-reduced-motion:reduce){
  .tqm-root .tqm-overlay .tqm-panel,.tqm-root .tqm-overlay .tqm-backdrop{animation:none!important}
}
