.dj-home-purchase-notice {
  box-sizing: border-box;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  background: #fff1f2;
  color: #b91c1c;
  font-size: 0.9375rem;
  line-height: 1.7;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.dj-home-purchase-notice__title,
.dj-home-purchase-notice__rule,
.dj-home-purchase-notice__eligibility,
.dj-home-purchase-notice__risk {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}
.dj-home-purchase-notice__rule,
.dj-home-purchase-notice__eligibility { font-weight: 700; }
.dj-home-purchase-notice__risk { margin-top: 0.25rem; }
.dj-home-purchase-notice p { margin: 0.25rem 0; }
.dj-home-purchase-notice__pro20x {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  border: 2px solid #f59e0b;
  border-left: 6px solid #d97706;
  border-radius: 0.5rem;
  background: #fffbeb;
  color: #92400e;
}
.dj-home-purchase-notice__pro20x[hidden] { display: none; }
.dj-home-purchase-notice__pro20x span {
  flex: 0 0 auto;
  padding: 0.125rem 0.625rem;
  border-radius: 0.25rem;
  background: #92400e;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
}
.dj-home-purchase-notice__pro20x strong {
  flex: 1 1 18rem;
  min-width: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 800;
}
.dj-home-purchase-notice__pro5x {
  margin-top: 0.875rem;
  padding: 0.75rem 1rem;
  border: 1px solid #99e2d2;
  border-left: 4px solid #0f766e;
  border-radius: 0.5rem;
  background: #ecfdf5;
  color: #115e59;
}
.dj-home-purchase-notice__pro5x strong { display: block; font-size: 1rem; font-weight: 800; }
.dj-home-purchase-notice__pro5x p { margin: 0.125rem 0 0; font-weight: 600; }
.dj-home-purchase-notice__lookup { display: none; }

/* Decorate the existing link without moving Vue-owned DOM or changing navigation. */
[data-dj-guest-order-guide] { position: relative; }
@media (min-width: 1024px) {
  [data-dj-guest-order-guide]::before {
    content: "↑";
    position: absolute;
    top: calc(100% - 3px);
    left: 50%;
    transform: translateX(-50%);
    color: #dc2626;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
  }
  [data-dj-guest-order-guide]::after {
    content: attr(data-dj-guest-order-guide);
    position: absolute;
    top: calc(100% + 25px);
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.625rem;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    background: #fff1f2;
    color: #b91c1c;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.5;
    white-space: nowrap;
    pointer-events: none;
  }
}
@media (max-width: 1023px) {
  .dj-home-purchase-notice { padding: 0.875rem 1rem; }
  .dj-home-purchase-notice__lookup {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    min-height: 44px;
    margin-top: 0.5rem;
    color: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .dj-home-purchase-notice__lookup:hover { color: #7f1d1d; }
  .dj-home-purchase-notice__lookup:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
}
.dark .dj-home-purchase-notice,
.dark [data-dj-guest-order-guide]::after {
  background: #3b1219;
  border-color: #9f3542;
  color: #fecaca;
}
.dark [data-dj-guest-order-guide]::before { color: #fca5a5; }
.dark .dj-home-purchase-notice__pro20x {
  background: #38250b;
  border-color: #d97706;
  color: #fde68a;
}
.dark .dj-home-purchase-notice__pro5x {
  background: #102f2c;
  border-color: #2c8176;
  color: #99f6e4;
}
