/* Scoped to the Google reviews badge. Touch controls remain visible. */
.mdsmgr-widget {
  position: fixed; bottom: 24px; z-index: 110; display: flex;
  width: max-content; max-width: calc(100vw - 32px);
  border: 1px solid #e5e9ef; border-radius: 18px; background: #fff;
  color: #202124; box-shadow: 0 4px 8px rgba(30,41,59,.04), 0 12px 32px rgba(30,41,59,.12);
  font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.3;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.mdsmgr-widget.mdsmgr-pending { visibility: hidden; }
.mdsmgr-widget.mdsmgr-pos-left { left: 20px; right: auto; }
.mdsmgr-widget.mdsmgr-pos-right { right: 20px; left: auto; }
.mdsmgr-widget__link {
  display: flex; align-items: center; gap: 13px; width: 100%;
  box-sizing: border-box; padding: 15px 33px 15px 16px;
  color: #202124; text-decoration: none; border-radius: inherit;
}
.mdsmgr-widget__link:hover, .mdsmgr-widget__link:focus { color: #202124; text-decoration: none; }
.mdsmgr-widget:hover, .mdsmgr-widget:focus-within {
  border-color: #d4dce7; box-shadow: 0 6px 12px rgba(30,41,59,.06), 0 16px 36px rgba(30,41,59,.17);
}
.mdsmgr-widget__link:focus-visible, .mdsmgr-widget__close:focus-visible { outline: 3px solid #1a73e8; outline-offset: 3px; }
.mdsmgr-widget__logo { display: flex; flex: 0 0 38px; align-items: center; justify-content: center; }
.mdsmgr-widget__logo svg { display: block; width: 34px; height: 34px; }
.mdsmgr-widget__content { display: flex; flex-direction: column; align-items: flex-start; }
.mdsmgr-widget__source { color: #5f6368; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.mdsmgr-widget__line { display: flex; align-items: center; gap: 9px; margin-top: 4px; }
.mdsmgr-widget__score { color: #202124; font-size: 25px; font-weight: 700; line-height: 1.1; letter-spacing: -.7px; }
.mdsmgr-widget__out-of { color: #5f6368; font-size: 12px; font-weight: 400; margin-left: 2px; letter-spacing: 0; }
.mdsmgr-widget__stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.mdsmgr-widget__stars-base { color: #e1e5eb; }
.mdsmgr-widget__stars-fill { position: absolute; left: 0; top: 0; display: block; overflow: hidden; color: #fbbc04; white-space: nowrap; }
.mdsmgr-widget__count { display: block; margin-top: 4px; color: #5f6368; font-size: 12px; }
.mdsmgr-widget__close {
  position: absolute; top: 4px; right: 4px; z-index: 1; display: flex;
  align-items: center; justify-content: center; width: 28px; height: 28px;
  padding: 6px; border: 0; border-radius: 50%; background: #f5f6f8;
  color: #5f6368; cursor: pointer; opacity: 1;
  transition: opacity .16s ease, background-color .16s ease;
}
.mdsmgr-widget__close:hover { background: #e8eaed; color: #202124; }
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .mdsmgr-widget__close { opacity: 0; pointer-events: none; }
  .mdsmgr-widget:hover .mdsmgr-widget__close,
  .mdsmgr-widget:focus-within .mdsmgr-widget__close { opacity: 1; pointer-events: auto; }
}
@media (max-width: 767px) {
  .mdsmgr-widget { bottom: 84px; border-radius: 16px; }
  .mdsmgr-widget.mdsmgr-pos-left { left: 11px; }
  .mdsmgr-widget.mdsmgr-pos-right { right: 11px; }
  .mdsmgr-widget__link { gap: 10px; padding: 12px 40px 12px 12px; }
  .mdsmgr-widget__logo { flex-basis: 30px; }
  .mdsmgr-widget__logo svg { width: 28px; height: 28px; }
  .mdsmgr-widget__score { font-size: 23px; }
  .mdsmgr-widget__stars { font-size: 14px; }
  .mdsmgr-widget__close { width: 36px; height: 36px; }
  .mdsmgr-widget.mdsmgr-hide-mobile { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mdsmgr-widget, .mdsmgr-widget__close { transition: none; }
}
