#xot-toast[hidden]{display:none!important}
#xot-toast{position:fixed;left:22px;bottom:24px;z-index:9998;display:flex;align-items:center;gap:12px;width:350px;max-width:calc(100vw - 32px);padding:17px 38px 17px 16px;box-sizing:border-box;background:linear-gradient(125deg,#fff,#e9eef5);border:1px solid #dae3ef;border-left:4px solid #2468a8;border-radius:14px;box-shadow:0 9px 32px #03172f26;color:#08264a;font:14px/1.45 Arial,sans-serif;text-align:left;animation:xot-enter .3s ease-out}
#xot-toast .xot-icon{display:flex;align-items:center;justify-content:center;flex:0 0 40px;height:40px;border-radius:12px;background:#08264a;color:#fff;font-size:24px}
#xot-toast .xot-content{min-width:0;display:flex;flex-direction:column;gap:3px}
#xot-toast strong{font-size:13px;color:#08264a}
#xot-toast .xot-product{font-size:13px;color:#243d56;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
#xot-toast small{font-size:11px;color:#55677b}
#xot-toast button{position:absolute;top:7px;right:7px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;border-radius:6px;background:transparent;box-shadow:none;color:#53677c;font:24px/1 Arial,sans-serif;cursor:pointer}
#xot-toast button:hover,#xot-toast button:focus-visible{background:#dae3ef;outline:2px solid #2468a8;outline-offset:1px}
@keyframes xot-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media (max-width: 767px) {
  #xot-toast {
    left: max(10px, env(safe-area-inset-left, 0px));
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: max-content;
    max-width: calc(100vw - 24px);
    min-height: 29px;
    padding: 4px 26px 4px 6px;
    gap: 5px;
    border: 1px solid #dae3ef;
    border-radius: 999px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 2px 7px #03172f24;
    font-size: 12px;
    line-height: 1.15;
    pointer-events: none;
    animation: xot-enter-mobile .2s ease-out;
  }

  #xot-toast .xot-icon {
    flex: 0 0 18px;
    height: 18px;
    border-radius: 50%;
    background: #e7eff9;
    color: #174d84;
    font-size: 12px;
  }

  #xot-toast .xot-content { display: block; }
  #xot-toast strong,
  #xot-toast .xot-activity-label {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
  }
  #xot-toast .xot-product,
  #xot-toast small { display: none; }

  #xot-toast button {
    top: 0;
    right: 1px;
    width: 24px;
    height: 100%;
    font-size: 16px;
    pointer-events: auto;
  }
}

.xot-activity-anchor { position: relative; }

#xot-toast.xot-gallery-pill {
  position: absolute;
  z-index: 4;
  top: 19%;
  bottom: auto;
  left: 10px;
  max-width: calc(100% - 20px);
  transform: none;
  animation: xot-enter-gallery .2s ease-out;
}

#xot-toast.xot-activity[data-activity="rating"] .xot-icon {
  background: #fdf0dd;
  color: #994a0a;
}

@keyframes xot-enter-mobile {
  from { opacity: 0; transform: translate(-6px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

@keyframes xot-enter-gallery {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}
@media(prefers-reduced-motion:reduce){#xot-toast{animation:none}}
