.sto-gt-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999990;
  pointer-events: none;
}

.sto-gt-highlight {
  position: relative !important;
  z-index: 999992 !important;
  outline: 4px solid #f6c343 !important;
  outline-offset: 4px !important;
  border-radius: 8px !important;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45) !important;
}

.sto-gt-box {
  position: absolute;
  z-index: 999999;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  color: #1f2933;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  padding: 18px;
  font-size: 15px;
  line-height: 1.45;
  box-sizing: border-box;
}

.sto-gt-box:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
}

.sto-gt-pos-bottom:before { top: -7px; left: 24px; }
.sto-gt-pos-top:before { bottom: -7px; left: 24px; }
.sto-gt-pos-right:before { left: -7px; top: 24px; }
.sto-gt-pos-left:before { right: -7px; top: 24px; }

.sto-gt-meta {
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.sto-gt-text {
  margin-bottom: 14px;
}

.sto-gt-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.sto-gt-actions button {
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  background: #eef2f7;
  color: #1f2933;
  font-weight: 600;
}

.sto-gt-actions button.sto-gt-primary {
  background: #1f5da8;
  color: #fff;
}

.sto-gt-actions button:hover { filter: brightness(0.96); }
.sto-gt-hidden { display: none !important; }
