.bidtree-next-step-strobe {
  position: relative;
  z-index: 80;
  animation: bidtreeBlueStrobe 1.65s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(80, 156, 232, 0.18), 0 0 24px rgba(37, 111, 184, 0.38) !important;
  outline: 2px solid rgba(72, 145, 216, 0.72) !important;
  outline-offset: 3px;
}

.bidtree-next-step-strobe.bidtree-auction-houses-strobe {
  animation: bidtreeAuctionHousesPulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(195, 66, 66, 0.16), 0 0 18px rgba(173, 47, 47, 0.34) !important;
  outline-color: rgba(194, 56, 56, 0.78) !important;
  transform-origin: center;
}

.bidtree-guided-step-panel {
  position: fixed;
  right: 22px;
  top: 92px;
  z-index: 90;
  width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(71, 145, 218, 0.24);
  border-radius: 10px;
  background: rgba(246, 251, 255, 0.97);
  box-shadow: 0 18px 40px rgba(21, 61, 103, 0.16);
  color: #102033;
}

.bidtree-guided-step-panel[data-step="account"] {
  left: 50%;
  right: auto;
  top: 86px;
  z-index: 150;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  width: min(660px, calc(100vw - 40px));
  padding: 16px 20px;
  border: 2px solid rgba(164, 52, 67, 0.42);
  background: #fff7f8;
  box-shadow: 0 0 0 5px rgba(171, 59, 72, 0.08), 0 18px 46px rgba(61, 78, 101, 0.2);
  transform: translateX(-50%);
}

.bidtree-guided-step-panel[data-step="account"]::before {
  content: "1";
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #a93443;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(137, 34, 48, 0.24);
}

.bidtree-guided-step-panel[data-step="account"] strong {
  margin: 0 0 3px;
  color: #922b39;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: none;
}

.bidtree-guided-step-panel[data-step="account"] p {
  color: #263d55;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.42;
}

.bidtree-guided-step-panel strong {
  display: block;
  margin-bottom: 4px;
  color: #164f87;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bidtree-guided-step-panel p {
  margin: 0;
  color: #31465d;
  font-size: 0.88rem;
  line-height: 1.42;
}

@keyframes bidtreeBlueStrobe {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(80, 156, 232, 0.14), 0 0 16px rgba(37, 111, 184, 0.2);
    outline-color: rgba(72, 145, 216, 0.48);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(80, 156, 232, 0.08), 0 0 34px rgba(37, 111, 184, 0.5);
    outline-color: rgba(72, 145, 216, 0.9);
  }
}

@keyframes bidtreeAuctionHousesPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(195, 66, 66, 0.14), 0 0 14px rgba(173, 47, 47, 0.22);
    outline-color: rgba(194, 56, 56, 0.58);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(195, 66, 66, 0.08), 0 0 26px rgba(173, 47, 47, 0.42);
    outline-color: rgba(194, 56, 56, 0.92);
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bidtree-next-step-strobe,
  .bidtree-next-step-strobe.bidtree-auction-houses-strobe,
  .bidtree-puzzle-primer {
    animation: none;
  }
}
@media (max-width: 760px) {
  .bidtree-guided-step-panel {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 16px;
    width: auto;
  }
}

.bidtree-puzzle-primer {
  position: fixed;
  right: 22px;
  top: 154px;
  z-index: 120;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(560px, calc(100vw - 32px));
  padding: 16px;
  border: 2px solid rgba(46, 129, 215, 0.58);
  border-radius: 14px;
  background: rgba(239, 248, 255, 0.98);
  box-shadow: 0 0 0 6px rgba(67, 150, 235, 0.12), 0 22px 60px rgba(20, 71, 126, 0.24);
  color: #102033;
  animation: bidtreePrimerPulse 1.35s ease-in-out infinite;
}

.bidtree-puzzle-primer-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(70, 82, 94, 0.22);
  border-radius: 12px;
  background: #f7f8fa;
  box-shadow: 0 8px 22px rgba(40, 58, 77, 0.14);
}

.bidtree-puzzle-primer-icon img {
  width: 34px;
  height: 34px;
  opacity: 0.76;
}

.bidtree-inline-puzzle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  border: 1px solid rgba(54, 79, 103, 0.18);
  border-radius: 5px;
  background: #fff;
  white-space: nowrap;
}

.bidtree-inline-puzzle img,
.bidtree-step-puzzle {
  width: 16px;
  height: 16px;
  opacity: 0.76;
  vertical-align: -3px;
}

.bidtree-step-puzzle {
  margin-right: 3px;
}

.bidtree-puzzle-primer strong {
  display: block;
  color: #0d4f90;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.bidtree-puzzle-primer p {
  margin: 4px 0 0;
  color: #263f58;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.38;
}

.bidtree-puzzle-primer small {
  display: block;
  margin-top: 5px;
  color: #65798d;
  font-size: 0.78rem;
  font-weight: 800;
}

.bidtree-puzzle-primer ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.bidtree-puzzle-primer li {
  position: relative;
  min-height: 30px;
  padding: 7px 8px 7px 28px;
  border: 1px solid rgba(71, 145, 218, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  color: #183852;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
}

.bidtree-puzzle-primer li::before {
  content: counter(list-item);
  position: absolute;
  left: 8px;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #1f76ca;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 15px;
  text-align: center;
}


.bidtree-puzzle-primer button {
  align-self: start;
  border: 1px solid rgba(43, 122, 204, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #125c9d;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 10px;
}

@keyframes bidtreePrimerPulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(67, 150, 235, 0.1), 0 22px 60px rgba(20, 71, 126, 0.2);
  }
  50% {
    box-shadow: 0 0 0 13px rgba(67, 150, 235, 0.08), 0 24px 70px rgba(20, 71, 126, 0.34);
  }
}

@media (max-width: 760px) {
  .bidtree-puzzle-primer {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 82px;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .bidtree-puzzle-primer ol {
    grid-template-columns: 1fr;
  }

  .bidtree-puzzle-primer button {
    grid-column: 1 / -1;
    width: 100%;
  }
}
@media (max-width: 760px) {
  .bidtree-guided-step-panel[data-step="account"] {
    left: 14px;
    right: 14px;
    top: 78px;
    bottom: auto;
    width: auto;
    padding: 13px 14px;
    transform: none;
  }
}
