/* t885: NetGain recruitment pop-up ads — regular mode only
   Blue title bars only. APPLY → careers.html. No candy. */
.ng-popup-root {
  position: fixed;
  inset: 0;
  z-index: 12000;
  pointer-events: none;
}
.ng-popup-root .ng-ad {
  pointer-events: auto;
  position: absolute;
  right: 28px;
  bottom: 56px;
  width: 360px;
  max-width: calc(100vw - 24px);
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf, 4px 4px 0 rgba(0,0,0,0.55);
  padding: 3px;
  color: #000;
  font-family: "MS Sans Serif", Tahoma, Arial, Helvetica, sans-serif;
  image-rendering: pixelated;
}
@media (max-width: 520px) {
  .ng-popup-root .ng-ad {
    right: 50%;
    bottom: 72px;
    margin-right: -170px;
    width: 340px;
  }
  .ng-popup-root .ng-ad { margin-right: 0; right: 12px; left: 12px; width: auto; }
  .ng-popup-root .ng-ad-head { font-size: 14px; }
  .ng-popup-root .ng-ad-sub { font-size: 11px; }
  .ng-popup-root .ng-ad-notice { font-size: 9px; letter-spacing: 0.5px; padding: 5px 40px; }
  .ng-popup-root .ng-ad-head.block { font-size: 12px; }
}
.ng-popup-root .ng-ad-tb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: #000080;
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.5px;
  line-height: 1;
  padding: 4px 4px 4px 6px;
  user-select: none;
  cursor: default;
}
.ng-popup-root .ng-ad-tb .ttl {
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ng-popup-root .ng-ad-tb .ttl img {
  width: 14px; height: 14px; border: 1px solid #000; background: #000;
  image-rendering: pixelated; flex: 0 0 auto;
}
.ng-popup-root .ng-ad-x {
  width: 18px; height: 16px; 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: 11px; font-weight: 900;
  line-height: 10px; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.ng-popup-root .ng-ad-x:active {
  border-color: #000 #fff #fff #000;
  box-shadow: inset 1px 1px 0 #808080;
}
.ng-popup-root .ng-ad-body {
  position: relative;
  padding: 12px 12px 10px;
  background: linear-gradient(180deg, #f7f3ea 0%, #e8e4d8 100%);
  overflow: hidden;
}
.ng-popup-root .ng-ad-body.alt {
  background: linear-gradient(180deg, #eaf2fa 0%, #dde7f2 100%);
}
.ng-popup-root .ng-ad-notice {
  margin: 0 0 10px; padding: 5px 44px;
  background: #ffffcc; border: 2px outset #c9c98a; color: #000080;
  font-family: "Courier New", Courier, monospace; font-weight: 700;
  font-size: 10px; letter-spacing: 1px; text-align: center;
  box-shadow: inset 1px 1px 0 #fff;
  overflow-wrap: anywhere;
}
.ng-popup-root .ng-ad-row { display: flex; gap: 10px; align-items: flex-start; position: relative; z-index: 1; }
.ng-popup-root .ng-ad-ico {
  flex: 0 0 auto; width: 44px; height: 44px; background: #0a0a0e;
  border: 2px solid; border-color: #808080 #fff #fff #808080;
  display: flex; align-items: center; justify-content: center; padding: 2px;
}
.ng-popup-root .ng-ad-ico img { width: 34px; height: 34px; image-rendering: pixelated; }
.ng-popup-root .ng-ad-copy { flex: 1 1 auto; min-width: 0; }
.ng-popup-root .ng-ad-head {
  margin: 0 0 6px; font-family: Arial, Helvetica, sans-serif;
  font-size: 15px; font-weight: 900; line-height: 1.25; color: #000; letter-spacing: 0.3px;
}
.ng-popup-root .ng-ad-head.navy { color: #000080; text-decoration: underline; }
.ng-popup-root .ng-ad-head.block {
  display: inline-block; background: #000; color: #ffff00;
  padding: 3px 7px; border: 2px outset #666; font-size: 13px; letter-spacing: 1px; margin: 0 0 4px;
}
.ng-popup-root .ng-ad-sub {
  margin: 0 0 4px; font-family: Arial, Helvetica, sans-serif;
  font-size: 12px; font-weight: bold; color: #222; line-height: 1.35;
}
.ng-popup-root .ng-ad-fine {
  margin: 6px 0 0; font-family: "Courier New", Courier, monospace;
  font-size: 9px; color: #555; line-height: 1.3;
}
.ng-popup-root .ng-ad-actions {
  display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; position: relative; z-index: 1;
}
.ng-popup-root .ng-ad-apply {
  display: inline-block; background: #000; color: #ffff00; text-decoration: none;
  font-family: Arial, Helvetica, sans-serif; font-weight: 900; font-size: 14px; letter-spacing: 1.5px;
  padding: 10px 18px; border: 4px outset #666; text-align: center; cursor: pointer;
  box-shadow: 0 0 0 1px #ffff00 inset;
}
.ng-popup-root .ng-ad-apply .dot { color: #ffff00; margin-right: 4px; }
.ng-popup-root .ng-ad-apply:active { border-style: inset; }
.ng-popup-root .ng-ad-btn {
  min-width: 88px; height: 26px; padding: 2px 12px;
  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: "MS Sans Serif", Tahoma, Arial, sans-serif;
  font-size: 12px; font-weight: bold; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.ng-popup-root .ng-ad-btn:active {
  border-color: #000 #fff #fff #000;
  box-shadow: inset 1px 1px 0 #808080;
}
.ng-popup-root .ng-ad-btn.focus { outline: 1px dotted #000; outline-offset: -5px; }
.ng-popup-root .ng-ad-foot {
  margin-top: 10px; padding-top: 6px; border-top: 1px solid #808080;
  font-family: "Courier New", Courier, monospace; font-size: 9px; color: #444; text-align: center;
}
.ng-popup-root .clip {
  position: absolute; width: 40px; height: 40px;
  object-fit: contain; image-rendering: auto;
  pointer-events: none; z-index: 2;
  /* native GIF frames only — do not CSS-spin these */
  transform: none !important;
  animation: none !important;
}
.ng-popup-root .clip.tl { top: 6px; left: 6px; }
.ng-popup-root .clip.tr { top: 6px; right: 6px; }
/* appear */
.ng-popup-root .ng-ad {
  animation: ngPopupIn 0.18s steps(3, end);
}
@keyframes ngPopupIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ng-popup-root .ng-ad { animation: none; }
}
