.qcw-quatocast-floater {
  position: fixed;
  right: 1.25rem;
  bottom: var(--qcw-quatocast-floater-bottom, 11rem);
  z-index: 1202;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(29, 117, 168, 0.35);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.qcw-quatocast-floater.is-quatocast {
  background: linear-gradient(135deg, #1d75a8, #38bdf8);
}

.qcw-quatocast-floater.is-live-now {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  box-shadow: 0 14px 36px rgba(185, 28, 28, 0.38);
  padding-left: 14px;
}

.qcw-quatocast-floater.is-quatocast.is-pulse {
  animation: qcw-quatocast-floater-pulse-blue 1.75s ease-in-out infinite;
}

.qcw-quatocast-floater-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

@keyframes qcw-quatocast-floater-pulse-blue {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 14px 36px rgba(29, 117, 168, 0.38), 0 0 0 0 rgba(56, 189, 248, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 20px 44px rgba(29, 117, 168, 0.58), 0 0 0 12px rgba(56, 189, 248, 0);
  }
}

.qcw-quatocast-floater.is-live-now.is-pulse {
  animation-name: qcw-quatocast-floater-pulse-live;
}

@keyframes qcw-quatocast-floater-pulse-live {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 14px 36px rgba(185, 28, 28, 0.38);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 20px 44px rgba(185, 28, 28, 0.55);
  }
}

.qcw-quatocast-floater.is-visible {
  display: inline-flex;
}

.qcw-quatocast-floater:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(29, 117, 168, 0.42);
}

.qcw-quatocast-floater-avatar,
.qcw-quatocast-prompt-hero img,
.qcw-quatocast-home-card img {
  object-fit: contain;
  object-position: center bottom;
}

.qcw-quatocast-floater-avatar {
  background: transparent;
}

.qcw-quatocast-prompt {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(6px);
}

.qcw-quatocast-prompt.is-open {
  display: flex;
}

.qcw-quatocast-prompt-card {
  position: relative;
  width: min(520px, 100%);
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  color: #243447;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.qcw-quatocast-prompt-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(29, 117, 168, 0.08);
  color: #5d6e83;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.qcw-quatocast-prompt-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.qcw-quatocast-prompt-hero img {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(29, 117, 168, 0.18);
}

.qcw-quatocast-prompt-eyebrow {
  margin: 0 0 4px;
  color: #1d75a8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qcw-quatocast-prompt-card h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
  color: #1e293b;
}

.qcw-quatocast-prompt-summary {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.55;
}

.qcw-quatocast-prompt-points {
  margin: 0 0 18px;
  padding-left: 1.1rem;
  color: #334155;
  line-height: 1.5;
}

.qcw-quatocast-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qcw-quatocast-prompt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.qcw-quatocast-prompt-btn.primary {
  background: linear-gradient(135deg, #1d75a8, #38bdf8);
  color: #fff;
  border: 0;
}

.qcw-quatocast-prompt-btn.secondary {
  background: #fff;
  color: #475569;
  border: 1px solid #d9e3ee;
}

.qcw-live-now-prompt {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(6px);
}

.qcw-live-now-prompt.is-open {
  display: flex;
}

.qcw-live-now-prompt-card {
  position: relative;
  width: min(520px, 100%);
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
  color: #243447;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.qcw-live-now-prompt-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.08);
  color: #5d6e83;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.qcw-live-now-prompt-eyebrow {
  margin: 0 0 4px;
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qcw-live-now-prompt-card h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.15;
  color: #1e293b;
}

.qcw-live-now-prompt-summary {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.55;
}

.qcw-live-now-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qcw-live-now-prompt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.qcw-live-now-prompt-btn.primary {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  color: #fff;
  border: 0;
}

.qcw-live-now-prompt-btn.secondary {
  background: #fff;
  color: #475569;
  border: 1px solid #d9e3ee;
}

.qcw-home-quatocast {
  margin-bottom: 2rem;
}

.qcw-quatocast-home-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 22px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(29, 117, 168, 0.1), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(29, 117, 168, 0.18);
  box-shadow: 0 16px 40px rgba(29, 117, 168, 0.08);
}

.qcw-quatocast-home-card img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(29, 117, 168, 0.18);
}

.qcw-quatocast-home-copy h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #1e293b;
}

.qcw-quatocast-home-copy p {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.55;
}

.qcw-quatocast-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qcw-quatocast-home-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.qcw-quatocast-home-btn.primary {
  border: 0;
  background: linear-gradient(135deg, #1d75a8, #38bdf8);
  color: #fff;
}

.qcw-quatocast-home-btn.secondary {
  border: 1px solid #d9e3ee;
  background: #fff;
  color: #1d75a8;
}

@media (max-width: 720px) {
  .qcw-quatocast-home-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .qcw-quatocast-home-card img {
    margin: 0 auto;
  }

  .qcw-quatocast-home-actions {
    justify-content: center;
  }

  .qcw-quatocast-floater {
    right: 1rem;
    bottom: var(--qcw-quatocast-floater-bottom, 10rem);
  }
}
