#dayu-reader-pop-slot {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
}
#dayu-reader-pop-btn {
  width: 100px !important;
  border: none !important;
  background: linear-gradient(135deg, #722ed1 0%, #9254de 100%) !important;
}
#dayu-reader-pop-btn.is-open {
  background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%) !important;
}
.dayu-reader-float-host {
  box-sizing: border-box;
  aspect-ratio: unset !important;
  max-width: none !important;
  max-height: none !important;
  border: 1px solid #30363d;
  border-top: 0;
  background: #f8fafc;
}
.dayu-reader-float-host.dayu-reader-pop-scaling {
  transform-origin: 0 0;
  will-change: transform;
}
.dayu-reader-float-chrome {
  position: fixed;
  z-index: 2401;
  height: 28px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: #161b22;
  color: #e6edf3;
  border: 1px solid #30363d;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  font-size: 12px;
  cursor: move;
  user-select: none;
  touch-action: none;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}
.dayu-reader-float-chrome span {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dayu-reader-float-chrome em {
  flex: 1;
  font-style: normal;
  color: #8b949e;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dayu-reader-float-chrome button {
  flex-shrink: 0;
  margin-left: auto;
  border: 1px solid #30363d;
  border-radius: 6px;
  background: #21262d;
  color: #e6edf3;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  cursor: pointer;
}
.dayu-reader-float-chrome button:hover {
  background: #30363d;
  border-color: #484f58;
}
.dayu-reader-float-resize {
  position: fixed;
  z-index: 2402;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  background: linear-gradient(
    135deg,
    transparent 0 46%,
    #8b949e 46% 54%,
    transparent 54% 70%,
    #8b949e 70% 78%,
    transparent 78%
  );
}
body.dayu-reader-pop-dragging {
  cursor: grabbing !important;
  user-select: none !important;
}
