body .demo-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1600;
  width: min(340px, calc(100vw - 28px));
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

body .demo-dock-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

body .demo-dock-title {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

body .demo-dock-status {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

body .demo-dock-progress {
  overflow: hidden;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

body .demo-dock-progress-bar {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #fa0f00 0%, #ff8a00 100%);
  transition: transform 0.2s linear;
}

body .demo-dock-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

body .demo-dock-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

body .demo-dock-actions button {
  appearance: none;
  flex: 1;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(250, 15, 0, 0.24);
  background: #fff;
  color: var(--text);
  font: 700 12px/1 var(--font);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

body .demo-dock-actions button:hover:not(:disabled) {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-1px);
}

body .demo-dock-actions button:disabled {
  cursor: default;
  opacity: 0.45;
}

body .demo-highlight {
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(250, 15, 0, 0.28), 0 0 0 10px rgba(250, 15, 0, 0.08) !important;
  transition: box-shadow 0.18s ease;
}

@media (max-width: 780px) {
  body .demo-dock {
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: auto;
  }
}
