
/* BLACKSAW2081 LAB v2.8.47
   Korekta A–E: ramka komunikatów bez wystającego tła.
*/

.phase-toast{
  position:fixed !important;
  width:min(560px,88vw) !important;
  min-height:168px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
  isolation:isolate !important;
}

/* B, C1, C2 — tekstura istnieje wyłącznie wewnątrz obrysu ramy. */
.phase-toast > .blacksaw-frame-content{
  position:absolute !important;
  z-index:2 !important;
  left:18px !important;
  right:18px !important;
  top:18px !important;
  bottom:18px !important;
  width:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:24px 126px 31px !important;
  box-sizing:border-box !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;

  overflow:hidden !important;
  border:0 !important;
  border-radius:0 !important;
  background:
    linear-gradient(180deg,rgba(5,6,8,.10),rgba(3,4,6,.28)),
    url('../images/ui/frame_background.png') center/cover no-repeat !important;
  box-shadow:inset 0 0 30px rgba(0,0,0,.34) !important;
  text-align:center !important;
}

/* A — dolna belka jest podniesiona i ustawiona symetrycznie do górnej. */
.phase-toast > .bs-nine-edge-top{
  top:6px !important;
  left:124px !important;
  right:124px !important;
  height:14px !important;
}
.phase-toast > .bs-nine-edge-bottom{
  bottom:11px !important;
  left:124px !important;
  right:124px !important;
  height:14px !important;
}

/* Boczne belki kończą się pod narożnikami i nie odsłaniają tekstury. */
.phase-toast > .bs-nine-edge-left{
  left:6px !important;
  top:107px !important;
  bottom:107px !important;
  width:14px !important;
}
.phase-toast > .bs-nine-edge-right{
  right:6px !important;
  top:107px !important;
  bottom:107px !important;
  width:14px !important;
}

/* Narożniki bez zmiany rozmiaru — tylko precyzyjne dosunięcie. */
.phase-toast > .frame-top-left{
  left:-2px !important;
  top:-2px !important;
}
.phase-toast > .frame-top-right{
  right:-2px !important;
  top:-2px !important;
}
.phase-toast > .frame-bottom-left{
  left:-2px !important;
  bottom:3px !important;
}
.phase-toast > .frame-bottom-right{
  right:-2px !important;
  bottom:3px !important;
}

/* D — pasek czasu niżej, ale nadal nad dolną belką. */
.phase-toast > .message-progress{
  position:absolute !important;
  z-index:12 !important;
  left:145px !important;
  right:145px !important;
  top:auto !important;
  bottom:18px !important;
  margin:0 !important;
}

/* E — cały blok tekstu dokładnie pośrodku dostępnego wnętrza. */
.phase-toast > .blacksaw-frame-content > strong,
.phase-toast > .blacksaw-frame-content > span,
.phase-toast > .blacksaw-frame-content > small{
  display:block !important;
  flex:0 0 auto !important;
  width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}

.phase-toast > .blacksaw-frame-content > strong{
  margin-top:0 !important;
  margin-bottom:3px !important;
}
.phase-toast > .blacksaw-frame-content > span{
  margin-top:0 !important;
  margin-bottom:6px !important;
}
.phase-toast > .blacksaw-frame-content > small{
  margin:0 !important;
  line-height:1.35 !important;
}

@media(max-width:720px){
  .phase-toast{
    min-height:150px !important;
  }
  .phase-toast > .blacksaw-frame-content{
    left:15px !important;
    right:15px !important;
    top:15px !important;
    bottom:15px !important;
    padding:21px 98px 28px !important;
  }
  .phase-toast > .bs-nine-edge-bottom{
    bottom:9px !important;
  }
  .phase-toast > .message-progress{
    left:112px !important;
    right:112px !important;
    bottom:16px !important;
  }
  .phase-toast > .frame-bottom-left,
  .phase-toast > .frame-bottom-right{
    bottom:2px !important;
  }
}
