:root{
  --kstt-bg:#1E1E1E;
  --kstt-border:rgba(118,185,0,.35);
  --kstt-text:#FFFFFF;
  --kstt-muted:#F2F2F2;
  --kstt-accent:#76B900;
  --kstt-shadow:0 24px 70px rgba(2,6,23,.32),0 6px 22px rgba(2,6,23,.18);
}
.kstt-help-button{
  position:fixed;right:20px;bottom:20px;z-index:99980;
  display:inline-flex;align-items:center;gap:9px;
  min-height:44px;padding:0 14px;border:1px solid rgba(14,165,233,.28);
  border-radius:999px;background:rgba(255,255,255,.96);color:#0f172a;
  font:700 13px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  box-shadow:0 10px 34px rgba(15,23,42,.18);cursor:pointer;
  backdrop-filter:blur(12px);transition:.18s ease;
}
.kstt-help-button:hover{transform:translateY(-1px);box-shadow:0 14px 38px rgba(15,23,42,.22)}
.kstt-help-button:focus-visible{outline:3px solid rgba(14,165,233,.35);outline-offset:3px}
.kstt-help-dot{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#76B900;color:#1E1E1E;font-size:13px}
.kstt-help-button[aria-pressed="false"] .kstt-help-dot{background:#64748b}
.kstt-info{
  display:inline-grid;place-items:center;width:18px;height:18px;margin-left:6px;
  border:0;border-radius:50%;background:#FFFFFF;
  color:#4F7900;font:800 11px/1 system-ui;vertical-align:middle;cursor:help;
  box-shadow:inset 0 0 0 1px rgba(118,185,0,.35);transition:.16s ease;
}.kstt-info:hover,.kstt-info:focus-visible{transform:scale(1.08);background:#76B900;color:#1E1E1E;outline:none}
.kstt-info:focus-visible{box-shadow:0 0 0 3px rgba(118,185,0,.25)}
html.kstt-off .kstt-info{display:none!important}
.kstt-card{
  position:fixed;top:84px;right:18px;left:auto;z-index:99999;width:min(340px,calc(100vw - 24px));
  padding:14px 15px 13px;border:1px solid var(--kstt-border);border-radius:16px;
  background:var(--kstt-bg);color:var(--kstt-text);box-shadow:var(--kstt-shadow);
  backdrop-filter:blur(18px);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  opacity:0;transform:translateY(4px) scale(.985);pointer-events:none;transition:.14s ease;
}
.kstt-card.is-open{opacity:1;transform:none;pointer-events:auto}
.kstt-card::after{
  content:"";position:absolute;width:11px;height:11px;background:var(--kstt-bg);
  border-left:1px solid var(--kstt-border);border-top:1px solid var(--kstt-border);
  transform:rotate(45deg);top:-6px;left:auto;right:26px;
}
.kstt-card.is-above::after{top:auto;bottom:-6px;transform:rotate(225deg)}
.kstt-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:7px}
.kstt-mark{flex:0 0 26px;width:26px;height:26px;display:grid;place-items:center;border-radius:9px;background:rgba(14,165,233,.16);color:var(--kstt-accent);font-weight:900}
.kstt-title{margin:0;padding-top:2px;font-size:14px;line-height:1.25;font-weight:800;letter-spacing:.01em}
.kstt-close{margin-left:auto;width:28px;height:28px;border:0;border-radius:8px;background:rgba(255,255,255,.08);color:#e2e8f0;cursor:pointer}
.kstt-close:hover{background:rgba(255,255,255,.14)}
.kstt-body{margin:0;color:var(--kstt-muted);font-size:13px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-line}
.kstt-body strong{color:#fff;font-weight:800}
.kstt-foot{margin-top:10px;padding-top:9px;border-top:1px solid rgba(148,163,184,.16);color:#94a3b8;font-size:11px;line-height:1.4}
.kstt-newline{display:block;margin-top:5px}
@media (max-width:640px){
  .kstt-help-button{right:12px;bottom:12px;min-height:42px;padding:0 12px}
  .kstt-card{top:72px;left:12px!important;right:12px!important;width:auto!important;max-width:none}
  .kstt-card::after{display:none}
}
.kstt-direct{cursor:help;text-decoration:underline dotted rgba(118,185,0,.45);text-underline-offset:3px}
.kstt-direct:focus-visible{outline:2px solid rgba(118,185,0,.45);outline-offset:2px;border-radius:4px}

/* Ortak müşteri üst barına taşınan yardım düğmesi */
.cp-top .kstt-help-button.kstt-help-button--top{position:static!important;inset:auto!important;z-index:auto!important;width:100%;min-width:0;min-height:40px;justify-content:center;padding:0 12px;box-shadow:none;border-radius:12px;background:#fff}
.cp-top .kstt-help-button.kstt-help-button--top:hover{transform:none;box-shadow:0 4px 14px rgba(15,23,42,.08)}

/* 2026-10-01 — Legacy müşteri topbar yardım slotu */
.kd-topbar .kd-top-tool-slot{width:188px;min-width:0;flex:0 0 188px;margin-left:auto}
.kd-topbar .kd-top-tool-slot+.kd-user{margin-left:0!important}
.kd-topbar .kd-top-tool-slot .kstt-help-button--top{position:static!important;inset:auto!important;width:100%;min-width:0;min-height:40px;justify-content:center;padding:0 12px;border-radius:12px;box-shadow:none}
.kd-topbar .kd-top-tool-slot .kstt-help-button--top:hover{transform:none;box-shadow:0 4px 14px rgba(15,23,42,.08)}
@media(max-width:900px){.kd-topbar .kd-top-tool-slot{width:160px;flex-basis:160px}}
@media(max-width:640px){.kd-topbar .kd-top-tool-slot{width:100%;flex:1 1 100%;order:20}.kd-topbar .kd-top-tool-slot .kstt-help-button--top{width:100%}}
