#ms-notice * { box-sizing: border-box; }

/* Spouštěcí tlačítko */
#ms-notice .ms-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #F05A00;
  box-shadow: 0 6px 20px rgba(240, 90, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  border: none;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
#ms-notice .ms-launcher:hover { transform: scale(1.06); box-shadow: 0 8px 26px rgba(240, 90, 0, 0.45); }

/* Ikona – statický trojúhelník */
#ms-notice .ms-launcher .ms-ico {
  width: 26px;
  height: 26px;
}

/* Pulzující kroužek – přitáhne pozornost */
#ms-notice .ms-launcher::before,
#ms-notice .ms-launcher::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #F05A00;
  z-index: -1;
  animation: ms-pulse 2s ease-out infinite;
}
#ms-notice .ms-launcher::after { animation-delay: 1s; }

@keyframes ms-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(2.1); opacity: 0;   }
}

/* Bublina */
#ms-notice .ms-bubble {
  position: fixed;
  bottom: 98px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 20px 22px;
  z-index: 9999;
  font-family: inherit;
  line-height: 1.6;
  color: #3a3a3a;
  opacity: 0;
  transform: translateY(12px) scale(.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
#ms-notice.is-open .ms-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Klikající trojúhelník (ocásek bubliny) */
#ms-notice .ms-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 30px;
  width: 18px; height: 18px;
  background: #ffffff;
  transform: rotate(45deg);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.06);
}

#ms-notice .ms-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
#ms-notice .ms-head .ms-emoji { font-size: 20px; }
#ms-notice .ms-head .ms-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #F05A00;
}
#ms-notice .ms-bubble p { margin: 0 0 11px 0; font-size: 14px; }
#ms-notice .ms-bubble p:last-child { margin-bottom: 0; }
#ms-notice .ms-bubble strong { color: #F05A00; }

/* Zavírací křížek */
#ms-notice .ms-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 24px; height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #b0b0b0;
  line-height: 1;
  transition: color .2s ease;
}
#ms-notice .ms-close:hover { color: #3a3a3a; }

@media (max-width: 480px) {
  #ms-notice .ms-launcher { bottom: 16px; right: 16px; }
  #ms-notice .ms-bubble { bottom: 88px; right: 16px; }
}

/* Ohleduplnost k uživatelům s vypnutými animacemi */
@media (prefers-reduced-motion: reduce) {
  #ms-notice .ms-launcher::before,
  #ms-notice .ms-launcher::after { animation: none; opacity: 0; }
}