/* Estate Dreams · Floating Property Quiz Widget
 * Namespace: .ed-pwidget-* (strictly scoped, left-bottom fixed placement, clean without close X)
 */
.ed-pwidget-host {
  --edw-red: #ec2427;
  --edw-red-hover: #d71921;
  --edw-black: #1a1a1a;
  --edw-white: #ffffff;
  --edw-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2147482000;
  font-family: var(--edw-font);
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  overflow: visible;
}

.ed-pwidget-host *,
.ed-pwidget-host *::before,
.ed-pwidget-host *::after {
  box-sizing: border-box;
  font-family: inherit;
}

.ed-pwidget-shell {
  position: relative;
  overflow: visible;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.ed-pwidget-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  text-align: left;
  position: relative;
  overflow: visible;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), filter 0.22s ease;
}

.ed-pwidget-trigger:hover {
  transform: translateY(-3px);
}

.ed-pwidget-trigger:active {
  transform: translateY(0);
}

.ed-pwidget-trigger:focus-visible {
  outline: 2px solid var(--edw-red);
  outline-offset: 4px;
  border-radius: 16px;
}

@media (max-width: 600px) {
  .ed-pwidget-host {
    left: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-pwidget-shell,
  .ed-pwidget-trigger {
    transition: none;
  }
}

.ed-pwidget-v6-sq {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(148deg, #fce2a2 0%, #eab54c 52%, #c98a1c 100%);
  border: 1.5px solid rgba(255, 245, 214, 0.65);
  box-shadow: 0 16px 38px rgba(234, 181, 76, 0.48), 0 6px 16px rgba(173, 114, 16, 0.34);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ed-pwidget-v6-sq-sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0) 56%);
  pointer-events: none;
}
.ed-pwidget-v6-sq-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.ed-pwidget-v6-sq-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #18191e;
  color: #fce2a2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(24, 25, 30, 0.28);
}
.ed-pwidget-v6-sq-tag {
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(24, 25, 30, 0.12);
  color: #18191e;
  font-size: 9.8px;
  font-weight: 600;
}
.ed-pwidget-v6-sq-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ed-pwidget-v6-sq-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #18191e;
}
.ed-pwidget-v6-sq-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff383c 0%, #ec2427 100%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(236, 36, 39, 0.38);
}
@media (max-width: 600px) {
  .ed-pwidget-v6-sq { width: 118px; height: 118px; padding: 9px; border-radius: 15px; }
  .ed-pwidget-v6-sq-ico { width: 26px; height: 26px; border-radius: 8px; }
  .ed-pwidget-v6-sq-tag { font-size: 8.5px; padding: 2px 6px; }
  .ed-pwidget-v6-sq-title { font-size: 9.8px; }
  .ed-pwidget-v6-sq-cta { height: 23px; font-size: 9px; border-radius: 7px; }
}
