/*
 * Chandelle Park Ask Homer launcher v200
 * Narrow launcher with Homer rising behind the card.
 */

#askHomer.ask-homer {
  position: fixed !important;
  inset: auto 8px 4px auto !important;
  width: 130px !important;
  height: 184px !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 9999 !important;
  pointer-events: none;
  --homer-copy-left: 13px;
  --homer-copy-centre: 29px;
  --homer-copy-width: 88px;
}

#askHomer .ask-homer-launcher {
  position: absolute !important;
  inset: auto 0 0 auto !important;
  display: block !important;
  width: 130px !important;
  min-width: 0 !important;
  height: 184px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  text-align: left !important;
  pointer-events: auto;
}

#askHomer .ask-homer-launcher::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 130px;
  height: 58px;
  border: 1px solid rgba(31, 94, 121, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 11px 28px rgba(19, 44, 56, 0.20);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

#askHomer .ask-homer-launcher:hover::before,
#askHomer .ask-homer-launcher:focus-visible::before {
  border-color: rgba(31, 94, 121, 0.36);
  box-shadow: 0 14px 34px rgba(19, 44, 56, 0.25);
  transform: translateY(-2px);
}

#askHomer .ask-homer-launcher-image {
  position: absolute !important;
  left: 4px !important;
  bottom: 38px !important;
  z-index: 1 !important;
  display: block !important;
  width: 122px !important;
  height: 148px !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  pointer-events: none;
}

#askHomer .ask-homer-launcher-image img {
  display: block !important;
  width: 122px !important;
  height: 176px !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  transform: none !important;
  filter: drop-shadow(0 5px 5px rgba(18, 39, 50, 0.13));
}

#askHomer .ask-homer-launcher-copy {
  position: absolute !important;
  left: var(--homer-copy-left) !important;
  top: auto !important;
  bottom: var(--homer-copy-centre) !important;
  z-index: 3 !important;
  display: flex !important;
  width: var(--homer-copy-width) !important;
  max-width: var(--homer-copy-width) !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(50%) !important;
  pointer-events: none;
}

#askHomer .ask-homer-launcher-copy strong {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #1f5e79 !important;
  font-size: 0.82rem !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

#askHomer .ask-homer-launcher-copy small {
  display: block !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #6b7880 !important;
  font-size: 0.52rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

#askHomer .ask-homer-dismiss {
  position: absolute !important;
  right: 7px !important;
  bottom: 15px !important;
  top: auto !important;
  z-index: 4 !important;
  display: inline-flex !important;
  width: 22px !important;
  height: 22px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #748087 !important;
  font-size: 1.18rem !important;
  line-height: 1 !important;
  pointer-events: auto;
}

#askHomer .ask-homer-dismiss:hover,
#askHomer .ask-homer-dismiss:focus-visible {
  color: #1f5e79 !important;
}

#askHomerPanel.ask-homer-panel {
  position: fixed !important;
  right: 12px !important;
  bottom: 76px !important;
  left: auto !important;
  top: auto !important;
  z-index: 10000 !important;
  pointer-events: auto;
}

.cp-back-to-top {
  position: fixed !important;
  right: 50px !important;
  bottom: 196px !important;
  z-index: 9998 !important;
  width: 44px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  font-size: 1.65rem !important;
  line-height: 1 !important;
}

.cp-back-to-top[hidden] {
  display: none !important;
}

@media (max-width: 575.98px) {
  #askHomer.ask-homer {
    inset: auto 4px max(4px, env(safe-area-inset-bottom, 0px)) auto !important;
    width: 112px !important;
    height: 166px !important;
    --homer-copy-left: 11px;
    --homer-copy-centre: 27px;
    --homer-copy-width: 76px;
  }

  #askHomer .ask-homer-launcher {
    width: 112px !important;
    height: 166px !important;
  }

  #askHomer .ask-homer-launcher::before {
    width: 112px;
    height: 54px;
  }

  #askHomer .ask-homer-launcher-image {
    left: 2px !important;
    bottom: 35px !important;
    width: 108px !important;
    height: 136px !important;
  }

  #askHomer .ask-homer-launcher-image img {
    width: 108px !important;
    height: 160px !important;
  }

  #askHomer .ask-homer-launcher-copy strong {
    font-size: 0.74rem !important;
  }

  #askHomer .ask-homer-launcher-copy small {
    font-size: 0.47rem !important;
  }

  #askHomer .ask-homer-dismiss {
    right: 5px !important;
    bottom: 14px !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 1.05rem !important;
  }

  #askHomerPanel.ask-homer-panel {
    right: 8px !important;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
    left: 8px !important;
    top: calc(8px + env(safe-area-inset-top, 0px)) !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
  }

  .cp-back-to-top {
    right: 38px !important;
    bottom: calc(174px + env(safe-area-inset-bottom, 0px)) !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 1.55rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #askHomer .ask-homer-launcher::before {
    transition: none;
  }
}


/* v104 minimised Homer face */
#askHomer .ask-homer-minimised {
  position: fixed !important;
  right: 10px !important;
  bottom: max(10px, env(safe-area-inset-bottom, 0px)) !important;
  z-index: 10001 !important;
  display: inline-flex !important;
  width: 58px !important;
  height: 58px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 2px solid rgba(31, 94, 121, 0.24) !important;
  border-radius: 50% !important;
  background: #f7f3ec !important;
  box-shadow: 0 10px 28px rgba(19, 44, 56, 0.24) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

#askHomer .ask-homer-minimised[hidden] {
  display: none !important;
}

#askHomer .ask-homer-minimised:hover,
#askHomer .ask-homer-minimised:focus-visible {
  border-color: rgba(31, 94, 121, 0.52) !important;
  box-shadow: 0 13px 32px rgba(19, 44, 56, 0.3) !important;
  transform: translateY(-2px);
  outline: none !important;
}

#askHomer .ask-homer-minimised img {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 18% !important;
  border-radius: 50% !important;
}

@media (max-width: 575.98px) {
  #askHomer .ask-homer-minimised {
    right: 8px !important;
    bottom: max(8px, env(safe-area-inset-bottom, 0px)) !important;
    width: 54px !important;
    height: 54px !important;
  }

  #askHomer .ask-homer-minimised img {
    width: 50px !important;
    height: 50px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #askHomer .ask-homer-minimised {
    transition: none;
  }
}


/* v105: hidden-state enforcement for minimised Homer */
#askHomer .ask-homer-launcher[hidden],
#askHomer .ask-homer-dismiss[hidden],
#askHomer .ask-homer-minimised[hidden],
#askHomerPanel.ask-homer-panel[hidden] {
  display: none !important;
}

#askHomer.is-minimised .ask-homer-launcher,
#askHomer.is-minimised .ask-homer-dismiss,
#askHomer.is-minimised .ask-homer-panel {
  display: none !important;
}

#askHomer.is-minimised .ask-homer-minimised {
  display: inline-flex !important;
}

/* Ask Homer launcher v201 */
