/* t915: NetGain Company Store side toast — compact Win95 chrome, top-right.
   Solid navy title, cream body, no gradients. STORE pull tab is visible in
   regular mode once eligibility is confirmed (never on enter/boot, careers,
   or company-store). Fixed top is set once per load/resize, never on scroll.
   Sits above the hiring pop-up (z-index); hiring stays lower on the page. */
.ngst-root {
  position: fixed;
  right: 22px;
  top: 8px;
  width: 200px;
  max-width: calc(100vw - 24px);
  z-index: 13000;
  transform: translateX(calc(100% + 28px));
  transition: transform 0.28s ease-out;
  pointer-events: none;
  box-sizing: border-box;
}
.ngst-root.on {
  transform: translateX(0);
  pointer-events: auto;
}
.ngst-root.ngst-instant,
.ngst-tab.ngst-instant {
  transition: none !important;
}
.ngst {
  width: 100%;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf, 3px 3px 0 rgba(0,0,0,.5);
  padding: 3px;
  color: #000;
  font-family: "MS Sans Serif", Tahoma, Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
.ngst-tb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  background: #000080;
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.4px;
  line-height: 1;
  padding: 3px 3px 3px 5px;
  user-select: none;
}
.ngst-tb .ttl {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ngst-tb .ttl img {
  width: 12px;
  height: 12px;
  border: 1px solid #000;
  background: #000;
  image-rendering: pixelated;
  flex: 0 0 auto;
}
.ngst-tb .ttl-full { display: none; }
.ngst-tb .ttl-short { display: inline; }
.ngst-x {
  width: 16px;
  height: 14px;
  flex: 0 0 auto;
  background: #c0c0c0;
  color: #000;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 8px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ngst-x:active {
  border-color: #000 #fff #fff #000;
  box-shadow: inset 1px 1px 0 #808080;
}
.ngst-bd {
  background: #fffff0;
  padding: 6px 6px 5px;
}
.ngst-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  height: 22px;
  margin: 0 0 5px;
  color: #000;
  overflow: hidden;
}
.ngst-tag img {
  width: 24px;
  height: 16px;
  object-fit: contain;
  image-rendering: pixelated;
  flex: 0 0 auto;
}
.ngst-line {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}
.ngst-stage {
  position: relative;
  height: 86px;
  background: #d8d4c8;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  overflow: hidden;
}
.ngst-track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
}
.ngst-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ngst-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.ngst-3dtag {
  position: absolute;
  right: 3px;
  top: 3px;
  font: bold 8px "Courier New", monospace;
  background: #000;
  color: #fff;
  padding: 1px 3px;
  letter-spacing: 0.3px;
  z-index: 1;
}
.ngst-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin: 4px 0 5px;
}
.ngst-arr {
  width: 18px;
  height: 16px;
  flex: 0 0 auto;
  background: #c0c0c0;
  color: #000;
  font: bold 11px Tahoma, sans-serif;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
  padding: 0;
  line-height: 10px;
  cursor: pointer;
}
.ngst-arr:active {
  border-color: #000 #fff #fff #000;
}
.ngst-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.ngst-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c0c0c0;
  border: 1px solid #404040;
  display: block;
}
.ngst-dots i.on {
  background: #000080;
  border-color: #000;
}
.ngst-name {
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  margin: 0;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 13px;
  max-height: 27px;
}
.ngst-price {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  margin: 1px 0 0;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ngst-price .save {
  color: #b3121f;
  font-weight: 700;
  font-size: 9px;
  margin-left: 3px;
}
.ngst-shop {
  display: block;
  margin-top: 5px;
  background: #c0c0c0;
  color: #000;
  text-decoration: none;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
  padding: 3px 8px;
  font: bold 11px Tahoma, "MS Sans Serif", sans-serif;
  text-align: center;
  cursor: pointer;
}
.ngst-shop:active { border-color: #000 #fff #fff #000; }
.ngst-shop .dot { color: #000080; margin-right: 3px; }

/* Collapsed right-edge tab */
.ngst-tab {
  position: fixed;
  right: 0;
  top: 8px;
  z-index: 12990;
  margin: 0;
  padding: 10px 4px 12px;
  background: #000080;
  color: #fff;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  border-right: 0;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf, -2px 2px 0 rgba(0,0,0,.35);
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: translateX(100%);
  transition: transform 0.22s ease-out;
  cursor: pointer;
  user-select: none;
  pointer-events: none;
  display: none;
}
.ngst-tab.on {
  display: block;
  transform: translateX(0);
  pointer-events: auto;
}
.ngst-tab:active {
  border-color: #000 #000 #fff #fff;
}

@media (max-width: 640px) {
  .ngst-root {
    right: 20px;
    width: 176px;
  }
  .ngst-stage { height: 72px; }
  .ngst-tb { font-size: 9px; }
  .ngst-line { font-size: 9px; }
  .ngst-name { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ngst-root, .ngst-tab, .ngst-track { transition: none !important; }
}
