#mgrSono .mgr-sono-pip-launch {
  display: block;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid #7bcaff;
  border-radius: 9px;
  background: linear-gradient(110deg, #124973, #482776);
  color: #f7f3ff;
  font: 700 13px/1.35 system-ui, sans-serif;
  cursor: pointer;
}
body.mgr-sono-pip-window {
  margin: 0;
  background: #0b1329;
  color-scheme: dark;
}
.mgr-sono-pip {
  box-sizing: border-box;
  padding: 13px;
  background: linear-gradient(140deg, #0d1b34, #21163b);
  color: #f4f2ff;
  font: 13px/1.4 system-ui, sans-serif;
}
.mgr-sono-pip-inline {
  position: fixed;
  z-index: 10000;
  bottom: 80px;
  right: 14px;
  width: min(340px, calc(100vw - 28px));
  border: 1px solid #8bbdf1;
  border-radius: 12px;
  box-shadow: 0 8px 30px #030714b0;
}
.mgr-sono-pip header, .mgr-sono-pip-sources {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mgr-sono-pip-now {
  margin: 10px 0;
  padding: 8px 10px;
  border: 1px solid #5b83aa;
  border-radius: 9px;
  background: #101c32;
  overflow-wrap: anywhere;
}
.mgr-sono-pip p {
  margin: 4px 0 0;
  color: #c0cce8;
  font-size: 11px;
}
.mgr-sono-pip button {
  min-height: 32px;
  padding: 5px 8px;
  border: 1px solid #687ead;
  border-radius: 7px;
  background: #182641;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.mgr-sono-pip-sources button { flex: 1; }
.mgr-sono-pip button[aria-pressed="true"] { background: #342b67; border-color: #85d7ff; }
.mgr-sono-pip button:disabled { opacity: .6; cursor: default; }
.mgr-sono-pip button:focus-visible, #mgrSono .mgr-sono-pip-launch:focus-visible {
  outline: 2px solid #a1ddff;
  outline-offset: 2px;
}

body.mgr-sono-pip-window {
  background: #0a1325;
  scrollbar-color: #4f6099 #0a1325;
}

.mgr-sono-pip {
  padding: 14px;
  background:
    radial-gradient(ellipse at top right, #322451 0%, transparent 52%),
    linear-gradient(155deg, #101e36, #0a1325 70%);
  color: #eef4ff;
  color-scheme: dark;
}

.mgr-sono-pip-inline { max-height: calc(100dvh - 96px); overflow: auto; }
.mgr-sono-pip-brand { display: flex; gap: 9px; align-items: center; font-size: 16px; }
.mgr-sono-pip-brand span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #6cbcf7;
  border-radius: 9px;
  background: #132b48;
  color: #a0e6ff;
}
.mgr-sono-pip-now { display: flex; align-items: flex-start; gap: 8px; justify-content: space-between; }
.mgr-sono-pip-now strong { font-size: 14px; }
.mgr-sono-pip [data-pip-elapsed] { color: #a0e6ff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mgr-sono-pip-sources button[aria-pressed="true"], .mgr-sono-pip [data-pip-save]:not(:disabled) {
  border-color: #88cff4;
  background: linear-gradient(120deg, #175379, #52347f);
}
.mgr-sono-pip-queue {
  margin-top: 10px;
  padding: 8px;
  border: 1px solid #465d8b;
  border-radius: 9px;
  background: #131e37;
}
.mgr-sono-pip-queue summary { cursor: pointer; font-weight: 700; }
.mgr-sono-pip-queue summary small { float: right; font-weight: 500; color: #b9cbee; }
.mgr-sono-pip-queue select {
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  margin-top: 7px;
  padding: 4px 7px;
  border: 1px solid #687ead;
  border-radius: 6px;
  background: #0b172d;
  color: #eef4ff;
  font: inherit;
}
.mgr-sono-pip-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.mgr-sono-pip-actions button { flex: 1; white-space: nowrap; font-size: 12px; }

.mgr-sono-pip-indicator {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b9cbee;
  white-space: nowrap;
  font-size: 11px;
}
.mgr-sono-pip-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7888aa;
}
.mgr-sono-pip-indicator[data-active="true"] { color: #a5ffe2; }
.mgr-sono-pip-indicator[data-active="true"]::before {
  background: #59edbf;
  animation: mgr-sono-pip-pulse 2.4s ease-in-out infinite;
}
@keyframes mgr-sono-pip-pulse {
  0%, 100% { box-shadow: 0 0 4px #59edbf70; opacity: .65; }
  50% { box-shadow: 0 0 13px #59edbfc0; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mgr-sono-pip-indicator[data-active="true"]::before { animation: none; }
}
