/* Dreamnauts Stories | Black Armor promotional dialog.
   Namespaced to avoid altering the site's original visual system. */
.ba-popup:not([open]){display:none!important}
.ba-popup{
  box-sizing:border-box;
  width:min(850px,calc(100vw - 32px));
  max-width:none;
  max-height:calc(100dvh - 32px);
  margin:auto;
  padding:0;
  color:#1e2b41;
  background:#fffaf0;
  border:0;
  border-radius:24px;
  overflow:auto;
  box-shadow:0 30px 90px rgba(0,21,53,.45);
  overscroll-behavior:contain;
}
.ba-popup *{box-sizing:border-box}
.ba-popup::backdrop{background:rgba(10,29,55,.73);backdrop-filter:blur(4px)}
.ba-popup[open]{animation:ba-popup-enter .32s cubic-bezier(.2,.85,.3,1) both}
.ba-popup-grid{display:grid;grid-template-columns:44% minmax(0,1fr);min-height:400px}
.ba-popup-art{
  position:relative;
  min-width:0;
  background:linear-gradient(155deg,#168acb 0%,#2465a7 69%,#173f78 100%);
  color:#fff;
  padding:44px 18px 35px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:21px;
  overflow:hidden;
}
.ba-popup-art:before,.ba-popup-art:after{
  content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.13);pointer-events:none
}
.ba-popup-art:before{width:210px;height:210px;left:-115px;top:-95px}
.ba-popup-art:after{width:170px;height:170px;right:-80px;bottom:-95px}
.ba-popup-spark{position:absolute;font-size:2.3rem;color:#ffdb62;line-height:1;pointer-events:none}
.ba-popup-spark-one{left:23px;top:36px}.ba-popup-spark-two{right:17px;bottom:36px}
.ba-popup-art-label{position:relative;z-index:1;font-size:.84rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#ffe49a}
.ba-popup-art img{
  position:relative;z-index:1;width:100%;max-width:330px;height:auto;
  border:5px solid #fff;border-radius:14px;
  box-shadow:0 14px 32px rgba(0,28,70,.26);
  transform:rotate(-2deg)
}
.ba-popup-art-caption{position:relative;z-index:1;font-size:.84rem;font-weight:650;line-height:1.35;color:#e7f6ff}
.ba-popup-body{
  position:relative;min-width:0;
  padding:43px clamp(25px,5vw,56px) 45px;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  background:radial-gradient(circle at 100% 100%,#fff0c1 0,transparent 33%),#fffaf0
}
.ba-popup-close{
  position:absolute;z-index:5;right:16px;top:16px;
  width:43px;height:43px;display:grid;place-items:center;
  border:1px solid #e1ddce;border-radius:50%;
  color:#1e2b41;background:#fff;
  cursor:pointer;transition:background .2s ease,transform .2s ease
}
.ba-popup-close:hover{background:#ffe7a1;transform:rotate(90deg)}
.ba-popup-close:focus-visible,.ba-popup-cta:focus-visible{outline:3px solid #e38a1c;outline-offset:4px}
.ba-popup-logo{display:block;width:117px;height:auto;margin:0 0 12px}
.ba-popup-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:.73rem;font-weight:850;letter-spacing:.10em;text-transform:uppercase;color:#1b65a0;line-height:1.4}
.ba-popup-eyebrow span{color:#d49a16;font-size:1.2rem}
.ba-popup h2{
  font-family:'Arial Rounded MT Bold','Trebuchet MS',system-ui,sans-serif;
  font-size:clamp(2rem,3.2vw,2.85rem);
  font-weight:900;letter-spacing:-.045em;line-height:1.11;
  margin:15px 0 15px;max-width:400px;color:#1f365a
}
.ba-popup p{font-size:1.08rem;line-height:1.55;margin:0 0 27px;max-width:385px;color:#455269}
.ba-popup p strong{color:#183f77;font-weight:900}
.ba-popup-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:20px;
  min-height:55px;padding:13px 24px;
  border:2px solid #bc8312;border-radius:10px;
  background:#f7c84c;color:#172942;font-weight:900;font-size:1.02rem;line-height:1.3;
  text-decoration:none;
  box-shadow:0 5px 0 rgba(148,99,14,.23);
  transition:background .2s ease,transform .2s ease,box-shadow .2s ease
}
.ba-popup-cta:hover{background:#ffda6c;transform:translateY(-2px);box-shadow:0 8px 0 rgba(148,99,14,.13)}
@keyframes ba-popup-enter{from{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:680px){
  .ba-popup{width:calc(100vw - 26px);max-height:calc(100dvh - 26px);border-radius:18px}
  .ba-popup-grid{grid-template-columns:1fr;min-height:0}
  .ba-popup-art{min-height:0;padding:16px 32px 18px;gap:10px}
  .ba-popup-art-label{font-size:.69rem}
  .ba-popup-art img{width:min(100%,260px);border-width:3px;border-radius:9px}
  .ba-popup-art-caption{display:none}
  .ba-popup-spark-one{top:17px;left:14px}.ba-popup-spark-two{bottom:16px;right:15px}
  .ba-popup-body{padding:21px 27px 29px}
  .ba-popup-logo{width:90px;margin:0 0 7px}
  .ba-popup-eyebrow{font-size:.65rem}
  .ba-popup h2{font-size:clamp(1.9rem,7vw,2.5rem);margin:11px 0 10px}
  .ba-popup p{font-size:1rem;margin-bottom:19px}
  .ba-popup-cta{min-height:50px;padding:11px 22px}
  .ba-popup-close{right:12px;top:12px;width:38px;height:38px;box-shadow:0 2px 8px rgba(0,0,0,.08)}
}
@media(max-width:380px){
  .ba-popup-art{padding:12px 36px}
  .ba-popup-art img{width:min(100%,215px)}
  .ba-popup-body{padding:17px 23px 24px}
  .ba-popup-logo{width:79px}
  .ba-popup h2{font-size:1.85rem}
  .ba-popup-cta{width:100%}
}
@media(max-height:640px) and (max-width:680px){
  .ba-popup-art{padding:9px 35px;gap:5px}
  .ba-popup-art img{width:min(100%,190px)}
  .ba-popup-body{padding-top:13px;padding-bottom:20px}
  .ba-popup h2{font-size:1.7rem;margin:6px 0}
  .ba-popup p{margin-bottom:13px}
}
@media(prefers-reduced-motion:reduce){
  .ba-popup[open]{animation:none}
  .ba-popup-close,.ba-popup-cta{transition:none}
}
