.gb-toast-region,.gb-server-toast {
  position:fixed;
  z-index:110000;
  right:max(16px,env(safe-area-inset-right,0px));
  bottom:calc(16px + env(safe-area-inset-bottom,0px));
  width:min(420px,calc(100% - max(16px,env(safe-area-inset-left,0px)) - max(16px,env(safe-area-inset-right,0px))));
}
body:has(#top_btn) .gb-toast-region {bottom:calc(78px + env(safe-area-inset-bottom,0px))}
.gb-toast-region {display:grid;gap:8px;pointer-events:none}
.gb-toast {
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 16px;
  border:1px solid #31547e;
  border-radius:12px;
  background:#071c38;
  color:#fff;
  box-shadow:0 8px 28px rgba(7,28,56,.22);
  font-family:inherit;
  font-size:.9375rem;
  line-height:1.55;
  pointer-events:auto;
}
.gb-toast-message {flex:1;min-width:0;white-space:pre-line;word-break:keep-all;overflow-wrap:anywhere}
.gb-toast-action {
  flex:none;
  padding:3px 7px;
  border:1px solid #56769c;
  border-radius:5px;
  background:transparent;
  color:#fff;
  font:inherit;
  font-size:.8125rem;
  cursor:pointer;
}
