/* MercadilloGeek 3.9.7 · aviso de publicación duplicada */

.mg-duplicate-screen {
  display: flex;
  min-height: 680px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding-top: 55px;
  padding-bottom: 75px;
  text-align: center;
}

.mg-duplicate-terminal {
  position: relative;
  display: grid;
  width: 112px;
  height: 96px;
  place-items: center;
  border: 4px solid #293452;
  border-radius: 23px;
  background:
    linear-gradient(rgba(111, 252, 160, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 252, 160, .08) 1px, transparent 1px),
    #0c1427;
  background-size: 12px 12px;
  box-shadow: 0 18px 45px rgba(9, 16, 38, .28);
  transform: rotate(-3deg);
}

.mg-duplicate-terminal::after {
  position: absolute;
  right: -10px;
  bottom: -13px;
  width: 40px;
  height: 40px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #f04f5f;
  color: #fff;
  content: "×";
  font-size: 27px;
  font-weight: 950;
  line-height: 31px;
  box-shadow: 0 8px 18px rgba(166, 27, 48, .27);
}

.mg-duplicate-terminal > span {
  color: #84f9ad;
  font: 950 29px/1 monospace;
  text-shadow: 0 0 15px rgba(92, 255, 151, .48);
}

.mg-duplicate-terminal > i {
  position: absolute;
  top: 9px;
  right: 12px;
  color: #ffce54;
  font: 950 13px monospace;
}

.mg-duplicate-terminal > u {
  position: absolute;
  bottom: -13px;
  left: 21px;
  width: 64px;
  height: 8px;
  border-radius: 0 0 6px 6px;
  background: #293452;
}

.mg-duplicate-kicker {
  margin-top: 30px;
  padding: 8px 11px;
  border: 1px solid #fac7cd;
  border-radius: 999px;
  background: #fff2f4;
  color: #b42b42;
  font: 900 10px/1.2 monospace;
  letter-spacing: .1em;
}

.mg-duplicate-screen h1 {
  margin: 13px 0 9px;
  color: #11182d;
  font-size: clamp(40px, 6vw, 65px);
  line-height: 1;
  letter-spacing: -3px;
}

.mg-duplicate-screen > p {
  max-width: 720px;
  margin: 0;
  color: #5e687c;
  font-size: 16px;
  line-height: 1.7;
}

.mg-duplicate-reasons {
  display: grid;
  width: min(720px, 100%);
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 25px 0 14px;
}

.mg-duplicate-reasons > span {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 15px;
  border: 1px solid #dfe5ef;
  border-radius: 14px;
  background: #f8fafc;
  text-align: left;
}

.mg-duplicate-reasons i {
  display: grid;
  width: 38px;
  height: 38px;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 11px;
  background: #def8e8;
  color: #14834c;
  font-size: 18px;
  font-style: normal;
}

.mg-duplicate-reasons b {
  color: #152039;
  font-size: 14px;
}

.mg-duplicate-reasons small {
  color: #748096;
  font-size: 11px;
  line-height: 1.4;
}

.mg-duplicate-existing {
  display: grid;
  width: min(720px, 100%);
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 13px 15px;
  border: 1px solid #b9c8f0;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1f5ff, #f8faff);
  color: #141d35;
  text-align: left;
}

.mg-duplicate-existing > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #5e56db, #288fc9);
  color: #fff;
  font-size: 22px;
}

.mg-duplicate-existing > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.mg-duplicate-existing small {
  color: #6656b3;
  font: 900 9px monospace;
}

.mg-duplicate-existing b {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-duplicate-existing > i {
  color: #4f48b1;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.mg-duplicate-redirect {
  width: min(720px, 100%);
  margin: 8px 0 19px;
  color: #687388;
  font-size: 12px;
}

.mg-duplicate-redirect > i {
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e7ef;
}

.mg-duplicate-redirect > i::after {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f04f5f, #ffbd4b);
  content: "";
  transform-origin: left;
  animation: mg-duplicate-countdown 7s linear forwards;
}

@keyframes mg-duplicate-countdown {
  to { transform: scaleX(0); }
}

@media (max-width: 620px) {
  .mg-duplicate-screen {
    min-height: 620px;
    padding-top: 40px;
    padding-bottom: 55px;
  }

  .mg-duplicate-screen h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }

  .mg-duplicate-screen > p {
    font-size: 14px;
  }

  .mg-duplicate-reasons {
    grid-template-columns: 1fr;
  }

  .mg-duplicate-existing {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .mg-duplicate-existing > span {
    width: 44px;
    height: 44px;
  }

  .mg-duplicate-existing > i {
    grid-column: 2;
  }

  .mg-duplicate-screen > .mg-primary {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg-duplicate-redirect > i::after {
    animation: none;
  }
}
